From f11a8c543b1a779e881c6ac29c5b398c178db879 Mon Sep 17 00:00:00 2001 From: kolaente Date: Tue, 30 May 2023 11:00:30 +0200 Subject: [PATCH] fix(tests): project archived filter checkbox selector --- cypress/e2e/project/project.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/e2e/project/project.spec.ts b/cypress/e2e/project/project.spec.ts index 4db5da89..a5ef6cab 100644 --- a/cypress/e2e/project/project.spec.ts +++ b/cypress/e2e/project/project.spec.ts @@ -146,7 +146,7 @@ describe('Projects', () => { .should('not.contain', 'Archived') // Show archived - cy.get('[data-cy="show-archived-check"] label.check span') + cy.get('[data-cy="show-archived-check"] label span') .should('be.visible') .click() cy.get('[data-cy="show-archived-check"] input') @@ -155,7 +155,7 @@ describe('Projects', () => { .should('contain', 'Archived') // Don't show archived - cy.get('[data-cy="show-archived-check"] label.check span') + cy.get('[data-cy="show-archived-check"] label span') .should('be.visible') .click() cy.get('[data-cy="show-archived-check"] input')