@ -60,6 +60,11 @@ jobs:
run: |
jlpm run build:test
jlpm run test:ci
- uses: actions/upload-artifact@v2
if: ${{ always() }}
with:
name: test-artifacts
path: app/artifacts
build:
needs: [integrity]
@ -7,7 +7,9 @@ describe('Smoke', () => {
beforeAll(async () => {
jest.setTimeout(200000);
browser = await chromium.launch({ slowMo: 1000 });
context = await browser.newContext({ recordVideo: { dir: 'videos/' } });
context = await browser.newContext({
recordVideo: { dir: 'artifacts/videos/' }
});
afterAll(async () => {