mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-01-18 10:28:05 +00:00
[test] github action please ok🙏🏻🙏🏻🙏🏻
This commit is contained in:
parent
34586d7b8f
commit
3c60800eab
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue