mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 16:09:05 +00:00
## Test Inspector Review ### Summary - 0 Critical issues - 0 Selector mismatches (14/14 validated against Vue source) - 0 CI/Workflow issues - 11/11 tests passed (localhost) --- ### ✅ Framework Compliance — PASS | Check | Status | |-------|--------| | Raw selectors in spec | 0 critical (1 acceptable: dynamic panel name) | | console.log | None | | Vacuous pass / soft assertions | None | | testLogger | ✅ 14 calls | | Tags | ✅ All 11 tests | | waitForTimeout | 0 | ### ✅ Selector Cross-Validation — PASS 14/14 page object selectors verified against Vue source. 0 mismatches. ### ✅ CI/Workflow — PASS All spec files present in OSS `.github/workflows/playwright.yml`. ### ✅ Test Execution — 11/11 PASSED (localhost, 1.2m) *Reviewed by Test Inspector*
zinc-observe-ui-automation
Playwright UI Testing
Installation
npm install
Running Tests
Using Playwright Runner UI (Recommended)
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:
- Playwright Runner UI - Set environment variables through the web interface
- Environment Variables - Set variables in terminal or .env file