Skip to content

Commit 21c677b

Browse files
committed
fix failing test
1 parent 94c4b8d commit 21c677b

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

packages/reporter/cypress/e2e/tests.cy.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,9 @@ describe('studio controls', () => {
367367
it('is visible without save and copy button if test was skipped', () => {
368368
cy.contains('nested suite 1')
369369
.parents('.collapsible').first()
370-
.contains('test 1').click()
370+
.contains('test 1').should('have.css', 'pointer-events', 'none')
371371
.parents('.collapsible').first().scrollIntoView()
372-
.find('.studio-controls').as('pendingControls')
373-
.should('be.visible')
374-
375-
cy.get('@pendingControls').find('.studio-save').should('not.be.visible')
376-
cy.get('@pendingControls').find('.studio-copy').should('not.be.visible')
372+
.find('.studio-controls').should('not.exist')
377373
})
378374

379375
it('is not visible while test is running', () => {

0 commit comments

Comments
 (0)