You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ It was not intended to provide 100% test coverage, but was an exercise in starti
8
8
9
9
I hit a few Gotchas that I remember hitting in the past like using async inside `.forEach` tests\*, or `map()` with other logic (Note: both `map()` and `[]forEach()` work fine if you are calling `test()` within it in a synchronous way (i.e. not calling it with async - see note below)).
10
10
11
-
I originally stated "I should get used to using `for (const x of y) {}` for parametrized tests", but the Playwright documentation shows [].forEach(), and as long as I stick with what I said in the note below, `[]forEach()` should be fine.
11
+
I originally stated "I should get used to using `for (const x of y) {}` for parametrized tests", but the Playwright documentation shows [].forEach(), and as long as I stick with what I said in the note below, `[].forEach()` should be fine.
12
12
13
13
I looked into fixtures which I've not really done before - they are not like Pytest fixtures. They are more opaque and don't play nice with parametrized tests and `.use()` (Passing parametrized data to a fixture in a loop will override that data for all tests, and if they are running in parallel, its not going to end well).
0 commit comments