Files
openobserve/tests/ui-testing
Loakesh Indiran 06cba61e3f test(downtimes): keep anomaly and downtime sends off the sink template
The Downtimes specs count anomaly sends by anomaly_id and downtime sends
by downtime_name, which only the default bodies carry. With unified
templates a user template with empty applies_to renders every kind, so
the sink's alert template replaced those bodies and the specs found no
such field. The sink template now applies to alert, incident and
synthetics only.
2026-11-03 23:49:51 +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