mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Waiting for menu to be opened
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
6a92372f50
commit
41797856cd
@ -136,6 +136,7 @@ describe("Lens integration tests", () => {
|
||||
|
||||
it('adds cluster in test-workspace', async () => {
|
||||
await app.client.click('#current-workspace .Icon');
|
||||
await app.client.waitForVisible('.WorkspaceMenu li[title="test description"]');
|
||||
await app.client.click('.WorkspaceMenu li[title="test description"]');
|
||||
await addMinikubeCluster(app);
|
||||
await app.client.waitUntilTextExists("pre.kube-auth-out", "Authentication proxy started");
|
||||
@ -144,6 +145,7 @@ describe("Lens integration tests", () => {
|
||||
|
||||
it('checks if default workspace has active cluster', async () => {
|
||||
await app.client.click('#current-workspace .Icon');
|
||||
await app.client.waitForVisible('.WorkspaceMenu > li:first-of-type');
|
||||
await app.client.click('.WorkspaceMenu > li:first-of-type');
|
||||
await app.client.waitForVisible(".ClustersMenu .ClusterIcon.active");
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user