rsnext/test/lib
JJ Kasper 135a4cfc66
Add handling for prefetching onTouchStart and initial mobile testing (#38805)
This adds handling for prefetching `onTouchStart` as this gives a little more time to start parsing required scripts for a page transition if not already done that can help make the transition faster. This is based on research showing the touch start event firing on average `90ms` before click (x-ref: [source](https://instant.page/#:~:text=in%20the%20world.-,On%20mobile,-A%20user%20starts))

This also adds testing safari with playwright so we can run these in PRs instead of only after merge and adds initial mobile testing as well. 

x-ref: [slack thread](https://vercel.slack.com/archives/C7PDM7X2M/p1658250170774989?thread_ts=1658249275.178349&cid=C7PDM7X2M)

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm lint`
- [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
2022-07-25 19:04:03 +00:00
..
browsers Add handling for prefetching onTouchStart and initial mobile testing (#38805) 2022-07-25 19:04:03 +00:00
next-modes Fix hard navigation guard on popstate and handle fetching fresh data (#37970) 2022-06-24 10:50:41 -05:00
amp-test-utils.js Improve linting rules to catch more errors (#9374) 2019-11-10 19:24:53 -08:00
create-next-install.js Ensure @swc/helpers do not rely on hoisting (#38174) 2022-06-29 22:47:44 +00:00
e2e-utils.ts Allow passing FileRef directly to createNext (#37664) 2022-06-13 15:28:34 -05:00
flat-map-polyfill.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
mocks-require-hook.js Validate streaming writer chunk type in testing (#36200) 2022-04-18 16:24:06 +02:00
next-test-utils.js Ensure mixed query/hash values are handled correctly (#38852) 2022-07-21 19:16:38 +00:00
next-webdriver.ts Fixed anotation param name (#37075) 2022-05-20 19:41:11 +00:00
react-channel-require-hook.js Alias react and react-dom by default (#38245) 2022-07-01 23:57:45 +00:00