Skip to content

Commit 0e9d0c6

Browse files
committed
fix e2e test
1 parent 0a6d839 commit 0e9d0c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/gitbook/e2e/internal.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,7 @@ const testCases: TestsCase[] = [
910910
).toBeVisible();
911911
const url = page.url();
912912
expect(url.includes('shared-space-uno')).toBeTruthy(); // same uno site
913-
expect(url.endsWith('/shared')).toBeTruthy(); // correct page
913+
expect(url.endsWith('/shared/')).toBeTruthy(); // correct page
914914
},
915915
screenshot: false,
916916
},
@@ -930,7 +930,7 @@ const testCases: TestsCase[] = [
930930
).toBeVisible();
931931
const url = page.url();
932932
expect(url.includes('shared-space-dos')).toBeTruthy(); // same dos site
933-
expect(url.endsWith('/shared')).toBeTruthy(); // correct page
933+
expect(url.endsWith('/shared/')).toBeTruthy(); // correct page
934934
},
935935
screenshot: false,
936936
},

0 commit comments

Comments
 (0)