From 099d5ec20e330252f1b84619e0aba72dc4f47aed Mon Sep 17 00:00:00 2001 From: Adam Perry Date: Mon, 7 Sep 2020 08:47:34 -0700 Subject: [PATCH] [todo][e2e] update cypress Closes #186. --- .github/workflows/main.yml | 11 +++++---- dom/examples/todo/e2e/package-lock.json | 30 ++++++++++++------------- dom/examples/todo/e2e/package.json | 2 +- 3 files changed, 21 insertions(+), 22 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a345188f2..efff58994 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -92,12 +92,11 @@ jobs: - run: cargo test-dom-todo - run: cargo test-dom-drivertest - # TODO(#186) uncomment - # - run: cd dom/examples/todo/e2e; npm ci - # - name: todomvc e2e tests - # run: bin/ofl serve-then-run --cwd dom/examples/todo/e2e -- npx cypress run --record - # env: - # CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} + - run: cd dom/examples/todo/e2e; npm ci + - name: todomvc e2e tests + run: cargo test-dom-todo-e2e --record + env: + CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }} website: needs: ofl diff --git a/dom/examples/todo/e2e/package-lock.json b/dom/examples/todo/e2e/package-lock.json index 3cbfe7c15..7e8132612 100644 --- a/dom/examples/todo/e2e/package-lock.json +++ b/dom/examples/todo/e2e/package-lock.json @@ -438,9 +438,9 @@ } }, "cypress": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-5.0.0.tgz", - "integrity": "sha512-jhPd0PMO1dPSBNpx6pHVLkmnnaTfMy3wCoacHAKJ9LJG06y16zqUNSFri64N4BjuGe8y6mNMt8TdgKnmy9muCg==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-5.1.0.tgz", + "integrity": "sha512-craPRO+Viu4268s7eBvX5VJW8aBYcAQT+EwEccQSMY+eH1ZPwnxIgyDlmMWvxLVX9SkWxOlZbEycPyzanQScBQ==", "dev": true, "requires": { "@cypress/listr-verbose-renderer": "^0.4.1", @@ -1372,9 +1372,9 @@ "dev": true }, "pretty-bytes": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.3.0.tgz", - "integrity": "sha512-hjGrh+P926p4R4WbaB6OckyRtO0F0/lQBiT+0gnxjV+5kjPBrfVBFCsCLbMqVQeydvIoouYTCmmEURiH3R1Bdg==", + "version": "5.4.1", + "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.4.1.tgz", + "integrity": "sha512-s1Iam6Gwz3JI5Hweaz4GoCD1WUNUIyzePFy5+Js2hjwGVt2Z79wNN+ZKOZ2vB6C+Xs6njyB84Z1IthQg8d9LxA==", "dev": true }, "process-nextick-args": { @@ -1475,9 +1475,9 @@ } }, "rxjs": { - "version": "6.6.2", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.2.tgz", - "integrity": "sha512-BHdBMVoWC2sL26w//BCu3YzKT4s2jip/WhwsGEDmeKYBhKDZeYezVUnHatYB7L85v5xs0BAQmg6BEYJEKxBabg==", + "version": "6.6.3", + "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.3.tgz", + "integrity": "sha512-trsQc+xYYXZ3urjOiJOuCOa5N3jAZ3eiSpQB5hIT8zGlL2QfnHLJ2r7GMkBGuIausdJN1OneaI6gQlsqNHHmZQ==", "dev": true, "requires": { "tslib": "^1.9.0" @@ -1600,9 +1600,9 @@ "dev": true }, "supports-color": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.1.0.tgz", - "integrity": "sha512-oRSIpR8pxT1Wr2FquTNnGet79b3BWljqOuoW/h4oBhxJ/HUbX5nX6JSruTkvXDCFMwDPvsaTTbvMLKZWSy0R5g==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", "dev": true, "requires": { "has-flag": "^4.0.0" @@ -1679,9 +1679,9 @@ "dev": true }, "uri-js": { - "version": "4.2.2", - "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.2.2.tgz", - "integrity": "sha512-KY9Frmirql91X2Qgjry0Wd4Y+YTdrdZheS8TFwvkbLWf/G5KNJDCh6pKL5OZctEW4+0Baa5idK2ZQuELRwPznQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.0.tgz", + "integrity": "sha512-B0yRTzYdUCCn9n+F4+Gh4yIDtMQcaJsmYBDsTSG8g/OejKBodLQ2IHfN3bM7jUsRXndopT7OIXWdYqc1fjmV6g==", "dev": true, "requires": { "punycode": "^2.1.0" diff --git a/dom/examples/todo/e2e/package.json b/dom/examples/todo/e2e/package.json index fe1fbc013..80a1a308d 100644 --- a/dom/examples/todo/e2e/package.json +++ b/dom/examples/todo/e2e/package.json @@ -4,7 +4,7 @@ "version": "0.0.0-development", "devDependencies": { "axe-core": "3.5.3", - "cypress": "^5.0.0", + "cypress": "^5.1.0", "cypress-axe": "0.5.3" } }