mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
remove depricated package request from our code
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
1 parent
33c405bdcf
commit
47fbf629ea
19 files changed
+397
-269
No files matched your search
@@ -13,7 +13,7 @@ import * as utils from "../helpers/utils";
|
||||
import { listHelmRepositories } from "../helpers/utils";
|
||||
import { fail } from "assert";
|
||||
|
||||
jest.setTimeout(60000);
|
||||
jest.setTimeout(120000);
|
||||
|
||||
// FIXME (!): improve / simplify all css-selectors + use [data-test-id="some-id"] (already used in some tests below)
|
||||
describe("Lens integration tests", () => {
|
||||
|
||||
@@ -49,12 +49,13 @@ export function describeIf(condition: boolean) {
|
||||
return condition ? describe : describe.skip;
|
||||
}
|
||||
|
||||
export function setup(): Application {
|
||||
export function setup(waitTimeout = 60000): Application {
|
||||
return new Application({
|
||||
path: AppPaths[process.platform], // path to electron app
|
||||
args: [],
|
||||
startTimeout: 30000,
|
||||
waitTimeout: 60000,
|
||||
waitTimeout,
|
||||
chromeDriverArgs: ["remote-debugging-port=9222"],
|
||||
env: {
|
||||
CICD: "true"
|
||||
}
|
||||
@@ -101,7 +102,7 @@ export async function tearDown(app: Application) {
|
||||
await app.stop();
|
||||
|
||||
try {
|
||||
process.kill(pid, "SIGKILL");
|
||||
process.kill(pid, 0);
|
||||
} catch (e) {
|
||||
console.error(e);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user