Skip to content

Commit a9d4437

Browse files
elzodybackportbot[bot]
authored andcommitted
fix(test): more specificity
Signed-off-by: Elizabeth Danzberger <[email protected]>
1 parent 3f7dfc7 commit a9d4437

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

cypress/support/commands.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,8 @@ Cypress.Commands.add('makeTalkRoomPublic', (user, token, password = '') => {
455455
})
456456

457457
Cypress.Commands.add('newFileFromMenu', (fileType = 'document', fileName = 'MyNewFile') => {
458-
cy.get('form[data-cy-upload-picker=""]')
458+
cy.get('div[data-cy-files-content-breadcrumbs=""]')
459+
.find('form[data-cy-upload-picker=""]')
459460
.should('be.visible')
460461
.click()
461462

0 commit comments

Comments
 (0)