mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Auto select one and only cluster from pasted config (#888)
* Auto select one and only cluster from pasted config - Disable add button with tooltip if no clusters are selected - Add functionality to tooltip to display correctly over disabled elements * feature should work of any method of adding kube config Signed-off-by: Sebastian Malton <sebastian@malton.name> Co-authored-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
1 parent
c82b54d5d7
commit
7f6ae6e8c3
5 files changed
+39
-19
No files matched your search
@@ -17,10 +17,6 @@ describe("app start", () => {
|
||||
const addMinikubeCluster = async (app: Application) => {
|
||||
await app.client.click("div.add-cluster")
|
||||
await app.client.waitUntilTextExists("div", "Select kubeconfig file")
|
||||
await app.client.click("div.Select__control")
|
||||
await app.client.waitUntilTextExists("div", "minikube")
|
||||
await app.client.click("div.minikube")
|
||||
await app.client.click("div.Select__control")
|
||||
await app.client.click("button.primary")
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user