mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-11-16 21:22:59 +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('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.get('[name=key]').type(key);
|
||||
|
@ -41,7 +41,13 @@ module.exports = (on) => {
|
||||
options: {
|
||||
envName: 'webpack',
|
||||
cacheDirectory: true,
|
||||
...config,
|
||||
// We don't have the webpack's API object, so just provide necessary methods
|
||||
...config({
|
||||
env() {
|
||||
return 'development';
|
||||
},
|
||||
cache() {},
|
||||
}),
|
||||
},
|
||||
},
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user