1
0
forked from baron/baron-sso

test(adminfront): fix flaky tests caused by missing dynamic loginId field and greedy URL mocks

This commit is contained in:
2026-04-03 11:43:16 +09:00
parent 692670a081
commit 02a52fdb38
2 changed files with 16 additions and 16 deletions

View File

@@ -90,7 +90,7 @@ test.describe("User Schema Dynamic Form", () => {
});
}
if (url.includes("/admin/users/u-1")) {
if (url.match(/\/admin\/users\/u-1$/)) {
console.log("Mocking /admin/users/u-1");
return route.fulfill({
json: {