Skip to content

Epic/rordev 1524 keep ror kibana and es plugins configuration in a single file - #116

Open
Dzuming wants to merge 20 commits into
masterfrom
epic/RORDEV-1524-Keep-ROR-Kibana-and-ES-plugins-configuration-in-a-single-file
Open

Epic/rordev 1524 keep ror kibana and es plugins configuration in a single file#116
Dzuming wants to merge 20 commits into
masterfrom
epic/RORDEV-1524-Keep-ROR-Kibana-and-ES-plugins-configuration-in-a-single-file

Conversation

@Dzuming

@Dzuming Dzuming commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

- Switch ROR configuration to use the Kibana API instead of the ES API
- Add new fixture files for default settings
- Add helper functions to merge and parse YAML settings in Cypress tests
- Update Settings page object with support for dynamic ROR settings
  setup
Chromium 138 (bundled with Cypress 15) requires user activation for
clipboard access, breaking existing copy-based tests. This change adds
a capture utility that intercepts `navigator.clipboard.writeText` and
`document.execCommand('copy')` to track copied content within the
browser context, bypassing OS-level clipboard requirements.
Implements `fetchWithJsonRetry` to handle Kibana startup race conditions
where requests are served a login page instead of the expected JSON
response. This ensures that FormData streams are correctly recreated
across retry attempts.
Handle 403 errors during saved object cleanup when indices are
resetting.
Update return types and status polling methods for better Cypress chain
compatibility.
- Replace `cy.wait` with `cy.waitForResponse` for better reliability.
- Increase timeout for dashboard element lookup to 20 seconds.
- Standardize Kibana SSL/TLS settings across all fixtures
- Remove unused ECK-related environment placeholders
- Clean up ReadonlyREST and Kibana configuration structure
- Externalize Kibana settings configuration to a central constant.
- Add `waitForIndexReady` helper to handle lazy index provisioning.
- Standardize settings reset flows between test cases to prevent state
  leakage.
- Update `getSavedObjects` calls to handle expected 404/403 status
  codes.
Replace the legacy `ror-config.cy.ts` file with a comprehensive
`Readonlyrest-settings.cy.ts` suite to verify ReadonlyREST Kibana
configuration features.
@coderabbitai

coderabbitai Bot commented Sep 2, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Advanced

Run ID: d107ac9f-6a09-46c2-a1c5-d5843a0e681b


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

The `kibanaIndexTemplate` test is skipped in the `elk-ror` environment
to
avoid race conditions with Kibana replica round-robin behavior.
Additionally, updated the uncaught exception suppression to globally
handle chunk loading errors across Kibana versions.
Base automatically changed from develop to master September 10, 2026 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant