mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-20 23:13:23 +10:00
📝 CodeRabbit Chat: Simplify code
This commit is contained in:
committed by
GitHub
parent
0d10a1dc1e
commit
d55fdb85bf
@@ -29,7 +29,7 @@ export async function loginViaUi(page: Page, account: E2EAccount) {
|
||||
export async function logoutViaUi(page: Page, account: E2EAccount) {
|
||||
await page.getByText(account.email).click();
|
||||
await page.getByRole("menuitem", { name: "Logout" }).click();
|
||||
await page.goto("/auth/login");
|
||||
await page.waitForURL(/\/auth\/login/);
|
||||
}
|
||||
|
||||
async function registerViaApi(request: APIRequestContext, account: E2EAccount, baseURL: string) {
|
||||
|
||||
Reference in New Issue
Block a user