Skip to content

Commit

Permalink
Merge pull request #1501 from redpanda-data/fix/e2e-tests-fix
Browse files Browse the repository at this point in the history
Fixes e2e tests
  • Loading branch information
jvorcak authored Nov 7, 2024
2 parents f33f085 + 169dd8d commit 57c516e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions frontend/tests/config/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -66,7 +66,7 @@ services:
restart: unless-stopped
depends_on:
- redpanda

connect:
image: docker.cloudsmith.io/redpanda/connectors-unsupported/connectors:latest
container_name: connect
Expand Down Expand Up @@ -94,4 +94,4 @@ services:
CONNECT_GC_LOG_ENABLED: "false"
CONNECT_HEAP_OPTS: -Xms512M -Xmx512M
CONNECT_LOG_LEVEL: info
CONNECT_TOPIC_LOG_ENABLED: "true"
CONNECT_TOPIC_LOG_ENABLED: "true"
3 changes: 1 addition & 2 deletions frontend/tests/console-enterprise/license.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}) => {
Expand Down

0 comments on commit 57c516e

Please sign in to comment.