Cleanup HelmRepoManager and <HelmCharts>

- Makes integration tests less flaky

- Seperates the two loading states so that the UI updates faster

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2022-02-15 14:19:03 -05:00
1 parent d656a9e289
commit 79fccbdb27
5 files changed
+76 -79

No files matched your search

@@ -60,9 +60,7 @@ describe("preferences page tests", () => {
// Skipping, but will turn it on again in the follow up PR
it.skip("ensures helm repos", async () => {
await window.click("[data-testid=kubernetes-tab]");
await window.waitForSelector("[data-testid=repository-name]", {
timeout: 140_000,
});
await window.waitForSelector("[data-testid=repository-name]");
await window.click("#HelmRepoSelect");
await window.waitForSelector("div.Select__option");
}, 10*60*1000);