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

Adding extra click in Add Cluster button

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2020-11-20 11:07:13 +03:00
parent c072654325
commit d269032553

View File

@ -145,6 +145,7 @@ describe("Lens integration tests", () => {
await app.client.click("div.minikube"); // select minikube context await app.client.click("div.minikube"); // select minikube context
} // else the only context, which must be 'minikube', is automatically selected } // else the only context, which must be 'minikube', is automatically selected
await app.client.click("div.Select__control"); // hide the context drop-down list (it might be obscuring the Add cluster(s) button) await app.client.click("div.Select__control"); // hide the context drop-down list (it might be obscuring the Add cluster(s) button)
await app.client.click("button.primary"); // blur focus from previous select
await app.client.click("button.primary"); // add minikube cluster await app.client.click("button.primary"); // add minikube cluster
}; };