forked from baron/baron-sso
fix(ci): update Node 24 and playwright workers, fix user detail queries on create
This commit is contained in:
@@ -90,10 +90,29 @@ test.describe("User Management", () => {
|
||||
tenantSlug: "test-tenant",
|
||||
role: "user",
|
||||
status: "active",
|
||||
metadata: {},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (url.includes("/password/policy")) {
|
||||
return route.fulfill({
|
||||
json: {
|
||||
minLength: 12,
|
||||
lowercase: true,
|
||||
uppercase: true,
|
||||
number: true,
|
||||
nonAlphanumeric: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
if (url.includes("/rp-history")) {
|
||||
return route.fulfill({
|
||||
json: [],
|
||||
});
|
||||
}
|
||||
|
||||
if (url.includes("/admin/users") && method === "POST") {
|
||||
// Parse request payload to simulate validation checks
|
||||
const postData = route.request().postDataJSON();
|
||||
|
||||
Reference in New Issue
Block a user