From 169dd8d70fd5ba2be192a05294fe8d5e014bab1e Mon Sep 17 00:00:00 2001 From: Jan Vorcak Date: Thu, 7 Nov 2024 12:29:51 +0100 Subject: [PATCH] Fixes e2e tests --- frontend/tests/config/docker-compose.yaml | 6 +++--- frontend/tests/console-enterprise/license.spec.ts | 3 +-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/frontend/tests/config/docker-compose.yaml b/frontend/tests/config/docker-compose.yaml index 6155080e2..0a36ca173 100644 --- a/frontend/tests/config/docker-compose.yaml +++ b/frontend/tests/config/docker-compose.yaml @@ -7,7 +7,7 @@ volumes: redpanda: null services: redpanda: - image: redpandadata/redpanda:v24.1.1 + image: redpandadata/redpanda:v24.2.8 container_name: redpanda command: - redpanda start @@ -66,7 +66,7 @@ services: restart: unless-stopped depends_on: - redpanda - + connect: image: docker.cloudsmith.io/redpanda/connectors-unsupported/connectors:latest container_name: connect @@ -94,4 +94,4 @@ services: CONNECT_GC_LOG_ENABLED: "false" CONNECT_HEAP_OPTS: -Xms512M -Xmx512M CONNECT_LOG_LEVEL: info - CONNECT_TOPIC_LOG_ENABLED: "true" \ No newline at end of file + CONNECT_TOPIC_LOG_ENABLED: "true" diff --git a/frontend/tests/console-enterprise/license.spec.ts b/frontend/tests/console-enterprise/license.spec.ts index ab8a72f19..920310384 100644 --- a/frontend/tests/console-enterprise/license.spec.ts +++ b/frontend/tests/console-enterprise/license.spec.ts @@ -2,14 +2,13 @@ import { test, expect } from '@playwright/test'; test.describe('Licenses', () => { test('should list an enterprise license', async ({page}) => { - test.slow() await page.goto('/overview', { waitUntil: 'domcontentloaded' }); const licensingEl = page.locator('[data-testid="overview-license-name"]'); // Assert that at least one element is visible and contains the text - await expect(licensingEl.filter({ hasText: 'Redpanda Enterprise' }).first()).toBeVisible(); + await expect(licensingEl.filter({ hasText: 'Console Enterprise' }).first()).toBeVisible(); }); test('should be able to upload new license', async ({page}) => {