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:
parent
ddb65e1bd8
commit
d242c59a98
@ -33,7 +33,7 @@ describe("preferences page tests", () => {
|
|||||||
|
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
let app: ElectronApplication;
|
let app: ElectronApplication;
|
||||||
|
|
||||||
({ window, cleanup, app } = await utils.start());
|
({ window, cleanup, app } = await utils.start());
|
||||||
await utils.clickWelcomeButton(window);
|
await utils.clickWelcomeButton(window);
|
||||||
|
|
||||||
@ -74,7 +74,7 @@ describe("preferences page tests", () => {
|
|||||||
utils.itIf(process.platform !== "win32")("ensures helm repos", async () => {
|
utils.itIf(process.platform !== "win32")("ensures helm repos", async () => {
|
||||||
await window.click("[data-testid=kubernetes-tab]");
|
await window.click("[data-testid=kubernetes-tab]");
|
||||||
await window.waitForSelector("[data-testid=repository-name]", {
|
await window.waitForSelector("[data-testid=repository-name]", {
|
||||||
timeout: 100_000,
|
timeout: 140_000,
|
||||||
});
|
});
|
||||||
await window.click("#HelmRepoSelect");
|
await window.click("#HelmRepoSelect");
|
||||||
await window.waitForSelector("div.Select__option");
|
await window.waitForSelector("div.Select__option");
|
||||||
|
|||||||
@ -93,7 +93,7 @@ export async function start() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export async function clickWelcomeButton(window: Page) {
|
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() {
|
function minikubeEntityId() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user