mirror of
https://github.com/nextcloud/tables.git
synced 2026-01-14 03:17:18 +00:00
fix(cypress): scroll into view
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
This commit is contained in:
@ -55,7 +55,7 @@ describe('Public link sharing', () => {
|
||||
cy.get('[data-cy="customTableAction"] button').click()
|
||||
cy.get('[data-cy="dataTableShareBtn"]').click()
|
||||
|
||||
cy.get('[data-cy="sharingEntryLinkTitle"]').should('be.visible')
|
||||
cy.get('[data-cy="sharingEntryLinkTitle"]').scrollIntoView().should('be.visible')
|
||||
cy.get('[data-cy="sharingEntryLinkDeleteButton"]').click()
|
||||
|
||||
cy.get('[data-cy="sharingEntryLinkTitle"]').should('not.exist')
|
||||
@ -106,7 +106,7 @@ describe('Public link sharing', () => {
|
||||
cy.get('[data-cy="customTableAction"] button').click()
|
||||
cy.get('[data-cy="dataTableShareBtn"]').click()
|
||||
|
||||
cy.get('[data-cy="sharingEntryLinkTitle"]').should('be.visible')
|
||||
cy.get('[data-cy="sharingEntryLinkTitle"]').scrollIntoView().should('be.visible')
|
||||
cy.get('[data-cy="sharingEntryLinkDeleteButton"]').click()
|
||||
|
||||
cy.get('[data-cy="sharingEntryLinkTitle"]').should('not.exist')
|
||||
|
||||
Reference in New Issue
Block a user