Skip to content

Commit 88d9341

Browse files
authored
Update cypress to 13.0.0 (#22)
1 parent 3375b4e commit 88d9341

10 files changed

+51
-56
lines changed

Diff for: cypress.config.ts

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ export default defineConfig({
1414
trashAssetsBeforeRuns: true,
1515
video: true,
1616
chromeWebSecurity: false,
17-
videoUploadOnPasses: true,
1817
env: {
1918
REDIRECT_BROWSER_LOG: true,
2019
allure: 'true',

Diff for: package-lock.json

+44-44
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -63,19 +63,19 @@
6363
"@cypress/code-coverage": "^3.11.0",
6464
"@ephesoft/webpack.istanbul.loader": "^2.2.0",
6565
"@istanbuljs/nyc-config-typescript": "^1.0.2",
66-
"@mmisty/cypress-grep": "^1.6.7",
66+
"@mmisty/cypress-grep": "^1.6.9",
6767
"@types/cors": "^2.8.13",
6868
"@types/debug": "^4.1.8",
6969
"@types/express": "^4.17.17",
70-
"@types/jest": "^29.5.3",
70+
"@types/jest": "^29.5.4",
7171
"@types/node": "^18.11.9",
7272
"@types/uuid": "^9.0.2",
7373
"@types/ws": "^8.5.5",
7474
"@typescript-eslint/eslint-plugin": "^5.44.0",
7575
"@typescript-eslint/parser": "^5.44.0",
7676
"allure-commandline": "^2.23.1",
77-
"cypress": "^12.17.4",
78-
"cypress-redirect-browser-log": "^1.1.1",
77+
"cypress": "^13.0.0",
78+
"cypress-redirect-browser-log": "^1.1.2",
7979
"eslint": "^8.46.0",
8080
"eslint-config-prettier": "^8.5.0",
8181
"eslint-plugin-cypress": "^2.14.0",
@@ -98,7 +98,7 @@
9898
"webpack": "^5.88.2"
9999
},
100100
"dependencies": {
101-
"allure-js-commons": "^2.5.0",
101+
"allure-js-commons": "^2.6.0",
102102
"allure-js-parser": "^0.0.7",
103103
"debug": "^4.3.4",
104104
"fast-glob": "^3.3.1",

Diff for: tests/cy-helper/utils.ts

+2
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ export const createResTest = (
133133
browser: 'chrome',
134134
trashAssetsBeforeRuns: true,
135135
env,
136+
video: true,
136137
});
137138
} catch (e) {
138139
err = e as Error;
@@ -247,6 +248,7 @@ export const createResTest2 = (
247248
trashAssetsBeforeRuns: true,
248249
env,
249250
quiet: process.env.CI === 'true',
251+
video: true,
250252
});
251253
} catch (e) {
252254
err = e as Error;

Diff for: tests/test-folder/mocha-events/commands/custom-command-no-return-chain-2.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ describe('custom commands exclude', () => {
135135
it('should have results', () => {
136136
// should not fail run
137137
checkCyResults(res?.result?.res, {
138-
status: 'finished',
139138
totalPassed: 2,
140139
totalFailed: 0,
141140
totalPending: 0,

Diff for: tests/test-folder/mocha-events/commands/custom-command-no-return-chain.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ describe('custom commands', () => {
138138
it('should have results', () => {
139139
// should not fail run
140140
checkCyResults(res?.result?.res, {
141-
status: 'finished',
142141
totalPassed: 2,
143142
totalFailed: 0,
144143
totalPending: 0,

Diff for: tests/test-folder/mocha-events/commands/custom-command.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ describe('custom commands', () => {
322322
it('should have results', () => {
323323
// should not fail run
324324
checkCyResults(res?.result?.res, {
325-
status: 'finished',
326325
totalPassed: 8,
327326
totalFailed: 0,
328327
totalPending: 0,

Diff for: tests/test-folder/mocha-events/commands/do-sync-command.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ describe('do sync command', () => {
7070
it('should have results', () => {
7171
// should not fail run
7272
checkCyResults(res?.result?.res, {
73-
status: 'finished',
7473
totalPassed: 4,
7574
totalFailed: 0,
7675
totalPending: 0,

Diff for: tests/test-folder/mocha-events/events/plugin-events-test-no-allure.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ describe('hello suite', () => {
2626
);
2727
it('should be ok', () => {
2828
checkCyResults(res?.result?.res, {
29-
status: 'finished',
3029
totalPassed: 0,
3130
totalFailed: 1,
3231
totalPending: 0,

Diff for: tests/test-folder/mocha-events/interface/no-allure.test.ts

-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ describe('should be no results when allure:false', () => {
2020
it('should have no results', () => {
2121
// should not fail run
2222
checkCyResults(res?.result?.res, {
23-
status: 'finished',
2423
totalPassed: 1,
2524
totalFailed: 0,
2625
totalPending: 0,

0 commit comments

Comments
 (0)