We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b968098 commit d03c273Copy full SHA for d03c273
cypress/e2e/tables-share.cy.js
@@ -29,8 +29,10 @@ describe('Share a table', () => {
29
cy.loadTable(tableTitle)
30
cy.get('[data-cy="customTableAction"] button').click()
31
cy.get('[data-cy="dataTableShareBtn"]').click()
32
+
33
+ cy.intercept({ method: 'GET', url: `**/autocomplete/get?search=${localUser2.userId}&**` }).as('userSearch')
34
cy.get('[data-cy="shareFormSelect"] input').type(localUser2.userId)
- cy.wait(1000)
35
+ cy.wait('@userSearch')
36
cy.get(`.vs__dropdown-menu [user="${localUser2.userId}"]`).click()
37
cy.wait(1000)
38
cy.get('[data-cy="sharedWithList"]').contains(localUser2.userId).should('exist')
0 commit comments