From 423c6812abf9e5bd2884a50dd84b0eebb4b29543 Mon Sep 17 00:00:00 2001 From: Olaf Lessenich Date: Fri, 17 Nov 2023 16:27:36 +0100 Subject: [PATCH] fix: disable playwright-electron workflow Contributed on behalf of STMicroelectronics Signed-off-by: Olaf Lessenich --- .github/workflows/playwright.yml | 11 +---------- examples/playwright/package.json | 2 +- 2 files changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/playwright.yml b/.github/workflows/playwright.yml index f91bd3926824d..953096017ee3d 100644 --- a/.github/workflows/playwright.yml +++ b/.github/workflows/playwright.yml @@ -43,15 +43,6 @@ jobs: NODE_OPTIONS: --max_old_space_size=4096 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9 - - name: Build Electron - shell: bash - run: | - yarn --skip-integrity-check --network-timeout 100000 - yarn electron build - env: - NODE_OPTIONS: --max_old_space_size=4096 - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # https://github.com/microsoft/vscode-ripgrep/issues/9 - - name: Build Playwright shell: bash run: | @@ -60,4 +51,4 @@ jobs: - name: Test (playwright) uses: GabrielBB/xvfb-action@v1 with: - run: yarn --cwd examples/playwright ui-tests-ci + run: yarn --cwd examples/playwright ui-tests-ci diff --git a/examples/playwright/package.json b/examples/playwright/package.json index 61a3ca6c57b16..ff0a61c5f2370 100644 --- a/examples/playwright/package.json +++ b/examples/playwright/package.json @@ -21,7 +21,7 @@ "playwright:install": "playwright install chromium", "ui-tests": "yarn build && playwright test --config=./configs/playwright.config.ts", "ui-tests-electron": "yarn build && USE_ELECTRON=true playwright test --config=./configs/playwright.config.ts", - "ui-tests-ci": "yarn build && playwright test --config=./configs/playwright.ci.config.ts && USE_ELECTRON=true playwright test --config=./configs/playwright.ci.config.ts ", + "ui-tests-ci": "yarn build && playwright test --config=./configs/playwright.ci.config.ts", "ui-tests-headful": "yarn build && playwright test --config=./configs/playwright.headful.config.ts", "ui-tests-report-generate": "allure generate ./allure-results --clean -o allure-results/allure-report", "ui-tests-report": "yarn ui-tests-report-generate && allure open allure-results/allure-report"