From dd87fbf8ed759f25a3dbc606f257ddcef8afc039 Mon Sep 17 00:00:00 2001 From: Sebastian Malton Date: Mon, 17 Apr 2023 11:44:16 -0400 Subject: [PATCH 1/2] chore: Fix cron test workflow failing due to wrong reasons Signed-off-by: Sebastian Malton --- .github/workflows/cron-test.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/cron-test.yaml b/.github/workflows/cron-test.yaml index 812da0368f..2358a34e9a 100644 --- a/.github/workflows/cron-test.yaml +++ b/.github/workflows/cron-test.yaml @@ -50,5 +50,8 @@ jobs: retry_on: error command: npm ci + - name: Build library parts + run: run npm build -- --ignore open-lens + - run: npm run test:unit name: Run tests From e5eb709e6679a92b2ce2e4936b0f2a4cef713974 Mon Sep 17 00:00:00 2001 From: Alex Andreev Date: Mon, 17 Apr 2023 19:23:02 +0300 Subject: [PATCH 2/2] chore: remove unnecessary spacing from monaco editor lines Signed-off-by: Alex Andreev --- .../open-lens/integration/__tests__/cluster-pages.tests.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/open-lens/integration/__tests__/cluster-pages.tests.ts b/packages/open-lens/integration/__tests__/cluster-pages.tests.ts index c9130c4f59..94b2f07b1a 100644 --- a/packages/open-lens/integration/__tests__/cluster-pages.tests.ts +++ b/packages/open-lens/integration/__tests__/cluster-pages.tests.ts @@ -141,14 +141,14 @@ describeIf(minikubeReady(TEST_NAMESPACE))("Minikube based tests", () => { await monacoEditor.press("Enter", { delay: 10 }); await monacoEditor.type("metadata:", { delay: 10 }); await monacoEditor.press("Enter", { delay: 10 }); - await monacoEditor.type(` name: ${testPodName}`, { delay: 10 }); + await monacoEditor.type(`name: ${testPodName}`, { delay: 10 }); await monacoEditor.press("Enter", { delay: 10 }); await monacoEditor.type(`namespace: ${TEST_NAMESPACE}`, { delay: 10 }); await monacoEditor.press("Enter", { delay: 10 }); await monacoEditor.press("Backspace", { delay: 10 }); await monacoEditor.type("spec:", { delay: 10 }); await monacoEditor.press("Enter", { delay: 10 }); - await monacoEditor.type(" containers:", { delay: 10 }); + await monacoEditor.type("containers:", { delay: 10 }); await monacoEditor.press("Enter", { delay: 10 }); await monacoEditor.type(`- name: ${testPodName}`, { delay: 10 }); await monacoEditor.press("Enter", { delay: 10 });