mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Split workspace tests to smaller ones
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
71da6141bf
commit
780d25dfe7
@ -82,7 +82,7 @@ describe("Lens integration tests", () => {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
it('switches between workspaces', async () => {
|
it('creates new workspace', async () => {
|
||||||
await clickWhatsNew(app);
|
await clickWhatsNew(app);
|
||||||
await app.client.click('#current-workspace .Icon');
|
await app.client.click('#current-workspace .Icon');
|
||||||
await app.client.click('a[href="/workspaces"]');
|
await app.client.click('a[href="/workspaces"]');
|
||||||
@ -92,6 +92,9 @@ describe("Lens integration tests", () => {
|
|||||||
await app.client.keys("test description");
|
await app.client.keys("test description");
|
||||||
await app.client.click('.Workspaces .workspace.editing .Icon');
|
await app.client.click('.Workspaces .workspace.editing .Icon');
|
||||||
await app.client.waitUntilTextExists(".workspace .name a", "test-workspace");
|
await app.client.waitUntilTextExists(".workspace .name a", "test-workspace");
|
||||||
|
});
|
||||||
|
|
||||||
|
it('switches between workspaces', async () => {
|
||||||
await addMinikubeCluster(app);
|
await addMinikubeCluster(app);
|
||||||
await app.client.waitForExist(`iframe[name="minikube"]`);
|
await app.client.waitForExist(`iframe[name="minikube"]`);
|
||||||
await app.client.waitForVisible(".ClustersMenu .ClusterIcon.active");
|
await app.client.waitForVisible(".ClustersMenu .ClusterIcon.active");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user