Fix E2E tests configuration

This commit is contained in:
ErickSkrauch 2020-07-07 01:46:42 +03:00
parent 82abe0a746
commit fb65a3f852
2 changed files with 8 additions and 2 deletions

View File

@ -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);

View File

@ -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() {},
}),
},
},
],