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

Add test for clicking Open Settings link

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev 2022-04-13 16:22:32 +03:00
parent 4f9ab17f7e
commit 1e4724fc3f

View File

@ -39,6 +39,11 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
await frame.waitForSelector(`.Menu >> text="Remove"`);
});
it("opens cluster settings by clicking link in no-metrics area", async () => {
await frame.click(`[data-testid="no-metrics-message"]`);
await frame.waitForSelector(`[data-testid="general-header"]`);
});
it(
"should navigate around common cluster pages",