Skip to content
Snippets Groups Projects
Unverified Commit 7c9f3e0a authored by Paul Rosenzweig's avatar Paul Rosenzweig Committed by GitHub
Browse files

use `popover().within` to retry getting popover (#13011)

parent 898b3df4
No related branches found
No related tags found
No related merge requests found
......@@ -117,12 +117,8 @@ describe("scenarios > question > notebook", () => {
});
// select the join columns
popover()
.findByText("A_COLUMN")
.click();
popover()
.findByText("B_COLUMN")
.click();
popover().within(() => cy.findByText("A_COLUMN").click());
popover().within(() => cy.findByText("B_COLUMN").click());
cy.findByText("Visualize").click();
cy.queryByText("Visualize").then($el => cy.wrap($el).should("not.exist")); // wait for that screen to disappear to avoid "multiple elements" errors
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment