Skip to content

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

Open
Dzuming wants to merge 19 commits into
developfrom
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 19 commits into
developfrom
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

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: a37481f1-4266-4b86-a50f-b03e5a6069c3

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

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.
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