feat!: bump next canary to 104 and update withPayload for new config (#7541)
We are now bumping up the Next canary version to `15.0.0-canary.104` and `react` and `react-dom` to `^19.0.0-rc-06d0b89e-20240801`. Your new dependencies should look like this: ``` "next": "15.0.0-canary.104", "react": "^19.0.0-rc-06d0b89e-20240801", "react-dom": "^19.0.0-rc-06d0b89e-20240801", ``` --------- Co-authored-by: Alessio Gravili <alessio@gravili.de>
This commit is contained in:
@@ -172,8 +172,16 @@ describe('access control', () => {
|
||||
})
|
||||
|
||||
test('should not have list url', async () => {
|
||||
const errors = []
|
||||
|
||||
page.on('console', (exception) => {
|
||||
errors.push(exception)
|
||||
})
|
||||
|
||||
await page.goto(restrictedUrl.list)
|
||||
await expect(page.locator('.not-found')).toBeVisible()
|
||||
|
||||
// eslint-disable-next-line payload/no-flaky-assertions
|
||||
expect(errors).not.toHaveLength(0)
|
||||
})
|
||||
|
||||
test('should not have create url', async () => {
|
||||
|
||||
Reference in New Issue
Block a user