Skip to content

Commit 62f2b7c

Browse files
authored
chore: bump next.js canary in monorepo (#15900)
Bumping the Next.js canary from 16.2.0-canary.54 to 16.2.0-canary.90. This ensures there that we're still fully compatible with the latest canary.
1 parent 6a9e367 commit 62f2b7c

7 files changed

Lines changed: 1856 additions & 2042 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158
"devDependencies": {
159159
"@axe-core/playwright": "4.11.0",
160160
"@libsql/client": "0.14.0",
161-
"@next/bundle-analyzer": "16.2.0-canary.54",
161+
"@next/bundle-analyzer": "16.2.0-canary.90",
162162
"@payloadcms/db-postgres": "workspace:*",
163163
"@payloadcms/eslint-config": "workspace:*",
164164
"@payloadcms/eslint-plugin": "workspace:*",
@@ -195,7 +195,7 @@
195195
"lint-staged": "15.2.7",
196196
"minimist": "1.2.8",
197197
"mongoose": "8.15.1",
198-
"next": "16.2.0-canary.54",
198+
"next": "16.2.0-canary.90",
199199
"node-gyp": "12.2.0",
200200
"open": "^10.1.0",
201201
"p-limit": "^5.0.0",

packages/next/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@
131131
"@babel/preset-env": "7.27.2",
132132
"@babel/preset-react": "7.27.1",
133133
"@babel/preset-typescript": "7.27.1",
134-
"@next/eslint-plugin-next": "16.2.0-canary.54",
134+
"@next/eslint-plugin-next": "16.2.0-canary.90",
135135
"@payloadcms/eslint-config": "workspace:*",
136136
"@types/busboy": "1.5.4",
137137
"@types/react": "19.2.9",

pnpm-lock.yaml

Lines changed: 1838 additions & 2027 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/admin/e2e/list-view/e2e.spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1675,6 +1675,9 @@ describe('List View', () => {
16751675

16761676
test('should sort', async () => {
16771677
await page.reload()
1678+
// Wait for page load
1679+
await expect(page.locator('.step-nav__last', { hasText: 'Posts' })).toBeVisible()
1680+
16781681
await expect(page.locator(tableRowLocator)).toHaveCount(2)
16791682

16801683
await sortColumn(page, { fieldPath: 'number', targetState: 'asc' })

test/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"@miniflare/d1": "2.14.4",
3333
"@miniflare/shared": "2.14.4",
3434
"@modelcontextprotocol/sdk": "^1.17.2",
35-
"@next/env": "16.2.0-canary.54",
35+
"@next/env": "16.2.0-canary.90",
3636
"@opennextjs/cloudflare": "1.16.1",
3737
"@payloadcms/admin-bar": "workspace:*",
3838
"@payloadcms/db-d1-sqlite": "workspace:*",
@@ -97,7 +97,7 @@
9797
"http-status": "2.1.0",
9898
"jwt-decode": "4.0.0",
9999
"mongoose": "8.15.1",
100-
"next": "16.2.0-canary.54",
100+
"next": "16.2.0-canary.90",
101101
"nodemailer": "7.0.12",
102102
"object-to-formdata": "4.5.1",
103103
"payload": "workspace:*",

test/plugin-form-builder/e2e.spec.ts

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,17 @@ test.describe('Form Builder Plugin', () => {
2525
let submissionsUrl: AdminUrlUtil
2626
let payload: PayloadTestSDK<Config>
2727

28+
let serverURL: string
2829
test.beforeAll(async ({ browser }, testInfo) => {
2930
testInfo.setTimeout(TEST_TIMEOUT_LONG)
30-
const { payload: payloadFromInit, serverURL } = await initPayloadE2ENoConfig<Config>({
31-
dirname,
32-
})
31+
const { payload: payloadFromInit, serverURL: serverURLFromInit } =
32+
await initPayloadE2ENoConfig<Config>({
33+
dirname,
34+
})
35+
serverURL = serverURLFromInit
36+
3337
formsUrl = new AdminUrlUtil(serverURL, 'forms')
3438
submissionsUrl = new AdminUrlUtil(serverURL, 'form-submissions')
35-
3639
payload = payloadFromInit
3740

3841
const context = await browser.newContext()
@@ -48,12 +51,8 @@ test.describe('Form Builder Plugin', () => {
4851

4952
const titleCell = page.locator('.row-2 .cell-title a')
5053
await expect(titleCell).toHaveText('Contact Form')
51-
const href = await titleCell.getAttribute('href')
52-
53-
await titleCell.click()
54-
await expect(() => expect(page.url()).toContain(href)).toPass({
55-
timeout: POLL_TOPASS_TIMEOUT,
56-
})
54+
const linkURL = await titleCell.getAttribute('href')
55+
await page.goto(`${serverURL}${linkURL}`)
5756

5857
const nameField = page.locator('#field-fields__0__name')
5958
await expect(nameField).toHaveValue('name')

test/plugin-import-export/e2e.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ test.describe('Import Export Plugin', () => {
133133
test('should inherit limit from list view URL', async () => {
134134
await page.goto(postsURL.list)
135135
await expect(page.locator('.collection-list')).toBeVisible()
136+
await expect(page.locator('body')).not.toContainText('Loading...')
136137

137138
// Change per-page to 25
138139
const perPageButton = page.locator('.per-page .popup-button')

0 commit comments

Comments
 (0)