Files
openobserve/tests/ui-testing
Vamsi Karthik R ee75868c58 test(dashboards): stop waiting for streamed PromQL responses to finish
#16126 dropped the event-stream guard from applyAndWaitForPromQLQuery that
#15735 added, so on alpha1 the helper again hangs to the 5-minute test timeout
when the query_range stream never reports finished. Restore the guard, and make
promqlSampleValues re-fetch the range instead of reading the browser's body,
which an aborted stream does not keep.
2026-11-04 09:55:52 +05:30
..
2024-11-13 15:13:36 +05:30

zinc-observe-ui-automation

Playwright UI Testing

Installation

npm install

Running Tests

cd playwright-runner
npm start

Then open http://localhost:3000 to access the test runner interface.

Using Command Line

# Run all tests
npx playwright test

# Run specific test by tag
npx playwright test -g @alertsImportExport

# Run in headed mode
npx playwright test --headed

# Run specific test file
npx playwright test Alerts/alerts-import.spec.js

Environment Configuration

Tests can be configured using:

  1. Playwright Runner UI - Set environment variables through the web interface
  2. Environment Variables - Set variables in terminal or .env file