LouisLam
3 years ago
7 changed files with 11122 additions and 4902 deletions
@ -0,0 +1,5 @@ |
|||||
|
module.exports = { |
||||
|
"launch": { |
||||
|
"headless": false |
||||
|
} |
||||
|
}; |
File diff suppressed because it is too large
@ -0,0 +1,21 @@ |
|||||
|
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); |
||||
|
}); |
||||
|
}); |
||||
|
|
Loading…
Reference in new issue