Files
openobserve/tests/ui-testing
sai nikhil kethe d3a575f2b7 Merge remote-tracking branch 'origin/main' into merge/sample-data-explorer
# Conflicts:
#	web/src/components/Header.vue
#	web/src/components/ingestion/FirstEventStatus.spec.ts
#	web/src/components/ingestion/setupCard/DataSourceSetupCard.vue
#	web/src/components/ingestion/setupCard/SetupCardRenderer.vue
#	web/src/components/login/GetStarted.spec.ts
#	web/src/components/login/GetStarted.vue
#	web/src/lib/styles/tokens/colorMath.spec.ts
#	web/src/views/HomeNoDataState.vue
2026-11-04 17:30:07 +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