Files
openobserve/tests/ui-testing
Neha PandClaude 407d12d135 test: add regression tests for query inspector, sorting, and logs expand (#10586)
## Summary
Add Playwright regression tests for logs functionality:

- **Query Inspector**: Verify readonly flag in buildSearch doesn't
mutate logs state
- **Sorting Logs**: Verify logs are sorted correctly when response has
order_by_metadata
- **Logs Expand**: Verify last log maintains highlighting when expanding
other log entries

Tests use Page Object Model pattern with methods added to logsPage.js.

Tests for https://github.com/openobserve/openobserve/pull/10580

---------

Co-authored-by: Claude <noreply@anthropic.com>
2026-02-23 14:00:13 +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