mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-05 16:10:43 +00:00
## Summary - Migrate 8 Pipelines spec files to run on alpha1 cloud environment - Fix page object auth methods (pipelinesPage.js, streamsPage.js) for cloud OIDC/passcode auth - Migrate 3 spec files from manual LoginPage to storageState auth pattern - Skip 4 pipelineImport tests on cloud (pipeline import feature not functional on cloud — imported pipelines do not appear in list) - Add networkidle resilience fixes for cloud background requests ## Changes **Page Objects:** - `pipelinesPage.js`: `exploreStreamAndNavigateToPipeline()`, `createPipelineViaAPI()`, `bulkIngestToStreams()`, `ingestMetricsData()`, `ingestTracesData()` — cloud auth via `getAuthHeaders()` / `page.evaluate(fetch())`; `navigateToHistoryPage()` — networkidle `.catch()` - `streamsPage.js`: `queryStream()` — cloud/self-hosted branching with `page.evaluate(fetch())` **Spec Files:** - `pipelines.spec.js`, `scheduled-pipeline-query-builder.spec.js` — storageState migration - `pipeline-dynamic.spec.js` — storageState + base URL navigation in beforeAll - `pipeline-backfill.spec.js` — use shared `getHeaders` from apiUtils - `pipelineImport.spec.js` — `isCloudEnvironment()` skip for 4 import tests - `pipeline-metrics.spec.js`, `pipeline-traces.spec.js` — networkidle `.catch()` ## Test Results - **50 passed, 12 skipped, 0 failed** (8 pre-existing skips + 4 cloud-skipped pipelineImport) ## Test plan - [ ] Verify all 8 Pipelines specs pass on alpha1 CI (11 shards total) - [ ] Verify self-hosted tests are not affected --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: claude[bot] <41898282+claude[bot]@users.noreply.github.com> Co-authored-by: Shrinath Rao <undefined@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>