mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 08:09:22 +00:00
## Summary - **apiUtils.js**: `getHeaders()` now reads `cloud-config.json` for `email:passcode` auth when `IS_CLOUD=true`, with caching - **streamsPage.js**: `deleteStreamViaAPI`, `createStream`, `verifyStreamExists` use `page.evaluate(fetch())` on cloud for OIDC cookie auth on management APIs (node-fetch can't send session cookies) - All 5 Streams spec files (30 tests) passing on alpha1 cloud ## Test plan - [x] All 5 Streams specs pass locally against alpha1 (headless) - [x] CI run passed: https://github.com/openobserve/o2-enterprise/actions/runs/22906826643 - [ ] Full regression with all shards uncommented after merge 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
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