forked from baron/baron-sso
custom claim 타입보정 UI. 대표테넌트 노출 보정
This commit is contained in:
@@ -6,6 +6,7 @@ import {
|
||||
makeClient,
|
||||
seedAuth,
|
||||
} from "./helpers/devfront-fixtures";
|
||||
import { installDevFrontStaticRoutes } from "./helpers/static-devfront";
|
||||
|
||||
function expectClientTabsOrder(pagePath: string, expectedActive: RegExp) {
|
||||
return async ({ page }: { page: Page }) => {
|
||||
@@ -24,9 +25,10 @@ function expectClientTabsOrder(pagePath: string, expectedActive: RegExp) {
|
||||
},
|
||||
auditLogsByCursor: undefined,
|
||||
};
|
||||
await installDevFrontStaticRoutes(page);
|
||||
await installDevApiMock(page, state);
|
||||
|
||||
await page.goto(pagePath);
|
||||
await page.goto(`http://devfront.test${pagePath}`);
|
||||
|
||||
const header = page
|
||||
.locator("header")
|
||||
@@ -38,7 +40,7 @@ function expectClientTabsOrder(pagePath: string, expectedActive: RegExp) {
|
||||
|
||||
await expect(tabs).toHaveText([
|
||||
"연동 설정",
|
||||
"사용자 Claim",
|
||||
"동의 및 Claims",
|
||||
"설정",
|
||||
"관계",
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user