Files
openobserve/tests/ui-testing
ktx-abhay bf7cdb2a6a Merge remote-tracking branch 'origin/main' into fix/oncall-ux-polish
# Conflicts:
#	web/src/components/oncall/OnCallCoverForm.spec.ts
#	web/src/components/oncall/OnCallCoverForm.vue
#	web/src/components/oncall/OnCallRuleEditor.spec.ts
#	web/src/components/oncall/OnCallScopePicker.spec.ts
#	web/src/components/oncall/OnCallScopePicker.vue
#	web/src/components/settings/index.vue
#	web/src/views/OnCall/OnCallResponseDetail.spec.ts
#	web/src/views/OnCall/OnCallResponseDetail.vue
#	web/src/views/OnCall/OnCallResponses.spec.ts
#	web/src/views/OnCall/OnCallResponses.vue
2026-11-04 12:16:02 +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