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

Fix build, upgrade to 12.0.17

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
Sebastian Malton 2021-08-24 17:08:29 -04:00
parent a873e79bc3
commit bba18ba52b
5 changed files with 15 additions and 15 deletions

View File

@ -25,7 +25,7 @@
TEST_NAMESPACE namespace. This is done to minimize destructive impact of the cluster tests on an existing minikube TEST_NAMESPACE namespace. This is done to minimize destructive impact of the cluster tests on an existing minikube
cluster and vice versa. cluster and vice versa.
*/ */
import { Page } from "playwright"; import type { Page } from "playwright";
import * as utils from "../helpers/utils"; import * as utils from "../helpers/utils";
describe("preferences page tests", () => { describe("preferences page tests", () => {
@ -35,11 +35,11 @@ describe("preferences page tests", () => {
({ window, cleanup } = await utils.start()); ({ window, cleanup } = await utils.start());
await utils.clickWelcomeButton(window); await utils.clickWelcomeButton(window);
await window.keyboard.press("Meta+,"); await window.keyboard.press("Meta+,");
}); }, 10*60*1000);
afterEach(async () => { afterEach(async () => {
await cleanup(); await cleanup();
}); }, 10*60*1000);
it('shows "preferences" and can navigate through the tabs', async () => { it('shows "preferences" and can navigate through the tabs', async () => {
const pages = [ const pages = [

View File

@ -27,7 +27,7 @@
*/ */
import * as utils from "../helpers/utils"; import * as utils from "../helpers/utils";
import { minikubeReady } from "../helpers/minikube"; import { minikubeReady } from "../helpers/minikube";
import { Frame, Page } from "playwright"; import type { Frame, Page } from "playwright";
const TEST_NAMESPACE = "integration-tests"; const TEST_NAMESPACE = "integration-tests";
@ -311,11 +311,11 @@ utils.describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => {
await utils.clickWelcomeButton(window); await utils.clickWelcomeButton(window);
frame = await utils.lauchMinikubeClusterFromCatalog(window); frame = await utils.lauchMinikubeClusterFromCatalog(window);
}); }, 10*60*1000);
afterEach(async () => { afterEach(async () => {
await cleanup(); await cleanup();
}); }, 10*60*1000);
it("should navigate around common cluster pages", async () => { it("should navigate around common cluster pages", async () => {
for (const test of commonPageTests) { for (const test of commonPageTests) {

View File

@ -19,7 +19,7 @@
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/ */
import { Page } from "playwright"; import type { Page } from "playwright";
import * as utils from "../helpers/utils"; import * as utils from "../helpers/utils";
describe("Lens command palette", () => { describe("Lens command palette", () => {
@ -28,11 +28,11 @@ describe("Lens command palette", () => {
beforeEach(async () => { beforeEach(async () => {
({ window, cleanup } = await utils.start()); ({ window, cleanup } = await utils.start());
await utils.clickWelcomeButton(window); await utils.clickWelcomeButton(window);
}); }, 10*60*1000);
afterEach(async () => { afterEach(async () => {
await cleanup(); await cleanup();
}); }, 10*60*1000);
describe("menu", () => { describe("menu", () => {
it("opens command dialog from keyboard shortcut", async () => { it("opens command dialog from keyboard shortcut", async () => {

View File

@ -3,7 +3,7 @@
"productName": "OpenLens", "productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes", "description": "OpenLens - Open Source IDE for Kubernetes",
"homepage": "https://github.com/lensapp/lens", "homepage": "https://github.com/lensapp/lens",
"version": "5.2.0-beta.2.1629813675276", "version": "5.2.0-beta.2",
"main": "static/build/main.js", "main": "static/build/main.js",
"copyright": "© 2021 OpenLens Authors", "copyright": "© 2021 OpenLens Authors",
"license": "MIT", "license": "MIT",
@ -327,7 +327,7 @@
"css-loader": "^5.2.6", "css-loader": "^5.2.6",
"deepdash": "^5.3.5", "deepdash": "^5.3.5",
"dompurify": "^2.0.17", "dompurify": "^2.0.17",
"electron": "12.0.15", "electron": "^12.0.17",
"electron-builder": "^22.10.5", "electron-builder": "^22.10.5",
"electron-notarize": "^0.3.0", "electron-notarize": "^0.3.0",
"esbuild": "^0.12.12", "esbuild": "^0.12.12",

View File

@ -5259,10 +5259,10 @@ electron@*:
"@types/node" "^12.0.12" "@types/node" "^12.0.12"
extract-zip "^1.0.3" extract-zip "^1.0.3"
electron@12.0.15: electron@^12.0.17:
version "12.0.15" version "12.0.17"
resolved "https://registry.yarnpkg.com/electron/-/electron-12.0.15.tgz#d1a50f2037bdf163c5a3df6fe9beabb0b6bb4d37" resolved "https://registry.yarnpkg.com/electron/-/electron-12.0.17.tgz#9707c9bfd0a29ae63b8b66f1b3acf8894f7b63f4"
integrity sha512-JyhYJkj4BD0YPii8gTcYmTTBbHPomCtEKt9/OfoezAhc1scTDP+yZkAfBJrlgVFh0IYmyuesdQzuNEohSdz6Wg== integrity sha512-jkOMKSEj/X9i++5LD7NKqYK/ORi6H0kHYk6rrvcJNQfbDpYX5lxNNexZ2ikPeKxS2B84+WcSFrw5Ce9y8B+pmA==
dependencies: dependencies:
"@electron/get" "^1.0.1" "@electron/get" "^1.0.1"
"@types/node" "^14.6.2" "@types/node" "^14.6.2"