mirror of
https://github.com/GitbookIO/gitbook.git
synced 2026-10-12 16:09:33 +00:00
Update @opennextjs/aws dependency and refine e2e tests (#4587)
This commit is contained in:
@@ -1958,9 +1958,6 @@ const testCases: TestsCase[] = [
|
||||
{
|
||||
name: 'Visitor Auth - Space (oversized token)',
|
||||
contentBaseURL: 'https://gitbook.gitbook.io/gbo-va-space/',
|
||||
// Our Cloudflare stack still folds multiple Set-Cookie headers into one,
|
||||
// breaking chunked cookies (variant of opennextjs-cloudflare#501).
|
||||
skip: process.env.ARGOS_BUILD_NAME === 'v2-cloudflare',
|
||||
tests: [
|
||||
{
|
||||
name: 'Oversized token is chunked into cookies and survives navigation',
|
||||
@@ -2011,7 +2008,9 @@ const testCases: TestsCase[] = [
|
||||
.replace(/\/$/, '');
|
||||
secondURL.pathname = `${basePathname}/second`;
|
||||
secondURL.search = '';
|
||||
await page.goto(secondURL.toString());
|
||||
// Same reason as the harness navigation: third-party subresources on
|
||||
// this site can hang and never fire `load`.
|
||||
await page.goto(secondURL.toString(), { waitUntil: 'domcontentloaded' });
|
||||
await expect(
|
||||
page.getByRole('heading', { level: 1, name: 'second' })
|
||||
).toBeVisible();
|
||||
|
||||
Reference in New Issue
Block a user