This commit is contained in:
konnorrogers
2024-09-18 17:00:35 -04:00
parent 59b7f4de27
commit a8d1837c16
2 changed files with 11 additions and 5 deletions

View File

@@ -28,10 +28,10 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Lint
run: npm run prettier && npm run lint
- name: Build
run: npm run build
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run CSR tests
@@ -54,10 +54,16 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Install Playwright
run: npx playwright install --with-deps
# Just lint here too. Save some GH Action minutes and not need to use "depends_on" or anything.
- name: Lint
run: npm run prettier && npm run lint
- name: Build
run: npm run build
- name: Install Playwright
run: npx playwright install --with-deps
- name: Run CSR tests
# FAIL_FAST to fail on first failing test.
run: FAIL_FAST="true" SSR_ONLY="true" npm run test

View File

@@ -1,8 +1,8 @@
import { aTimeout, expect, waitUntil } from '@open-wc/testing';
import { clickOnElement } from './test.js';
import { fixtures } from './test/fixture.js';
import { html } from 'lit';
import sinon from 'sinon';
import { clickOnElement } from './test.js';
describe('Form tests', () => {
for (const fixture of fixtures) {