mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Remove wait for list helm repos
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
65c8109d9d
commit
9270026c75
2 files changed
-30
No files matched your search
@@ -27,7 +27,6 @@
|
||||
*/
|
||||
import type { Page } from "playwright";
|
||||
import * as utils from "../helpers/utils";
|
||||
import { listHelmRepositories } from "../helpers/utils";
|
||||
|
||||
describe("preferences page tests", () => {
|
||||
let window: Page, cleanup: () => Promise<void>;
|
||||
@@ -66,12 +65,6 @@ describe("preferences page tests", () => {
|
||||
|
||||
it("ensures helm repos", async () => {
|
||||
await window.click("[data-testid=kubernetes-tab]");
|
||||
const repos = await listHelmRepositories(); // wait for default helm repo to be added
|
||||
|
||||
if (repos.length === 0) {
|
||||
fail("Lens failed to add any repositories");
|
||||
}
|
||||
|
||||
await window.waitForSelector("[data-testid=repository-name]", {
|
||||
timeout: 100_000,
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user