Skip to content

Commit 1801af4

Browse files
Copilottheoholl
andauthored
Fix flaky Smart picker visibility assertion
Co-authored-by: theoholl <36564257+theoholl@users.noreply.github.com>
1 parent b4e6df7 commit 1801af4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

cypress/e2e/cardFeatures.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,9 @@ describe('Card', function () {
314314
cy.visit(`/apps/deck/board/${boardId}`)
315315
cy.reload()
316316
cy.get('.board .stack').eq(0).within(() => {
317-
cy.get(`.card:contains("${newCardTitle}")`).should('be.visible')
317+
cy.get(`.card:contains("${newCardTitle}")`)
318+
.scrollIntoView({ block: 'center' })
319+
.should('be.visible')
318320
})
319321
})
320322
})

0 commit comments

Comments
 (0)