From 7e271129c75a5d934dd27545f2bd40b960759c4f Mon Sep 17 00:00:00 2001 From: Michael Shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 3 May 2022 13:14:19 -0700 Subject: [PATCH] fix management test failing due to hidden button --- src-ui/cypress/integration/manage.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-ui/cypress/integration/manage.spec.ts b/src-ui/cypress/integration/manage.spec.ts index f0703a4ed..e28556a24 100644 --- a/src-ui/cypress/integration/manage.spec.ts +++ b/src-ui/cypress/integration/manage.spec.ts @@ -26,7 +26,7 @@ describe('manage', () => { req.reply({ count: 3, next: null, previous: null, results: [] }) }) cy.visit('/tags') - cy.get('tbody').find('button').contains('Documents').first().click() // id = 4 + cy.get('tbody').find('button:visible').contains('Documents').first().click() // id = 4 cy.contains('3 documents') }) })