Skip to content

Commit

Permalink
Update Playwright.md
Browse files Browse the repository at this point in the history
  • Loading branch information
nfour authored Aug 13, 2024
1 parent e1f4afa commit d5add12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .docs/guides/Playwright.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,8 @@ In VSCode, just tick the checkbox "Trace browser" and run the tests you want.

```typescript
import { test, expect } from '@playwright/test';

test.use({
ignoreHTTPSErrors: true,
baseURL: 'https://localhost:9005',
screenshot: 'on',
viewport: { width: 1920, height: 1080 },
});
Expand Down Expand Up @@ -141,4 +140,4 @@ fi
```

When the pipeline runs it will produce artifacts which you can inspect - such as screenshots. You can then, as a minimal testing strategy, check the screenshots to see if the tests are running as expected.
When the pipeline runs it will produce artifacts which you can inspect - such as screenshots. You can then, as a minimal testing strategy, check the screenshots to see if the tests are running as expected.

0 comments on commit d5add12

Please sign in to comment.