1
0
Fork 0
mirror of synced 2024-06-03 02:55:14 +12:00

Updated MySQL Duplicate Query test

Fixing the navigation used when selecting queries
This commit is contained in:
Mitch-Budibase 2022-04-14 20:20:09 +01:00
parent b25296efad
commit e4707a2e53

View file

@ -180,11 +180,12 @@ filterTests(["all"], () => {
})
it("should duplicate a query", () => {
// Get last nav item - The query
/// Get query nav item - QueryName
cy.get(".nav-item")
.last()
.contains(queryName)
.parent()
.within(() => {
cy.get(".icon").eq(1).click({ force: true })
cy.get(".spectrum-Icon").eq(1).click({ force: true })
})
// Select and confirm duplication
cy.get(".spectrum-Menu").contains("Duplicate").click()