Skip to content

Commit

Permalink
snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
dan-lee committed Nov 24, 2023
1 parent a0b45ae commit dfd1e83
Show file tree
Hide file tree
Showing 10 changed files with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/lib/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ export default defineConfig({
baseURL: `http://127.0.0.1:${port}`,
trace: 'on-first-retry',
},
//
snapshotPathTemplate: '{testDir}/__screenshots__/{testFilePath}/{arg}{ext}',
projects: [
{
name: 'chromium',
use: { ...devices['Desktop Chrome'] },
},
],
webServer: {
command: `pnpm --filter react-avatar-editor-demo dev --host --port ${port}`,
url: `http://127.0.0.1:${port}/index.html`,
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit dfd1e83

Please sign in to comment.