Make prettier happy with personal-info.spec.ts
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
This commit is contained in:
parent
5b8f4d3922
commit
ac561f2d8b
1 changed files with 7 additions and 7 deletions
|
@ -16,7 +16,10 @@ const realm = "user-profile";
|
|||
test.describe("Personal info page", () => {
|
||||
const user = "user-" + randomUUID();
|
||||
|
||||
test.beforeAll(async () => await inRealm(realm, () => createRandomUserWithPassword(user, "pwd")));
|
||||
test.beforeAll(
|
||||
async () =>
|
||||
await inRealm(realm, () => createRandomUserWithPassword(user, "pwd")),
|
||||
);
|
||||
test.afterAll(async () => await inRealm(realm, () => deleteUser(user)));
|
||||
|
||||
test("sets basic information", async ({ page }) => {
|
||||
|
@ -116,14 +119,11 @@ test.describe("Personal info with userprofile enabled", () => {
|
|||
});
|
||||
|
||||
test.describe("Realm localization", () => {
|
||||
|
||||
test.beforeAll(() => enableLocalization());
|
||||
|
||||
test("change locale", async ({ page }) => {
|
||||
let user = await inRealm(realm, () => createRandomUserWithPassword(
|
||||
"user-" + randomUUID(),
|
||||
"pwd",
|
||||
));
|
||||
const user = await inRealm(realm, () =>
|
||||
createRandomUserWithPassword("user-" + randomUUID(), "pwd"),
|
||||
);
|
||||
|
||||
await login(page, user, "pwd", realm);
|
||||
await page.locator("#locale").click();
|
||||
|
|
Loading…
Reference in a new issue