mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Change timeouts for integration tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
f3d1d46db8
commit
952b8516fb
@ -30,7 +30,7 @@ import * as utils from "../helpers/utils";
|
|||||||
import { listHelmRepositories } from "../helpers/utils";
|
import { listHelmRepositories } from "../helpers/utils";
|
||||||
import { fail } from "assert";
|
import { fail } from "assert";
|
||||||
|
|
||||||
jest.setTimeout(60000);
|
jest.setTimeout(5 * 60 * 1000); // 5 minutes so that we can get better errors from spectron
|
||||||
|
|
||||||
// FIXME (!): improve / simplify all css-selectors + use [data-test-id="some-id"] (already used in some tests below)
|
// FIXME (!): improve / simplify all css-selectors + use [data-test-id="some-id"] (already used in some tests below)
|
||||||
describe("Lens integration tests", () => {
|
describe("Lens integration tests", () => {
|
||||||
|
|||||||
@ -33,7 +33,7 @@ import * as util from "util";
|
|||||||
|
|
||||||
export const promiseExec = util.promisify(exec);
|
export const promiseExec = util.promisify(exec);
|
||||||
|
|
||||||
jest.setTimeout(60000);
|
jest.setTimeout(5 * 60 * 1000); // 5 minutes so that we can get better errors from spectron
|
||||||
|
|
||||||
// FIXME (!): improve / simplify all css-selectors + use [data-test-id="some-id"] (already used in some tests below)
|
// FIXME (!): improve / simplify all css-selectors + use [data-test-id="some-id"] (already used in some tests below)
|
||||||
describe("Lens cluster pages", () => {
|
describe("Lens cluster pages", () => {
|
||||||
|
|||||||
@ -22,7 +22,7 @@
|
|||||||
import type { Application } from "spectron";
|
import type { Application } from "spectron";
|
||||||
import * as utils from "../helpers/utils";
|
import * as utils from "../helpers/utils";
|
||||||
|
|
||||||
jest.setTimeout(60000);
|
jest.setTimeout(5 * 60 * 1000); // 5 minutes so that we can get better errors from spectron
|
||||||
|
|
||||||
describe("Lens command palette", () => {
|
describe("Lens command palette", () => {
|
||||||
let app: Application;
|
let app: Application;
|
||||||
|
|||||||
@ -73,8 +73,8 @@ export function setup(): Application {
|
|||||||
return new Application({
|
return new Application({
|
||||||
path: AppPaths[process.platform], // path to electron app
|
path: AppPaths[process.platform], // path to electron app
|
||||||
args: [],
|
args: [],
|
||||||
startTimeout: 30000,
|
startTimeout: 60000,
|
||||||
waitTimeout: 60000,
|
waitTimeout: 10000,
|
||||||
env: {
|
env: {
|
||||||
CICD: "true"
|
CICD: "true"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user