rsnext/test/lib
Jan Potoms 3ffef60280
Fix webdriver error handling (#15491)
errors in script execution will result in timeout instead of failure. This PR makes sure to pass all arguments to `.then` so error handling is correctly set up. (`.then` needs to be able to take a second argument). I also removed `.finally`.

I don't know why, but it looks like the following test does something that prevents the tests after it from opening a new browser window on azure. I'm giving up, I shuffled the tests to put this one last.
```js
    it('shows warning when dynamic route mismatch is used on Link', async () => {
      await showsError(
        '/dynamic-route-mismatch',
        /Mismatching `as` and `href` failed to manually provide the params: post in the `href`'s `query`/,
        true,
        true
      )
    })
```
2020-07-29 10:30:06 +00:00
..
amp-test-utils.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
flat-map-polyfill.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-test-utils.js Bring over fixes from #15185 (#15326) 2020-07-20 11:14:02 -04:00
next-webdriver.d.ts Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-webdriver.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
wd-chain.js Fix webdriver error handling (#15491) 2020-07-29 10:30:06 +00:00