refactor(tests): make chain more "correct" (#51728)
### Why?
I really dislike the way `.chain` works right now, it shouldn't mutate
the `BrowserInterface`, this PR changes it so it's just a pure chain
without weird side effects.
One example with the current version (before this PR):
```
const el = browser.elementByCss('#version-2')
await el.text()
// throws
await el.text()
```
### Additional Changes
- removes selenium (which is completely unused)
- updates playwright
- makes the playwright tracing not error all the time
Showing
| ... | @@ -185,8 +185,8 @@ | ... | @@ -185,8 +185,8 @@ |
| "open": "9.0.0", | "open": "9.0.0", | ||
| "outdent": "0.8.0", | "outdent": "0.8.0", | ||
| "pixrem": "5.0.0", | "pixrem": "5.0.0", | ||
| "playwright-chromium": "1.35.1", | "playwright": "1.41.2", | ||
| "playwright-core": "1.35.1", | "playwright-chromium": "1.41.2", | ||
| "postcss": "8.4.31", | "postcss": "8.4.31", | ||
| "postcss-nested": "4.2.1", | "postcss-nested": "4.2.1", | ||
| "postcss-pseudoelements": "5.0.0", | "postcss-pseudoelements": "5.0.0", | ||
| ... | ... |
Please
register
or
sign in
to comment