1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

integration test fixes

Signed-off-by: Jari Kolehmainen <jkolehmainen@mirantis.com>
This commit is contained in:
Jari Kolehmainen 2020-06-29 17:34:26 +00:00
parent 3b33ea853b
commit e809141c6a
2 changed files with 3 additions and 3 deletions

View File

@ -128,6 +128,7 @@ jobs:
sudo apt-get install libgconf-2-4 conntrack -y
curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
sudo install minikube-linux-amd64 /usr/local/bin/minikube
export CHANGE_MINIKUBE_NONE_USER=true
sudo minikube start --driver=none
displayName: Install integration test dependencies
- script: xvfb-run --auto-servernum --server-args='-screen 0, 1600x900x24' make integration-linux

View File

@ -40,7 +40,6 @@ describe("app start", () => {
let windowCount = await app.client.getWindowCount()
while (windowCount > 1) {
windowCount = await app.client.getWindowCount()
console.log(windowCount)
}
await app.client.windowByIndex(windowCount - 1)
await app.client.waitUntilWindowLoaded()
@ -51,7 +50,7 @@ describe("app start", () => {
})
it('allows to add a cluster', async () => {
const status = spawnSync("minikube status || sudo minikube status", {shell: true})
const status = spawnSync("minikube status", {shell: true})
if (status.status !== 0) {
console.warn("minikube not running, skipping test")
return
@ -64,7 +63,7 @@ describe("app start", () => {
})
it('allows to create a pod', async () => {
const status = spawnSync("minikube status || sudo minikube status", {shell: true})
const status = spawnSync("minikube status", {shell: true})
if (status.status !== 0) {
console.warn("minikube not running, skipping test")
return