chore: fix flaky sessions spec (#31133)

This commit is contained in:
Jennifer Shehane
2025-02-18 19:37:18 -05:00
committed by GitHub
parent 64f93d80df
commit b6284bb798
@@ -3,6 +3,8 @@ import { snapshotReporter } from './support/snapshot-reporter'
const validateSessionsInstrumentPanel = (sessionIds: Array<string> = []) => {
cy.get('.sessions-container')
// there could be multiple retries where multiple session containers are rendered
.first()
.should('contain', `Sessions (${sessionIds.length})`)
.as('instrument_panel')
.click()