Skip to content
Snippets Groups Projects
Unverified Commit c377ec9d authored by Dalton's avatar Dalton Committed by GitHub
Browse files

Fix subscription cy test (#15521)

* fix subscription cy test

* wait for PUT completion for checking string
parent 02bbc155
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,7 @@ describe("scenarios > dashboard > subscriptions", () => {
.contains("Update filter")
.click();
cy.findAllByText("Dropdown 1")
cy.findAllByText("Category 1")
.last()
.click();
popover()
......@@ -221,7 +221,10 @@ describe("scenarios > dashboard > subscriptions", () => {
.contains("Add filter")
.click();
cy.intercept("PUT", "/api/pulse/1").as("pulsePut");
clickButton("Done");
cy.wait("@pulsePut");
cy.findByText("Category is 2 selections and 1 more filter");
});
});
......
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