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

Try to fix tests

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-10-08 15:59:26 -04:00
parent ddb65e1bd8
commit d242c59a98
2 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ describe("preferences page tests", () => {
beforeEach(async () => {
let app: ElectronApplication;
({ window, cleanup, app } = await utils.start());
await utils.clickWelcomeButton(window);
@ -74,7 +74,7 @@ describe("preferences page tests", () => {
utils.itIf(process.platform !== "win32")("ensures helm repos", async () => {
await window.click("[data-testid=kubernetes-tab]");
await window.waitForSelector("[data-testid=repository-name]", {
timeout: 100_000,
timeout: 140_000,
});
await window.click("#HelmRepoSelect");
await window.waitForSelector("div.Select__option");

View File

@ -93,7 +93,7 @@ export async function start() {
}
export async function clickWelcomeButton(window: Page) {
await window.click("#hotbarIcon-catalog-entity .Icon");
await window.click("[data-testid=welcome-menu-container] li a");
}
function minikubeEntityId() {