Skip to content

Commit

Permalink
fix(test): add .tick()
Browse files Browse the repository at this point in the history
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
  • Loading branch information
enjeck committed Jan 21, 2024
1 parent 46b9850 commit ab9aab4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cypress/e2e/column-text-link.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Test column text-link', () => {

cy.loadTable('Test text-link')
cy.get('.NcTable').contains('Create row').click({ force: true })
cy.get('.modal__content .slot input').first().type('https://nextcloud.com')
cy.get('.modal__content .slot input').first().type('https://nextcloud.com').tick(500)

cy.intercept({ method: 'GET', url: '**/search/providers/files/*' }).as('filesResults')
cy.get('.modal__content .slot input').eq(1).type('pdf').tick(500)
Expand All @@ -53,7 +53,7 @@ describe('Test column text-link', () => {
cy.loadTable('Test text-link')
cy.get('.NcTable tr td button').click({ force: true })

cy.get('.modal__content .slot input').first().clear().type('https://github.com')
cy.get('.modal__content .slot input').first().clear().type('https://github.com').tick(500)

cy.get('.modal__content .slot input').eq(1).type('photo-test').tick(500)
cy.get('[data-cy*="photo-test"]').first().click()
Expand Down

0 comments on commit ab9aab4

Please sign in to comment.