mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing integration tests (no check for Telemetry tab)
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
df38165ce6
commit
71aeca7e7c
@ -56,14 +56,13 @@ describe("Lens integration tests", () => {
|
||||
await app.client.waitUntilTextExists("[data-testid=application-header]", "Application");
|
||||
});
|
||||
|
||||
it("shows all tabs and their contents", async () => {
|
||||
await app.client.click("[data-testid=application-tab]");
|
||||
await app.client.click("[data-testid=proxy-tab]");
|
||||
await app.client.waitUntilTextExists("[data-testid=proxy-header]", "Proxy");
|
||||
await app.client.click("[data-testid=kube-tab]");
|
||||
await app.client.waitUntilTextExists("[data-testid=kubernetes-header]", "Kubernetes");
|
||||
await app.client.click("[data-testid=telemetry-tab]");
|
||||
await app.client.waitUntilTextExists("[data-testid=telemetry-header]", "Telemetry");
|
||||
it.each([
|
||||
["application", "Application"],
|
||||
["proxy", "Proxy"],
|
||||
["kubernetes", "Kubernetes"],
|
||||
])("Can click the %s tab and see the %s header", async (tab, header) => {
|
||||
await app.client.click(`[data-testid=${tab}-tab]`);
|
||||
await app.client.waitUntilTextExists(`[data-testid=${tab}-header]`, header);
|
||||
});
|
||||
|
||||
it("ensures helm repos", async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user