Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: add visual tests infra #1047

Merged
merged 35 commits into from
Nov 18, 2023
Merged
Changes from 1 commit
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
51510f5
chore(TestComponent): made a new kind of component testing
NasgulNexus Oct 12, 2023
939da08
fix: ci
NasgulNexus Oct 11, 2023
618723e
fix: ci
NasgulNexus Oct 11, 2023
959179f
fix: ci
NasgulNexus Oct 11, 2023
4513a35
fix: ci
NasgulNexus Oct 11, 2023
1e8e4fe
fix: test ci
NasgulNexus Oct 12, 2023
b15aa1d
fix: ci
NasgulNexus Oct 12, 2023
dc467cb
fix: add to gitignore test-results
NasgulNexus Oct 12, 2023
4d51053
fix: snapshots
NasgulNexus Oct 12, 2023
604ff87
fix: ci
NasgulNexus Oct 12, 2023
d2b3d9d
fix: upload reports
NasgulNexus Oct 12, 2023
5929f42
fix: retries 0
NasgulNexus Oct 12, 2023
360212a
fix: test styles
NasgulNexus Oct 12, 2023
425b89e
fix: config
NasgulNexus Oct 12, 2023
18d1c9f
fix: test channel
NasgulNexus Oct 12, 2023
bc84b37
fix: delete channel
NasgulNexus Oct 12, 2023
fbb9110
fix: add upload test-result
NasgulNexus Oct 12, 2023
5d8bb87
fix: add docker
NasgulNexus Nov 8, 2023
a6d90e3
fix: delete test
NasgulNexus Nov 8, 2023
5877113
fix: change ci
NasgulNexus Nov 8, 2023
f55102f
fix: add always
NasgulNexus Nov 8, 2023
a6ba436
fix: add always
NasgulNexus Nov 8, 2023
9abae19
fix: delete container
NasgulNexus Nov 8, 2023
e2202be
fix: test aws
NasgulNexus Nov 8, 2023
aae8b1b
fix: test commit
NasgulNexus Nov 10, 2023
bbc692d
fix: docs
NasgulNexus Nov 10, 2023
c7c9b3b
fix: folder tests
NasgulNexus Nov 13, 2023
6c58de1
fix: ci
NasgulNexus Nov 13, 2023
485ed8a
fix: fix broken test
NasgulNexus Nov 13, 2023
e8b903c
fix: test tests
NasgulNexus Nov 13, 2023
ce44594
fix: rebase
NasgulNexus Nov 13, 2023
16c956a
fix: test ci if
NasgulNexus Nov 16, 2023
735383b
fix: correct remarks
NasgulNexus Nov 16, 2023
aa02617
fix: fix docs
NasgulNexus Nov 16, 2023
9d7d11a
fix: commit ci cd
NasgulNexus Nov 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: fix docs
  • Loading branch information
NasgulNexus committed Nov 17, 2023
commit aa026176aa8dd4bdd221000171e595b0101b0bb5
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