fix(core): share page show 404 (#9083)

This commit is contained in:
EYHN committed 2024-12-10 07:43:31 +00:00
1 parent ffad1155ff
commit 18d65dff0e
2 files changed
+16

No files matched your search

+10
View File
@@ -340,3 +340,13 @@ test('The reference links in the shared page should be accessible normally and c
);
}
});
test('Should show no permission page when the share page is not found', async ({
page,
}) => {
await page.goto('http://localhost:8080/workspace/abc/123');
await expect(
page.getByText('You do not have access or this content does not exist.')
).toBeVisible();
});