diff --git a/cypress/e2e/tables-share.cy.js b/cypress/e2e/tables-share.cy.js index 0d94a71ac..4c493eecb 100644 --- a/cypress/e2e/tables-share.cy.js +++ b/cypress/e2e/tables-share.cy.js @@ -29,8 +29,10 @@ describe('Share a table', () => { cy.loadTable(tableTitle) cy.get('[data-cy="customTableAction"] button').click() cy.get('[data-cy="dataTableShareBtn"]').click() + + cy.intercept({ method: 'GET', url: `**/autocomplete/get?search=${localUser2.userId}&**` }).as('userSearch') cy.get('[data-cy="shareFormSelect"] input').type(localUser2.userId) - cy.wait(1000) + cy.wait('@userSearch') cy.get(`.vs__dropdown-menu [user="${localUser2.userId}"]`).click() cy.wait(1000) cy.get('[data-cy="sharedWithList"]').contains(localUser2.userId).should('exist') diff --git a/package-lock.json b/package-lock.json index c2df6cbbe..fab76ed50 100644 --- a/package-lock.json +++ b/package-lock.json @@ -28,7 +28,7 @@ "@tiptap/vue-2": "^2.11.4", "@vueuse/core": "^11.3.0", "debounce": "^2.2.0", - "pinia": "^2.3.0", + "pinia": "^2.3.1", "vue": "^2.7.16", "vue-material-design-icons": "^5.3.1", "vue-papa-parse": "^3.1.0", @@ -13578,9 +13578,9 @@ } }, "node_modules/pinia": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.3.0.tgz", - "integrity": "sha512-ohZj3jla0LL0OH5PlLTDMzqKiVw2XARmC1XYLdLWIPBMdhDW/123ZWr4zVAhtJm+aoSkFa13pYXskAvAscIkhQ==", + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/pinia/-/pinia-2.3.1.tgz", + "integrity": "sha512-khUlZSwt9xXCaTbbxFYBKDc/bWAGWJjOgvxETwkTN7KRm66EeT1ZdZj6i2ceh9sP2Pzqsbc704r2yngBrxBVug==", "license": "MIT", "dependencies": { "@vue/devtools-api": "^6.6.3", diff --git a/package.json b/package.json index f4b97f918..2607b604f 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "@tiptap/vue-2": "^2.11.4", "@vueuse/core": "^11.3.0", "debounce": "^2.2.0", - "pinia": "^2.3.0", + "pinia": "^2.3.1", "vue": "^2.7.16", "vue-material-design-icons": "^5.3.1", "vue-papa-parse": "^3.1.0",