mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-10 22:02:13 +05:30
Fix E2E tests configuration
This commit is contained in:
parent
82abe0a746
commit
fb65a3f852
@ -178,7 +178,7 @@ describe('Forgot / reset password', () => {
|
|||||||
|
|
||||||
cy.findByTestId('auth-controls-secondary').contains('Contact support').click();
|
cy.findByTestId('auth-controls-secondary').contains('Contact support').click();
|
||||||
cy.findByTestId('feedbackPopup').should('be.visible');
|
cy.findByTestId('feedbackPopup').should('be.visible');
|
||||||
cy.findByTestId('feedback-popup-close').click();
|
cy.findByTestId('feedbackPopup').findByTestId('popup-close').click();
|
||||||
cy.findByTestId('feedbackPopup').should('not.be.visible');
|
cy.findByTestId('feedbackPopup').should('not.be.visible');
|
||||||
|
|
||||||
cy.get('[name=key]').type(key);
|
cy.get('[name=key]').type(key);
|
||||||
|
@ -41,7 +41,13 @@ module.exports = (on) => {
|
|||||||
options: {
|
options: {
|
||||||
envName: 'webpack',
|
envName: 'webpack',
|
||||||
cacheDirectory: true,
|
cacheDirectory: true,
|
||||||
...config,
|
// We don't have the webpack's API object, so just provide necessary methods
|
||||||
|
...config({
|
||||||
|
env() {
|
||||||
|
return 'development';
|
||||||
|
},
|
||||||
|
cache() {},
|
||||||
|
}),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user