Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions cypress/e2e/templates.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ describe('Create new office files from templates', function() {
it('Create a new file from a user template', function() {
cy.visit('/apps/files')

cy.get('.files-list__header div[menu-title="New"] button')
cy.get('[data-cy-upload-picker=""]')
.should('be.visible')
.as('newFileMenu')

Expand All @@ -41,7 +41,7 @@ describe('Create new office files from templates', function() {
cy.login(randUser)
cy.visit('/apps/files')

cy.get('.files-list__header div[menu-title="New"] button')
cy.get('[data-cy-upload-picker=""]')
.should('be.visible')
.as('newFileMenu')

Expand Down Expand Up @@ -110,7 +110,7 @@ describe('Create templates with fields', () => {
cy.visit('/apps/files')

// Create a templates folder
cy.get('.files-list__header div[menu-title="New"] button')
cy.get('[data-cy-upload-picker=""]')
.should('be.visible')
.as('newFileMenu')

Expand All @@ -134,7 +134,7 @@ describe('Create templates with fields', () => {
cy.visit('/apps/files')

// Create a new document
cy.get('.files-list__header div[menu-title="New"] button')
cy.get('[data-cy-upload-picker=""]')
.should('be.visible')
.as('newFileMenu')

Expand Down
Loading