💚 Adapt to new cypress version
This commit is contained in:
1 parent
edd3f4dcb3
commit
19c9b4eadd
5 files changed
+1
-46
No files matched your search
@@ -57,9 +57,7 @@ context("Login tests", () => {
|
||||
});
|
||||
|
||||
context("Successful logout", () => {
|
||||
it("logs out", () => {
|
||||
Cypress.currentTest.retries(3);
|
||||
|
||||
it("logs out", {retries: 3}, () => {
|
||||
// login
|
||||
login(username, password);
|
||||
|
||||
|
||||
Generated
-40
@@ -12,7 +12,6 @@
|
||||
"cypress": "^9.4.1",
|
||||
"cypress-commands": "^1.1.0",
|
||||
"cypress-file-upload": "^4.0.7",
|
||||
"cypress-plugin-retries": "^1.5.2",
|
||||
"cypress-terminal-report": "^1.4.1",
|
||||
"cypress-wait-until": "^1.7.1",
|
||||
"ini": "^2.0.0"
|
||||
@@ -538,26 +537,6 @@
|
||||
"cypress": ">3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/cypress-plugin-retries": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/cypress-plugin-retries/-/cypress-plugin-retries-1.5.2.tgz",
|
||||
"integrity": "sha512-o1xVIGtv4WvNVxoVJ2X08eAuvditPHrePRzHqhwwHbMKu3C2rtxCdanRCZdO5fjh8ww+q4v4V0e9GmysbOvu3A==",
|
||||
"dependencies": {
|
||||
"chalk": "^3.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/cypress-plugin-retries/node_modules/chalk": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
||||
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
||||
"dependencies": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=8"
|
||||
}
|
||||
},
|
||||
"node_modules/cypress-terminal-report": {
|
||||
"version": "1.4.2",
|
||||
"resolved": "https://registry.npmjs.org/cypress-terminal-report/-/cypress-terminal-report-1.4.2.tgz",
|
||||
@@ -2132,25 +2111,6 @@
|
||||
"mime": "^2.4.4"
|
||||
}
|
||||
},
|
||||
"cypress-plugin-retries": {
|
||||
"version": "1.5.2",
|
||||
"resolved": "https://registry.npmjs.org/cypress-plugin-retries/-/cypress-plugin-retries-1.5.2.tgz",
|
||||
"integrity": "sha512-o1xVIGtv4WvNVxoVJ2X08eAuvditPHrePRzHqhwwHbMKu3C2rtxCdanRCZdO5fjh8ww+q4v4V0e9GmysbOvu3A==",
|
||||
"requires": {
|
||||
"chalk": "^3.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"chalk": {
|
||||
"version": "3.0.0",
|
||||
"resolved": "https://registry.npmjs.org/chalk/-/chalk-3.0.0.tgz",
|
||||
"integrity": "sha512-4D3B6Wf41KOYRFdszmDqMCGq5VV/uMAB273JILmO+3jAlh8X4qDtdtgCR3fxtbLEMzSx22QdhnDcJvu2u1fVwg==",
|
||||
"requires": {
|
||||
"ansi-styles": "^4.1.0",
|
||||
"supports-color": "^7.1.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"cypress-terminal-report": {
|
||||
"version": "1.4.2",
|
||||
"resolved": "https://registry.npmjs.org/cypress-terminal-report/-/cypress-terminal-report-1.4.2.tgz",
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
"cypress": "^9.4.1",
|
||||
"cypress-commands": "^1.1.0",
|
||||
"cypress-file-upload": "^4.0.7",
|
||||
"cypress-plugin-retries": "^1.5.2",
|
||||
"cypress-terminal-report": "^1.4.1",
|
||||
"cypress-wait-until": "^1.7.1",
|
||||
"ini": "^2.0.0"
|
||||
|
||||
@@ -19,5 +19,4 @@ module.exports = (on, config) => {
|
||||
// `on` is used to hook into various events Cypress emits
|
||||
// `config` is the resolved Cypress config
|
||||
require("cypress-terminal-report/src/installLogsPrinter")(on);
|
||||
require("cypress-plugin-retries/lib/plugin")(on);
|
||||
};
|
||||
@@ -21,4 +21,3 @@ import "./commands";
|
||||
|
||||
require("cypress-terminal-report/src/installLogsCollector")();
|
||||
require("cypress-commands");
|
||||
require("cypress-plugin-retries");
|
||||
Reference in new issue
Block a user