mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
d866a37260
commit
90537f0637
2 files changed
+9
-8
No files matched your search
@@ -3,14 +3,15 @@ import * as util from "../helpers/utils"
|
||||
|
||||
describe("app start", () => {
|
||||
let app: Application
|
||||
beforeEach(() => {
|
||||
beforeEach(async () => {
|
||||
app = util.setup()
|
||||
return app.start()
|
||||
await app.start()
|
||||
const windowCount = await app.client.getWindowCount()
|
||||
await app.client.windowByIndex(windowCount - 1)
|
||||
await app.client.waitUntilWindowLoaded()
|
||||
}, 20000)
|
||||
|
||||
it('starts with whats new flow', async () => {
|
||||
await app.client.windowByIndex(1)
|
||||
await app.client.waitUntilWindowLoaded()
|
||||
await app.client.waitUntilTextExists("h1", "What's new")
|
||||
await app.client.click("button.btn-primary")
|
||||
await app.client.waitUntilTextExists("h1", "Welcome")
|
||||
|
||||
Reference in new issue
Block a user