Skip to content

Commit

Permalink
adds a wait after clicking on table menu icon
Browse files Browse the repository at this point in the history
  • Loading branch information
eireland committed Nov 1, 2024
1 parent c7c2a2c commit e9861c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions v3/cypress/support/elements/table-tile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,18 +232,22 @@ export const TableTileElements = {
},
createNewTableFromToolShelf() {
c.getIconFromToolShelf("table").click()
cy.wait(1000)
cy.get("[data-testid=tool-shelf-table-new]").click()
},
createNewClipboardTableFromToolShelf() {
c.getIconFromToolShelf("table").click()
cy.wait(1000)
cy.get("[data-testid=tool-shelf-table-new-clipboard]").click()
},
openExistingTableFromToolShelf(name: string) {
c.getIconFromToolShelf("table").click()
cy.wait(1000)
cy.get(`[data-testid=tool-shelf-table-${name}]`).click()
},
deleteDataSetFromToolShelf(index = 0) {
c.getIconFromToolShelf("table").click()
cy.wait(1000)
cy.get(`.tool-shelf-menu-trash-icon`).eq(index).click()
cy.get(`.delete-data-set-button-delete`).click()
},
Expand Down

0 comments on commit e9861c8

Please sign in to comment.