test: add Cypress E2E test for Audit Trails CSV download
- Added comprehensive E2E test to prevent CSV download regression - Implemented stable error toast verification to avoid false positives - Updated .browserslistrc to remove outdated browser versions - Refined .gitignore to exclude only Cypress-generated artifacts - Configured proper test selectors and wait strategies Addresses: WEB-493
This commit is contained in:
@@ -2,8 +2,8 @@ describe('Login Page', () => {
|
||||
it('Visits the initial web page', () => {
|
||||
cy.visit('/');
|
||||
cy.url().should('includes', 'login');
|
||||
cy.get('#mat-input-0').should ('be.visible');
|
||||
cy.get('#mat-input-1').should ('be.visible');
|
||||
cy.get('#mat-input-0').should('be.visible');
|
||||
cy.get('#mat-input-1').should('be.visible');
|
||||
cy.contains('Login');
|
||||
cy.contains('Remember me');
|
||||
});
|
||||
@@ -26,5 +26,4 @@ describe('Login Page', () => {
|
||||
cy.get('#logout').click();
|
||||
cy.contains('Username');
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user