mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
linux fix
Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
parent
d866a37260
commit
90537f0637
@ -121,10 +121,10 @@ jobs:
|
|||||||
displayName: Lint
|
displayName: Lint
|
||||||
- script: make test
|
- script: make test
|
||||||
displayName: Run tests
|
displayName: Run tests
|
||||||
# - script: sudo apt-get update && sudo apt-get install libgconf-2-4 -y
|
- script: sudo apt-get update && sudo apt-get install libgconf-2-4 -y
|
||||||
# displayName: Install integration test dependencies
|
displayName: Install integration test dependencies
|
||||||
# - script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
|
- script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux
|
||||||
# displayName: Run integration tests
|
displayName: Run integration tests
|
||||||
- bash: |
|
- bash: |
|
||||||
sudo chown root:root /
|
sudo chown root:root /
|
||||||
sudo apt-get update && sudo apt-get install -y snapd
|
sudo apt-get update && sudo apt-get install -y snapd
|
||||||
|
|||||||
@ -3,14 +3,15 @@ import * as util from "../helpers/utils"
|
|||||||
|
|
||||||
describe("app start", () => {
|
describe("app start", () => {
|
||||||
let app: Application
|
let app: Application
|
||||||
beforeEach(() => {
|
beforeEach(async () => {
|
||||||
app = util.setup()
|
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)
|
}, 20000)
|
||||||
|
|
||||||
it('starts with whats new flow', async () => {
|
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.waitUntilTextExists("h1", "What's new")
|
||||||
await app.client.click("button.btn-primary")
|
await app.client.click("button.btn-primary")
|
||||||
await app.client.waitUntilTextExists("h1", "Welcome")
|
await app.client.waitUntilTextExists("h1", "Welcome")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user