rsnext/test/integration
JJ Kasper f46ddc6933
Correct page path for GS(S)P data refreshing (#16939)
This makes sure to the page path is the expected version to trigger refreshing on the client and adds additional tests to make sure it is working properly with these page variants. 

Closes: https://github.com/vercel/next.js/issues/16938
2020-09-08 16:00:05 +00:00
..
404-page Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
404-page-app Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
404-page-custom-error Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
404-page-ssg Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
absolute-assetprefix Don't use assetprefix on getServerSideProps and getStaticProps (#15634) 2020-07-29 16:51:51 +00:00
amp-export-validation Refactor moveExportedPages to use getPagePath (#14247) 2020-06-17 03:40:07 +00:00
amphtml Handle cases where config is exported after its declaration (#16211) 2020-08-17 17:24:18 +00: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 Normalize trailing slashes (#13333) 2020-06-23 13:38:49 +02:00
api-catch-all Normalize trailing slashes (#13333) 2020-06-23 13:38:49 +02:00
api-support Added Friendly error for res.redirect 🐝 (#15844) 2020-08-06 22:53:09 +00:00
app-aspath Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
app-document Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
app-document-import-order Fix app-document-import-order test for webpack 5 (#15224) 2020-07-17 10:38:06 +02: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 Stabilize more tests (#15470) 2020-07-26 04:57:06 +00:00
auto-export-error-bail Add warning when reserved pages are nested (#13449) 2020-05-27 16:45:53 +00: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 Add missing nomodule polyfills and suggest using features only up to ES2019 for browser compatibility (#15772) 2020-08-04 06:03:52 +00:00
babel-custom Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
basepath Fix basePath and public folder check ending routes early (#16356) 2020-08-19 17:30:33 +00:00
basepath-root-catch-all Fix data URL with root-catchall and basePath (#16263) 2020-08-17 15:25:36 +00:00
basic Auto enable React's new JSX transform on 17.x (#16603) 2020-09-01 11:29:25 -04:00
bigint Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
broken-webpack-plugin Fix hot reloader edge case with broken webpack plugins (#15659) 2020-07-29 23:44:25 -04:00
build-indicator Stabilize more tests (#15470) 2020-07-26 04:57:06 +00:00
build-output Add handling for redirects from getStaticProps/getServerSideProps (#16642) 2020-09-08 09:23:21 +02:00
build-warnings Fix: UnhandledPromiseRejectionWarning when unknown flag provided for cli commands (#15422) 2020-07-28 12:12:57 +02: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 Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
cli Warn on duplicate Sass deps (#16398) 2020-08-20 16:05:29 +00:00
client-404 Make loadPage track success of script loading (#16334) 2020-08-19 11:41:01 +00:00
client-navigation notify component when route hash changes (#13894) 2020-08-06 22:04:47 +00:00
client-shallow-routing Correct shallow routing behavior through history (#16477) 2020-08-22 21:51:14 +00:00
compression Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
config Simplify test checks (#14094) 2020-06-11 19:02:53 +00:00
config-devtool-dev Warn/revert custom devtool in development mode (#14285) 2020-06-24 04:15:57 +00:00
config-empty [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
config-experimental-warning [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
config-promise-error Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
config-resolve-alias Update filename generation for client-side compilation (#14279) 2020-06-20 19:59:47 +00:00
conflicting-public-file-page Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
conformance Make sure the correct chunk names are used in webpack 5 (#15204) 2020-07-15 19:33:41 -04:00
create-next-app CNA: Add warning about permission (#14889) 2020-08-19 17:09:34 +00:00
css/test Replace <link rel=stylesheet> client-side transitions with <style> tags (#16581) 2020-08-26 16:34:53 +00:00
css-client-nav/test Replace <link rel=stylesheet> client-side transitions with <style> tags (#16581) 2020-08-26 16:34:53 +00:00
css-customization/test Upgrade cssnano-simple dependency (#15488) 2020-07-26 23:56:36 -04:00
css-features Upgrade cssnano-simple dependency (#15488) 2020-07-26 23:56:36 -04:00
css-fixtures Test basic css module prefetching without compose (#16134) 2020-08-18 01:12:34 -04:00
css-modules/test Do not bundle caniuse-lite (#16048) 2020-08-10 11:27:21 -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 Correct client rewrite resolving with query (#16860) 2020-09-04 19:19:17 +00:00
custom-routes-catchall De-experimentalize custom-routes (#14602) 2020-06-27 09:18:18 +00: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
data-fetching-errors Render a helpful message for null GS(S)P return (#14252) 2020-06-17 09:25:27 +00:00
dedupes-scripts Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
development-runtime-config fixed issue with runtime-config returning undefined when building or in a development environment (#15777) 2020-08-04 16:47:37 +00:00
disable-js Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
dist-dir Fix app-document-import-order test for webpack 5 (#15224) 2020-07-17 10:38:06 +02:00
document-head-warnings Add warning when viewport meta tag is added to _document.js (#13452) 2020-07-07 01:43:16 -04:00
duplicate-pages [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
dynamic-optional-routing Fix asPath normalizing for non-dynamic pages (#15960) 2020-08-07 09:01:34 +02:00
dynamic-optional-routing-root-fallback Correctly fetch data for root route (#15149) 2020-07-14 18:58:02 +00:00
dynamic-optional-routing-root-static-paths Fix root route optional catch-all prerendering (#14986) 2020-07-09 04:21:49 +00: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 Include additional query values when interpolating href (#16878) 2020-09-07 13:09:02 +02:00
empty-object-getInitialProps Stabilize another test (#15697) 2020-07-31 03:22:32 +00:00
empty-project Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
env-config Fix dotenv loading with cascading values (#15799) 2020-08-02 20:15:11 +00:00
error-in-error Stabilize more tests (#15470) 2020-07-26 04:57:06 +00:00
error-load-fail Update filename generation for client-side compilation (#14279) 2020-06-20 19:59:47 +00:00
errors-on-output-to-public Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02: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 support for fallback: 'blocking' (#15672) 2020-08-04 15:10:31 +00:00
export-intent Update to reject when test command fails (#13722) 2020-06-09 18:28:15 +00:00
export-override-404 Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
export-serverless [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02: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 Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
fallback-route-params Correct initial fallback route param values (#16485) 2020-08-23 12:35:30 +00: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 Fix typo in test names: "treversing" → "traversing" (#14347) 2020-06-19 01:05:09 +00:00
filesystempublicroutes Update filename generation for client-side compilation (#14279) 2020-06-20 19:59:47 +00:00
firebase-grpc Add eslint-plugin-jest (#13003) 2020-05-18 13:16:07 -04:00
font-optimization Increase font test timeout for Windows (#16527) 2020-08-25 10:41:34 -04:00
future Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
getserversideprops Update routeKeys to handle non-word characters (#12801) 2020-06-16 13:49:13 +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
gssp-redirect Add handling for redirects from getStaticProps/getServerSideProps (#16642) 2020-09-08 09:23:21 +02:00
gssp-ssr-change-reloading Correct page path for GS(S)P data refreshing (#16939) 2020-09-08 16:00:05 +00:00
handle-non-page-in-pages Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
handles-export-errors Add failing paths to export error summary (#10026) 2020-05-26 19:50:25 +00:00
hydration Add no-anon-default-export Babel lint rule (#14519) 2020-06-30 13:05:29 +00:00
image-optimization Make the image post-processor ignore SVG images (#16732) 2020-09-02 02:42:20 +00:00
index-index Fix pages/index.js and pages/index/index.js behavior (#13699) 2020-06-04 17:32:45 +00: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 Disallow basePath: false for internal routes (#15837) 2020-08-04 17:50:09 +00:00
invalid-href remove unneeded error (#16636) 2020-08-28 02:49:40 +00:00
invalid-multi-match De-experimentalize custom-routes (#14602) 2020-06-27 09:18:18 +00:00
invalid-page-automatic-static-optimization Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
invalid-server-options Detailed error and warnings upon next() call (#13539) 2020-06-03 03:19:29 +00:00
jsconfig [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
jsconfig-baseurl Enhance module not found error (#15860) 2020-08-05 19:11:35 +00:00
jsconfig-empty An empty jsconfig.json should not fail the build (#13051) 2020-05-18 12:31:15 -04:00
jsconfig-paths Enhance module not found error (#15860) 2020-08-05 19:11:35 +00:00
legacy-pkg-gently Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
legacy-sass Bring over fixes from #15185 (#15326) 2020-07-20 11:14:02 -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
link-with-encoding Add test for query param bug #15233 (#15238) 2020-07-16 22:47:46 +00:00
missing-document-component-error Add error when document component isn't rendered (#16459) 2020-08-24 02:42:51 +00:00
mixed-ssg-serverprops-error Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
modern-mode Bring over fixes from #15185 (#15326) 2020-07-20 11:14:02 -04:00
next-dynamic Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
next-plugins Clean up render.tsx options (#13759) 2020-06-06 23:00:03 +00:00
no-anon-default-export [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
no-duplicate-compile-error [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
no-override-next-props Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
no-page-props Add additional pageProps check (#15667) 2020-07-30 04:47:20 +00:00
non-next-dist-exclude Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
non-standard-node-env-warning [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
nullish-config Ignore nullish user configs (#10250) 2020-05-22 16:46:36 +00:00
numeric-sep Auto enable React's new JSX transform on 17.x (#16603) 2020-09-01 11:29:25 -04:00
ondemand Use entry option instead of custom make hook (#14527) 2020-06-26 04:26:09 +00:00
optional-chaining-nullish-coalescing Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
page-config Fix invalid config export errors (#16834) 2020-09-04 13:19:12 +00: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 Update filename generation for client-side compilation (#14279) 2020-06-20 19:59:47 +00:00
prerender Ensure unknown static paths 404 for data request (#16401) 2020-08-20 17:59:03 +00:00
prerender-fallback-aspath Normalize request URL/asPath for fallback SSG pages (#16352) 2020-08-19 15:23:02 +00: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 Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00:00
prerender-preview Attach previewData to API Route request (#13373) 2020-07-06 23:41:16 -04:00
preview-fallback Add tests for preview mode caching (#16579) 2020-08-26 11:07:32 +00:00
process-env-stub Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
production Store css file dependencies info for dynamic imports and apply it at SSR (#12843) 2020-08-24 05:20:11 +00: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 Remove refs to old css experiment (#13673) 2020-06-02 16:57:35 +00:00
production-nav Fix un-transpiled client file with rewrites (#16453) 2020-08-21 19:11:25 +00:00
profiling Bring over fixes from #15185 (#15326) 2020-07-20 11:14:02 -04:00
query-with-encoding Stabilize more tests (#15470) 2020-07-26 04:57:06 +00:00
re-export-all-exports-from-page-disallowed Disallow re-export all exports from Next.js pages (#14325) 2020-08-05 16:21:40 -04:00
react-profiling-mode Convert profiling mode from configuration option to CLI switch (#14920) 2020-07-09 11:39:12 +00: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
rewrites-client-resolving Make sure to break rewrites chain when dynamic route matches (#16455) 2020-08-22 05:15:45 +00:00
root-optional-revalidate Fix optional catch-all /index revalidate params (#16451) 2020-08-21 18:13:24 +00:00
route-index Fix pages/index.js and pages/index/index.js behavior (#13699) 2020-06-04 17:32:45 +00:00
route-indexes Fix pages/index.js and pages/index/index.js behavior (#13699) 2020-06-04 17:32:45 +00:00
route-load-cancel Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00
route-load-cancel-css Fix render cancel behavior (#16462) 2020-08-22 11:47:21 +00:00
router-prefetch Always resolve after router.prefetch() (#15448) 2020-07-25 04:36:43 +00:00
scroll-back-restoration Stabilize more tests (#15470) 2020-07-26 04:57:06 +00:00
scroll-forward-restoration Re-enable scroll restoration behind flag (#14046) 2020-07-06 14:27:45 +00:00
scss/test Upgrade cssnano-simple dependency (#15488) 2020-07-26 23:56:36 -04:00
scss-fixtures Update references to zeit/next.js (#13463) 2020-05-27 17:51:11 -04:00
scss-modules/test Do not bundle caniuse-lite (#16048) 2020-08-10 11:27:21 -04:00
serverless Normalize trailing slashes (#13333) 2020-06-23 13:38:49 +02:00
serverless-runtime-configs Stabilize more tests (#15470) 2020-07-26 04:57:06 +00:00
serverless-trace Normalize trailing slashes (#13333) 2020-06-23 13:38:49 +02:00
size-limit Add handling for redirects from getStaticProps/getServerSideProps (#16642) 2020-09-08 09:23:21 +02: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-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 Remove buildId from server-side files (#14413) 2020-06-22 21:12:36 +00: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 Update filename generation for client-side compilation (#14279) 2020-06-20 19:59:47 +00:00
trailing-slashes Simplify trailing slash regex (#15335) 2020-07-20 14:24:43 -04:00
trailing-slashes-href-resolving Fix href resolving with trailing slash enabled (#16873) 2020-09-06 02:36:57 +00:00
trailing-slashes-rewrite Fix page checking failing with trailingSlash (#16362) 2020-08-20 04:05:38 +00:00
tsconfig-verifier Drop module: esnext requirement in tsconfig.json (#15276) 2020-07-18 19:37:13 +00:00
typeof-window-replace Use chunkhash instead of buildId for pages (#13937) 2020-06-11 10:57:24 +02:00
typescript Stabilize revalidate (#15338) 2020-07-20 14:23:51 -04:00
typescript-baseurl Use the jest-circus test runner (#12974) 2020-05-16 16:56:06 -04:00
typescript-hmr Speedup tests (#13461) 2020-05-29 07:57:51 +00:00
typescript-ignore-errors Bring over fixes from #15185 (#15326) 2020-07-20 11:14:02 -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
typescript-workspaces-paths improves baseUrl resolution in typescript monorepos (#13542) 2020-07-28 12:00:27 +02:00
webpack-config-mainjs Add test for main.js in webpack.config.js (#15311) 2020-07-20 02:16:50 +00:00
with-router Speedup tests (#13461) 2020-05-29 07:57:51 +00:00
worker-loader Bring over fixes from #15185 (#15326) 2020-07-20 11:14:02 -04:00
test-file.txt Add additional file serving tests (#12479) 2020-05-04 11:58:19 -05:00