mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-07-25 01:15:26 +10:00
[autofix.ci] apply automated fixes
This commit is contained in:
@@ -32,7 +32,7 @@ export async function logoutViaUi(page: Page, account: E2EAccount) {
|
|||||||
await page.goto("/auth/login");
|
await page.goto("/auth/login");
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function registerViaApi(request: APIRequestContext, account: E2EAccount, baseURL: string) {
|
async function registerViaApi(request: APIRequestContext, account: E2EAccount, baseURL: string) {
|
||||||
const response = await request.post("/api/auth/sign-up/email", {
|
const response = await request.post("/api/auth/sign-up/email", {
|
||||||
headers: {
|
headers: {
|
||||||
origin: baseURL,
|
origin: baseURL,
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ export type E2EAccount = {
|
|||||||
password: string;
|
password: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
export function createRunSlug(testInfo: TestInfo) {
|
function createRunSlug(testInfo: TestInfo) {
|
||||||
const worker = testInfo.workerIndex;
|
const worker = testInfo.workerIndex;
|
||||||
const title = sanitize(testInfo.titlePath.join("-")).slice(0, 32);
|
const title = sanitize(testInfo.titlePath.join("-")).slice(0, 32);
|
||||||
const suffix = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
const suffix = `${Date.now().toString(36)}-${Math.random().toString(36).slice(2, 8)}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user