From 285fe30a4a298adbc2e59591db16e7892b3daa95 Mon Sep 17 00:00:00 2001 From: NasgulNexus Date: Thu, 16 Nov 2023 13:45:04 +0100 Subject: [PATCH] fix: fix docs --- playwright/README.md | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/playwright/README.md b/playwright/README.md index cf4849b0db..4ac762738a 100644 --- a/playwright/README.md +++ b/playwright/README.md @@ -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 @@ -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 `.visual.test.tsx-snapshots`, will contain screenshots +6.In the folder `__snapshots__`, which is on the same level as the `__tests__` folder, the folder `.visual.test.tsx-snapshots`, will contain screenshots ## Description of possible commands: