Skip to content
Snippets Groups Projects
Unverified Commit 5ec73072 authored by Nemanja Glumac's avatar Nemanja Glumac Committed by GitHub
Browse files

Revert Cypress upgrade (v5.3.0. -> v3.8.2) (#13398)

* Revert Cypress upgrade (v5.3.0. -> v3.8.2)

Additionally needed to make all tests pass:
* Fix Cypress flakes (cannot find "Not now" string within a modal)
parent 8111d584
No related branches found
No related tags found
No related merge requests found
......@@ -226,9 +226,7 @@ describe("scenarios > question > notebook", () => {
typeAndBlurUsingLabel("Name", "Q3");
cy.findByText("Save").click();
});
modal().within(() => {
cy.findByText("Not now").click();
});
cy.findByText("Not now").click();
cy.log("**Assert that the Q3 is in 'Our analytics'**");
......@@ -278,9 +276,7 @@ describe("scenarios > question > notebook", () => {
cy.findByText("Save").click();
});
modal().within(() => {
cy.findByText("Not now").click();
});
cy.findByText("Not now").click();
cy.get(".Icon-notebook").click();
......
......@@ -116,7 +116,7 @@
"color-diff": "^1.1.0",
"concurrently": "^3.1.0",
"css-loader": "^0.28.7",
"cypress": "^5.3.0",
"cypress": "3.8.2",
"documentation": "^4.0.0-rc.1",
"enzyme": "^3.8.0",
"enzyme-2": "npm:enzyme@2",
......@@ -224,6 +224,6 @@
]
},
"resolutions": {
"cypress": "5.3.0"
"cypress": "3.8.2"
}
}
This diff is collapsed.
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