rsnext/test/integration
Joe Haddad 3ee0a1f41a
Wait for flush before firing routing event (#13287)
This waits for the render to be committed to DOM before we render the route change complete event (no longer sync in new React).

We have tests that ensure this resolves.

---

Closes #12938
2020-05-23 21:54:11 +00:00
..
404-page Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
404-page-custom-error Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
404-page-ssg Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
amp-export-validation Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
amphtml Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
amphtml-custom-optimizer Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
amphtml-custom-validator Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
amphtml-fragment-style Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
amphtml-ssg Fix building server-side generated AMP pages (#13046) 2020-05-19 07:58:50 -04:00
api-catch-all Fix Lint 2020-05-19 18:00:04 -04:00
api-support Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
app-aspath Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
app-document Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
app-document-import-order Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
app-document-style-fragment Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
app-functional Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
app-tree Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
auto-export Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
auto-export-query-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
auto-export-serverless Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
auto-export-serverless-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
babel Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
babel-custom Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
basepath Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
basic Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
bigint Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
build-indicator Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
build-output Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
build-warnings Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
bundle-size-profiling Enable polyfillsOptimization (#10574) 2020-02-18 19:26:55 +01:00
catches-missing-getStaticProps Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
chunking Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
chunking-minimal Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
cli Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
client-404 Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
client-navigation Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
compression Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
config Stabilize config tests (#13116) 2020-05-19 18:42:41 -04:00
config-empty Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
config-experimental-warning Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
config-promise-error Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
config-resolve-alias Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
conflicting-public-file-page Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
conformance GranularChunks conformance check (#11710) 2020-05-20 06:40:23 +00:00
create-next-app Enable jest/no-try-expect (#13124) 2020-05-20 13:37:35 +02:00
css/test Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
css-client-nav/test Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
css-customization/test Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
css-features Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
css-fixtures Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
css-modules/test Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
custom-error Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
custom-page-extension Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
custom-routes Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
custom-routes-catchall Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
custom-server Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
custom-server-types Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
dedupes-scripts Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
disable-js Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
dist-dir Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
duplicate-pages Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
dynamic-optional-routing Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
dynamic-require Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
dynamic-route-rename Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
dynamic-routing Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
empty-object-getInitialProps Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
empty-project Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
env-config Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
error-in-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
error-load-fail Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
errors-on-output-to-public Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
export-default-map Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-default-map-serverless Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-dynamic-pages Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-dynamic-pages-serverless Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-fallback-true-error Add error when exporting pages with fallback: true (#13063) 2020-05-19 09:29:34 -04:00
export-intent Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-override-404 Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-serverless Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
export-subfolders Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-subfolders-serverless Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
external-assets Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
externalize-next-server Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
fetch-polyfill Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
fetch-polyfill-ky-universal Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
file-serving Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
filesystempublicroutes Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
firebase-grpc Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
future Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
getserversideprops [Fast Refresh] Upgrade react-refresh (#13285) 2020-05-23 21:37:56 +00:00
getserversideprops-export-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
getserversideprops-preview Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
gip-identifier Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
gssp-pageProps-merge Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
handle-non-page-in-pages Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
handles-export-errors Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
hydration Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
initial-ref Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
invalid-config-values Ignore nullish user configs (#10250) 2020-05-22 16:46:36 +00:00
invalid-custom-routes Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
invalid-href Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
invalid-multi-match Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
invalid-page-automatic-static-optimization Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
jsconfig Improve jsconfig.json error message (#13053) 2020-05-18 12:07:08 -04:00
jsconfig-baseurl Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
jsconfig-empty An empty jsconfig.json should not fail the build (#13051) 2020-05-18 12:31:15 -04:00
jsconfig-paths Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
legacy-pkg-gently Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
legacy-sass Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
legacy-ssg-methods-error Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
link-ref Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
mixed-ssg-serverprops-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
modern-mode Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
next-dynamic Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
next-plugins [Experimental] Only consider files within plugins (#12943) 2020-05-20 04:05:29 +00:00
no-override-next-props Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
non-next-dist-exclude Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
non-standard-node-env-warning Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
nullish-config Ignore nullish user configs (#10250) 2020-05-22 16:46:36 +00:00
ondemand Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
optional-chaining-nullish-coalescing Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
page-config Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
page-extensions Ignore nullish user configs (#10250) 2020-05-22 16:46:36 +00:00
plugin-mdx Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
polyfilling-minimal Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
polyfills Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
preload-viewport Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
prerender Add error when exporting pages with fallback: true (#13063) 2020-05-19 09:29:34 -04:00
prerender-invalid-catchall-params Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
prerender-invalid-paths Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
prerender-legacy Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
prerender-no-revalidate Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
prerender-preview Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
process-env-stub Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
production Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
production-browser-sourcemaps Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
production-build-dir Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
production-config Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
production-nav Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
profiling Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
query-with-encoding Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
relay-analytics Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
render-error-on-module-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
route-index Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
route-indexes Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
route-load-cancel Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
scss/test Add support for sass-loader prependData option (#12277) 2020-05-23 13:37:48 +00:00
scss-fixtures Add support for sass-loader prependData option (#12277) 2020-05-23 13:37:48 +00:00
scss-modules/test Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
serverless Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
serverless-runtime-configs Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
serverless-trace Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
size-limit Wait for flush before firing routing event (#13287) 2020-05-23 21:54:11 +00:00
src-dir-support Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
src-dir-support-double-dir Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
ssg-component-members-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
ssg-dynamic-routes-404-page Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
ssr-ctx Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
ssr-prepass Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
static-404 Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
static-page-name Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
styled-jsx-module Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
styled-jsx-plugin Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
telemetry Record presence of reportWebVitals (#13155) 2020-05-20 18:44:39 +00:00
trailing-slash-dist Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
tsconfig-verifier Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
typeof-window-replace Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
typescript Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
typescript-baseurl Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
typescript-hmr Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
typescript-ignore-errors Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
typescript-numeric-sep-exclusive Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
typescript-only-remove-type-imports Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
typescript-paths Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
with-router Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00