diff --git a/tests/e2e/60-telemetry.spec.ts b/tests/e2e/60-telemetry.spec.ts index 73f47fc7..51601a31 100644 --- a/tests/e2e/60-telemetry.spec.ts +++ b/tests/e2e/60-telemetry.spec.ts @@ -6,7 +6,7 @@ import { PolicyServersPage } from './pages/policyservers.page'; * Expect timeout has to be increased after telemetry installation on local cluster * */ -test('Install opentelemetry & jaeger', async ({ page, ui }) => { +test('Install opentelemetry & jaeger', async ({ page }) => { const apps = new RancherAppsPage(page) const otelChart: Chart = { title: 'opentelemetry-operator', name: 'opentelemetry-operator', namespace: 'open-telemetry', version: '0.38.0', check: 'opentelemetry-operator' } const jaegerChart: Chart = { title: 'Jaeger Operator', namespace: 'jaeger', check: "jaeger-operator" } @@ -22,7 +22,7 @@ test('Install opentelemetry & jaeger', async ({ page, ui }) => { }) }); -test('Enable kubewarden tracing', async ({ page, ui }) => { +test('Enable tracing in Kubewarden', async ({ page, ui }) => { const apps = new RancherAppsPage(page) await apps.updateApp('rancher-kubewarden-controller', d => { d.telemetry.enabled = true @@ -48,6 +48,8 @@ test('Check traces are visible', async ({ page, ui }) => { // Create trace log line await ui.shell('k run tracing-privpod --image=nginx:alpine --privileged') + console.warn('Workaround: Opentelemetry not installed warning before I generate traces') + await page.reload() // Check logs on policy server await ui.getRow('default').open()