rsnext/test/e2e/app-dir
Tim Neutkens f3daa1c364
Add missing isRootLayout when creating optimistic tree (#45899)
Fixes #45750
Closes #45822 
Fixes NEXT-514

Ensures rootlayout marker is copied into the optimistic tree.

<!--
Thanks for opening a PR! Your contribution is much appreciated.
To make sure your PR is handled as smoothly as possible we request that
you follow the checklist sections below.
Choose the right checklist for the change(s) that you're making:
-->

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/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`
- [ ]
[e2e](https://github.com/vercel/next.js/blob/canary/contributing/core/testing.md#writing-tests-for-nextjs)
tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)

## Documentation / Examples

- [ ] Make sure the linting passes by running `pnpm build && pnpm lint`
- [ ] The "examples guidelines" are followed from [our contributing
doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
2023-02-14 14:06:58 +01:00
..
app Add tests for parallel routes / interception and handle router state patch merging client-side (#45615) 2023-02-13 16:12:44 +01:00
app-alias Add experimental route type checking (#45761) 2023-02-11 15:06:39 +00:00
app-basepath Prefix basePath in navigate and prefix methods in app router (#45771) 2023-02-10 13:01:00 +00:00
app-css Move CSS tests out of the main test suite (#45765) 2023-02-09 23:22:53 +01:00
app-edge Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
app-edge-global Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-external Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-middleware Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
app-prefetch Add missing isRootLayout when creating optimistic tree (#45899) 2023-02-14 14:06:58 +01:00
app-rendering Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
app-static Update error message for dynamic = "error" (#45432) 2023-02-01 11:20:35 +00:00
asset-prefix Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
async-component-preload Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
autoscroll-with-css-modules Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
back-button-download-bug Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
create-next-app-template Optimize bundle size for appDir (#42252) 2022-10-31 17:50:35 +00:00
create-root-layout Add project directory rename/remove handling (#44911) 2023-01-18 14:37:40 -08:00
dynamic Separate next/dynamic implementation for app and pages (#45565) 2023-02-04 01:45:35 +00:00
dynamic-href Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
global-error Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
head Add warning for head.js with metadata docs link (#45680) 2023-02-07 17:02:40 -08:00
hooks Separate navigation and hooks tests into new test suites (#45766) 2023-02-10 00:38:39 +00:00
import Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
interpolability-with-pages Update test env for E2E deploy mode (#44937) 2023-01-16 15:39:54 -08:00
layout-params Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
mdx Add additional tests for @next/mdx (#45585)Co-authored-by: Shu Ding <g@shud.in> 2023-02-11 13:37:00 +01:00
metadata Static og and twitter image files as metadata (#45797) 2023-02-13 13:57:55 +00:00
navigation Add status code to app-render redirect response (#45846) 2023-02-13 14:12:16 +01:00
next-font Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
next-image Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00
parallel-routes-and-interception Add tests for parallel routes / interception and handle router state patch merging client-side (#45615) 2023-02-13 16:12:44 +01:00
rewrites-redirects Update test env for E2E deploy mode (#44937) 2023-01-16 15:39:54 -08:00
root-layout Test navigation between multiple root layouts (#43762) 2023-01-05 13:27:29 +01:00
router-autoscroll Fix issue where layout-router wouldn't auto-scroll if we imported styles or fonts (#45487) 2023-02-07 12:03:18 +00:00
rsc-basic Revert "Revert "Revert "Revert "Initial support for metadata (#44729)"" (#45113)"" (#45196) 2023-01-24 13:21:59 +00:00
test-template/{{ toFileName name }} Add additional tests for @next/mdx (#45585)Co-authored-by: Shu Ding <g@shud.in> 2023-02-11 13:37:00 +01:00
trailingslash Change NextInstance.fetch Signature (#44575) 2023-01-05 16:31:03 +01:00
use-selected-layout-segment-s Update test env variable passing (#44912) 2023-01-15 23:20:16 -08:00
with-babel Move tests into their test folder (#44183) 2022-12-21 14:16:52 +01:00