Skip to content

Commit

Permalink
fix: fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
NasgulNexus committed Nov 16, 2023
1 parent 4766bbd commit 285fe30
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions playwright/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,16 @@
});
```

````
Group of tests.

```ts
test.describe('Name group tests', () => {
test('1', ...);
test('2', ...);
...
test('10', ...)
test('1', ...);
test('2', ...);
...
test('10', ...)
});
````
```

4. Run tests

Expand All @@ -53,16 +51,16 @@ test.describe('Name group tests', () => {
5. Update screenshots if needed

```shell
npm run playwright:update
npm run playwright:update
```

Or

```shell
npm run playwright:docker:update
npm run playwright:docker:update
```

7.In the folder `__snapshots__`, which is on the same level as the `__tests__` folder, the folder `<Component name>.visual.test.tsx-snapshots`, will contain screenshots
6.In the folder `__snapshots__`, which is on the same level as the `__tests__` folder, the folder `<Component name>.visual.test.tsx-snapshots`, will contain screenshots

## Description of possible commands:

Expand Down

0 comments on commit 285fe30

Please sign in to comment.