From b4fb36fe645cc756408fd14ecfba62a04d35c6ab Mon Sep 17 00:00:00 2001 From: Kai Arseneau Date: Mon, 11 Nov 2024 23:45:41 -0500 Subject: [PATCH] Cleaning up --- .github/workflows/lint.yaml | 8 ++++---- e2e/playwright.config.ts | 2 +- e2e/testers/graph.ts | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml index d0e1fce2..8f94896d 100644 --- a/.github/workflows/lint.yaml +++ b/.github/workflows/lint.yaml @@ -124,14 +124,14 @@ jobs: serve -s build -l 5173 & continue-on-error: true - - name: Install Xvfb - run: sudo apt-get install -y xvfb + # - name: Install Xvfb + # run: sudo apt-get install -y xvfb - name: Run Playwright Tests # env: # DEBUG: pw:browser*,pw:api - run: xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" npx playwright test --headed - working-directory: ./e2e + run: npx playwright test # xvfb-run --auto-servernum --server-args="-screen 0 1920x1080x24" npx playwright test --headed + working-directory: ./e2e \ - name: Upload Playwright report if: failure() || always() diff --git a/e2e/playwright.config.ts b/e2e/playwright.config.ts index b63eabdb..57f64d76 100644 --- a/e2e/playwright.config.ts +++ b/e2e/playwright.config.ts @@ -19,7 +19,7 @@ export default defineConfig({ forbidOnly: !!process.env.CI, /* Retry on CI only */ retries: process.env.CI ? 1 : 0, - /* Opt out of parallel tests on CI. */ + /* Opt out of parallel tests on CI. Set to 1 to opt out */ workers: process.env.CI ? undefined : undefined, /* Reporter to use. See https://playwright.dev/docs/test-reporters */ reporter: 'html', diff --git a/e2e/testers/graph.ts b/e2e/testers/graph.ts index 052950f7..6efe9d71 100644 --- a/e2e/testers/graph.ts +++ b/e2e/testers/graph.ts @@ -10,7 +10,7 @@ export class GraphTester extends Tester { async testCreateGraph() { await this.openGraphForm(); await this.pressNextButton(); - await this.selectFile('182848/BATT PERC'); + await this.selectFile('182848/BATT VOLT'); await this.pressNextButton(); await this.submitGraph(); await this.verifyGraphCreated();