Skip to content

Commit

Permalink
remove redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
wass3rw3rk committed Sep 19, 2024
1 parent 02beb57 commit fbad323
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions cypress/integration/dashboards.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*/

context('Dashboards', () => {
context('main dashboards page shows message', () => {
context('main dashboards page', () => {
beforeEach(() => {
cy.server();
cy.route(
Expand All @@ -14,10 +14,6 @@ context('Dashboards', () => {
cy.login('/dashboards');
});

it('shows the welcome message', () => {
cy.get('[data-test=dashboards]').contains('Dashboards');
});

it('shows the list of dashboards', () => {
cy.get('[data-test=dashboard-item]').should('have.length', 2);
});
Expand Down Expand Up @@ -166,15 +162,4 @@ context('Dashboards', () => {
);
});
});

context('main dashboards page shows message', () => {
beforeEach(() => {
cy.server();
cy.login('/dashboards');
});

it('shows the welcome message', () => {
cy.get('[data-test=dashboards]').contains('Welcome to dashboards!');
});
});
});

0 comments on commit fbad323

Please sign in to comment.