From 2b9859b6dcce0f2de2cb44e339bed3a469738684 Mon Sep 17 00:00:00 2001 From: Jon Eugster Date: Sat, 24 Aug 2024 00:53:40 +0200 Subject: [PATCH] update workflow --- .github/workflows/test.yml | 8 +++----- cypress.config.ts | 1 + package-lock.json | 29 +++++++++++++++++++++++++++++ package.json | 1 + 4 files changed, 34 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 63bf290..38bc919 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -24,6 +24,7 @@ jobs: - electron - chrome - firefox + - webkit experimental: - false include: @@ -33,11 +34,8 @@ jobs: name: macOS - os: windows-latest name: Windows - - os: macos-latest - name: macOS - browser: webkit - - os: ubuntu-latest - name: Linux + exclude: + - os: windows-lates browser: webkit name: ${{ matrix.name }} - ${{ matrix.browser }} diff --git a/cypress.config.ts b/cypress.config.ts index 46a334b..78b33f2 100644 --- a/cypress.config.ts +++ b/cypress.config.ts @@ -2,6 +2,7 @@ import { defineConfig } from "cypress"; export default defineConfig({ defaultCommandTimeout: 100000, // for firefox on linux + experimentalWebKitSupport: true, e2e: { setupNodeEvents(on, config) { // implement node event listeners here diff --git a/package-lock.json b/package-lock.json index 8d0116b..56782e6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,6 +26,7 @@ "cypress": "^13.13.0", "cypress-iframe": "^1.0.1", "nodemon": "^3.1.4", + "playwright-webkit": "^1.46.1", "ts-loader": "^9.5.1", "typescript": "^5.4.5", "wait-on": "^7.2.0", @@ -3396,6 +3397,34 @@ "node": ">=8" } }, + "node_modules/playwright-core": { + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/playwright-core/-/playwright-core-1.46.1.tgz", + "integrity": "sha512-h9LqIQaAv+CYvWzsZ+h3RsrqCStkBHlgo6/TJlFst3cOTlLghBQlJwPOZKQJTKNaD3QIB7aAVQ+gfWbN3NXB7A==", + "dev": true, + "bin": { + "playwright-core": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/playwright-webkit": { + "version": "1.46.1", + "resolved": "https://registry.npmjs.org/playwright-webkit/-/playwright-webkit-1.46.1.tgz", + "integrity": "sha512-/ukeGPICHYZRnLHTWCESXbH0FbUrorE8Qm7iCh/hybSaEVBCu+tkrmne2d2zJ5UXj/z55Gz231y4QNix5rMIRg==", + "dev": true, + "hasInstallScript": true, + "dependencies": { + "playwright-core": "1.46.1" + }, + "bin": { + "playwright": "cli.js" + }, + "engines": { + "node": ">=18" + } + }, "node_modules/pretty-bytes": { "version": "5.6.0", "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-5.6.0.tgz", diff --git a/package.json b/package.json index a4b85fd..a53a941 100644 --- a/package.json +++ b/package.json @@ -58,6 +58,7 @@ "cypress": "^13.13.0", "cypress-iframe": "^1.0.1", "nodemon": "^3.1.4", + "playwright-webkit": "^1.46.1", "ts-loader": "^9.5.1", "typescript": "^5.4.5", "wait-on": "^7.2.0",