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