Skip to content

Commit

Permalink
Cleaning up
Browse files Browse the repository at this point in the history
  • Loading branch information
gr812b committed Nov 12, 2024
1 parent 6aa54be commit b4fb36f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
2 changes: 1 addition & 1 deletion e2e/testers/graph.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b4fb36f

Please sign in to comment.