chore: perform several small frontend permissions refactors (#16735)

This commit is contained in:
ケイラ
2025-03-07 10:33:09 -07:00
committed by GitHub
parent 54745b1d3f
commit 092c129de0
57 changed files with 158 additions and 174 deletions
+3 -3
View File
@@ -16,8 +16,8 @@ test("setup deployment", async ({ page }) => {
}
// Setup first user
await page.getByLabel(Language.emailLabel).fill(users.admin.email);
await page.getByLabel(Language.passwordLabel).fill(users.admin.password);
await page.getByLabel(Language.emailLabel).fill(users.owner.email);
await page.getByLabel(Language.passwordLabel).fill(users.owner.password);
await page.getByTestId("create").click();
await expectUrl(page).toHavePathName("/workspaces");
@@ -25,7 +25,7 @@ test("setup deployment", async ({ page }) => {
for (const user of Object.values(users)) {
// Already created as first user
if (user.username === "admin") {
if (user.username === "owner") {
continue;
}