Skip to content

Commit

Permalink
test: update playwright config
Browse files Browse the repository at this point in the history
  • Loading branch information
arianrhodsandlot committed Jul 24, 2024
1 parent 3bcfe0b commit 8bf4d57
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test-jobs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
with:
node-version: 20
cache: pnpm
- uses: actions/cache@v3
- uses: actions/cache@v4
id: playwright-cache
with:
path: ~/.cache/ms-playwright
Expand All @@ -49,7 +49,7 @@ jobs:
- run: pnpm playwright install chromium
- run: pnpm build
- run: pnpm test:e2e
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
if: always()
with:
name: playwright-report
Expand Down
2 changes: 1 addition & 1 deletion docs/src/content/docs/apis/get-emscripten-al.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ See [FS object](https://emscripten.org/docs/api_reference/Filesystem-API.html#id
const nostalgist = await Nostalgist.nes('flappybird.nes')

const AL = nostalgist.getEmscriptenAL()
FS.readdir('/')
console.log(AL.currentCtx)
```
2 changes: 1 addition & 1 deletion tests/e2e/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { defineConfig } from '@playwright/test'
import isCi from 'is-ci'

export default defineConfig({
expect: { toHaveScreenshot: { maxDiffPixels: 300 } },
expect: { toHaveScreenshot: { maxDiffPixels: 250 } },
fullyParallel: true,
reporter: 'html',
retries: 5,
Expand Down

0 comments on commit 8bf4d57

Please sign in to comment.