mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-09-07 18:02:42 +00:00
22 lines
365 B
JavaScript
22 lines
365 B
JavaScript
![]() |
beforeAll(() => {
|
||
|
|
||
|
});
|
||
|
|
||
|
afterAll(() => {
|
||
|
return console.log("Cleanup");
|
||
|
});
|
||
|
|
||
|
describe("Very Simple Test", () => {
|
||
|
|
||
|
const title = "Uptime Kuma";
|
||
|
|
||
|
beforeAll(async () => {
|
||
|
await page.goto("http://127.0.0.1:3002");
|
||
|
});
|
||
|
|
||
|
it(`should be titled "${title}"`, async () => {
|
||
|
await expect(page.title()).resolves.toMatch(title);
|
||
|
});
|
||
|
});
|
||
|
|