mirror of
https://github.com/usememos/memos.git
synced 2024-12-24 11:44:44 +03:00
81d4f01b7f
* add i18n * add base e2e test * add multiple test for e2e * extract the funciton of write memo * change test sturct * deteled unused dir * use fixture * add fixture * restruced the project * feat: add workflow * feat: change playwright test position * feat: change playwright test position * using yarn intead of npm * change install method * only enable sign in test * adjust the order of test * change report pos * fix style of e2e workflow * add review test * unify locale * randome write content * change report pos * reduce unused wait time * reduce unused folder * stash * merge upstream locale * change test name * add test item * change action name * add lanuage setting * add shotscreen * change name of test * fix the error of import dep * fix the error of import dep * fix the error of filename * fix the format of workflow * fix the name error of test case * feat: change the describe of test case * feat: remove unused test * feat: change the fixtures name * feat: remove unused config * feat: change docker action * feat: change the generate method * feat: extrace screenshot * feat: change extra path * feat: change extra path * feat: screenshot and upload * feat: change upload filename * feat: change login method * feat: change e2e method * feat: change e2e test * feat: add wait for login --------- Co-authored-by: CorrectRoadH <a778917369@gmail.comå>
14 lines
288 B
TypeScript
14 lines
288 B
TypeScript
import { test } from "@playwright/test";
|
|
import { signUp } from "./utils";
|
|
|
|
test.use({
|
|
locale: "en-US",
|
|
timezoneId: "Europe/Berlin",
|
|
});
|
|
|
|
test.describe("Sign up a host account", async () => {
|
|
test("Sign Up", async ({ page }) => {
|
|
await signUp(page, "admin", "admin");
|
|
});
|
|
});
|