Files
openobserve/tests/ui-testing
ByteBakerandClaude Sonnet 4 85d2adce4c fix: update correlationSettings tests for new tab structure
Updates Playwright tests to match the new correlation settings UI structure
introduced in the service discovery refactor:

- Updated tab names: Service Identity → Configuration, Discovered Services → Services
- Added support for new Field Aliases tab (4 tabs total instead of 3)
- Updated page object methods and test expectations
- Fixed test descriptions and tags to reflect new structure

Resolves CI failure in correlationSettings.spec.js where tests were looking
for old tab names that no longer exist.

Co-Authored-By: Claude Sonnet 4 <noreply@anthropic.com>
2026-03-31 01:23:28 +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