Skip to content

Commit

Permalink
fix(test): modify columm-text-link test
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 48778fb commit 46b9850
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cypress/e2e/column-text-link.cy.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +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').tick(500)
cy.get('.icon-label-container .labels').contains('https://nextcloud.com').click()
cy.get('.modal__content .slot input').first().type('https://nextcloud.com')

cy.intercept({ method: 'GET', url: '**/search/providers/files/*' }).as('filesResults')
cy.get('.modal__content .slot input').eq(1).type('pdf').tick(500)
Expand All @@ -54,8 +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').tick(500)
cy.get('[data-cy*="github"]').click()
cy.get('.modal__content .slot input').first().clear().type('https://github.com')

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 46b9850

Please sign in to comment.