Skip to content

Commit

Permalink
test(cypress): Update home button selector in file picker breadcrumbs
Browse files Browse the repository at this point in the history
Signed-off-by: Jonas <[email protected]>
  • Loading branch information
mejo- authored and backportbot[bot] committed Feb 26, 2024
1 parent 43b2c68 commit 9b0acc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/attachments.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ describe('Test all attachment insertion methods', () => {
cy.intercept({ method: 'POST', url: '**/filepath' }).as(requestAlias)

cy.log('Go back from home to sub folder')
cy.get('.file-picker nav [aria-label="Home"]').click()
cy.get('.file-picker nav [title="Home"]').click()
cy.get('.file-picker [data-filename="sub"]').click()

cy.log('Go to sub folder (b)')
Expand All @@ -217,7 +217,7 @@ describe('Test all attachment insertion methods', () => {
cy.intercept({ method: 'POST', url: '**/filepath' }).as(requestAlias)

cy.log('Go back to home')
cy.get('.file-picker nav [aria-label="Home"]').click()
cy.get('.file-picker nav [title="Home"]').click()

cy.log('Select the file in the filepicker')
cy.get('.file-picker [data-filename="github.png"]').click()
Expand Down

0 comments on commit 9b0acc0

Please sign in to comment.