forked from baron/baron-sso
feat: integrate orgfront and expose internal ids
This commit is contained in:
@@ -100,6 +100,16 @@ test.describe("Authentication", () => {
|
||||
);
|
||||
});
|
||||
|
||||
test("should link org chart navigation through the auto login entry", async ({
|
||||
page,
|
||||
}) => {
|
||||
await page.goto("/");
|
||||
await expect(page.getByRole("link", { name: "조직도" })).toHaveAttribute(
|
||||
"href",
|
||||
"http://localhost:5175/login?auto=1&returnTo=%2Fchart",
|
||||
);
|
||||
});
|
||||
|
||||
test("should logout and redirect to login page", async ({ page }) => {
|
||||
await page.goto("/");
|
||||
page.on("dialog", (dialog) => dialog.accept());
|
||||
|
||||
Reference in New Issue
Block a user