Commit 7418f17
authored
Fix inconsistent playwright test (#461)
* Remove sleep fixture
Playwright has a built-in "slowmo" feature that would be easiest to use.
https://playwright.dev/python/docs/test-runners#cli-arguments
* Use standard python comparison operator
The `to_equal` doesn't seem to exist in playwright for python. There is a NodeJS equivalent, but there is no supported GenericAssertion equivalent for python
https://playwright.dev/docs/api/class-genericassertions
* Add explanation to test assertion
* Fix linting issues1 parent 56bc49a commit 7418f17
1 file changed
+2
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | 1 | | |
4 | 2 | | |
5 | 3 | | |
| |||
14 | 12 | | |
15 | 13 | | |
16 | 14 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | 15 | | |
25 | 16 | | |
26 | 17 | | |
| |||
29 | 20 | | |
30 | 21 | | |
31 | 22 | | |
32 | | - | |
| 23 | + | |
| 24 | + | |
33 | 25 | | |
34 | 26 | | |
35 | 27 | | |
| |||
0 commit comments