mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-12-22 05:55:16 -05:00
[test] github action please ok🙏🏻🙏🏻🙏🏻
This commit is contained in:
parent
34586d7b8f
commit
3c60800eab
@ -162,7 +162,7 @@ describe("Init", () => {
|
|||||||
await click(page, "form > div > .btn[type=submit]", 1);
|
await click(page, "form > div > .btn[type=submit]", 1);
|
||||||
await sleep(4000);
|
await sleep(4000);
|
||||||
|
|
||||||
await click(page, ".btn-danger.btn.me-1");
|
await click(page, ".btn-danger.btn.me-2");
|
||||||
await login("admin", "new_password123");
|
await login("admin", "new_password123");
|
||||||
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
||||||
expect(elementCount).toEqual(1);
|
expect(elementCount).toEqual(1);
|
||||||
@ -181,7 +181,7 @@ describe("Init", () => {
|
|||||||
await click(page, "form > div > .btn[type=submit]", 1);
|
await click(page, "form > div > .btn[type=submit]", 1);
|
||||||
await sleep(4000);
|
await sleep(4000);
|
||||||
|
|
||||||
await click(page, ".btn-danger.btn.me-1");
|
await click(page, ".btn-danger.btn.me-2");
|
||||||
await login("admin", "new_password123");
|
await login("admin", "new_password123");
|
||||||
|
|
||||||
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
let elementCount = await page.evaluate(() => document.querySelectorAll("#floatingPassword").length);
|
||||||
|
Loading…
Reference in New Issue
Block a user