From 5188dd829b6dc0adf8d7143db30e278b74fd7ac3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 29 Aug 2024 13:10:24 +0000 Subject: [PATCH] chore(deps): bump ubuntu from `3f85b7c` to `8a37d68` in /.devcontainer/cpp (#552) * chore(deps): bump ubuntu in /.devcontainer/cpp Bumps ubuntu from `3f85b7c` to `8a37d68`. --- updated-dependencies: - dependency-name: ubuntu dependency-type: direct:production ... Signed-off-by: dependabot[bot] * test: start with one test for now --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Ron <45816308+rjaegers@users.noreply.github.com> --- .devcontainer/cpp/Dockerfile | 2 +- .devcontainer/cpp/e2e/tests/smoke.spec.ts | 21 +-------------------- 2 files changed, 2 insertions(+), 21 deletions(-) diff --git a/.devcontainer/cpp/Dockerfile b/.devcontainer/cpp/Dockerfile index aa77c640..b2c28e4f 100644 --- a/.devcontainer/cpp/Dockerfile +++ b/.devcontainer/cpp/Dockerfile @@ -1,4 +1,4 @@ -FROM ubuntu:24.04@sha256:3f85b7caad41a95462cf5b787d8a04604c8262cdcdf9a472b8c52ef83375fe15 +FROM ubuntu:24.04@sha256:8a37d68f4f73ebf3d4efafbcf66379bf3728902a8038616808f04e34a9ab63ee ARG BATS_VERSION=1.11.0 ARG CCACHE_VERSION=4.10.1 diff --git a/.devcontainer/cpp/e2e/tests/smoke.spec.ts b/.devcontainer/cpp/e2e/tests/smoke.spec.ts index bee322fc..915414f3 100644 --- a/.devcontainer/cpp/e2e/tests/smoke.spec.ts +++ b/.devcontainer/cpp/e2e/tests/smoke.spec.ts @@ -10,30 +10,11 @@ test.beforeEach(async ({ page }) => { }); test.describe('CMake', () => { - test('should succesfully build without selecting configuration', async ({ page }) => { + test('should succesfully build default configuration', async ({ page }) => { const codespace = new CodespacePage(page); await page.getByRole('button', { name: 'Build the selected target' }).click(); await page.getByLabel('host, Build for host').locator('a').click(); await expect(codespace.outputPanel).toContainText('Build finished with exit code 0', { timeout: 5 * 60 * 1000 }); }); - - test('should succesfully build after selecting configuration', async ({ page }) => { - const codespace = new CodespacePage(page); - - await codespace.openTabByName('CMake'); - await expect(page.getByRole('treeitem', { name: 'Change Configure Preset' })).toContainText('[No Configure Preset Selected]'); - await expect(page.getByRole('treeitem', { name: 'Change Build Preset' })).toContainText('[No Build Preset Selected]'); - - await codespace.executeFromCommandPalette([{ command: 'CMake: Select Configure Preset' }, - { command: 'host', prompt: 'Select a configure preset' }]); - await expect(page.getByRole('treeitem', { name: 'Change Configure Preset' })).toContainText('host'); - - await codespace.executeFromCommandPalette([{ command: 'CMake: Select Build Preset' }, - { command: 'host-Release', prompt: 'Select a build preset' }]); - await expect(page.getByRole('treeitem', { name: 'Change Build Preset' })).toContainText('host-Release'); - - await page.getByRole('button', { name: 'Build the selected target' }).click(); - await expect(codespace.outputPanel).toContainText('Build finished with exit code 0', { timeout: 5 * 60 * 1000 }); - }); });