Files
openobserve/tests/ui-testing
Shrinath RaoandClaude Opus 4.6 2ef794c5ac test: Streams cloud compatibility for alpha1 E2E (Set3) (#10836)
## 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>
2026-03-10 21:33:05 +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