Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test: X-Pack Cloud Security Posture Functional Tests.x-pack/test/cloud_security_posture_functional/pages/findings_alerts·ts - Cloud Security Posture Findings Page - Alerts Create detection rule Creates a detection rule from the Alerts section and navigates to rule page #172312

Closed
kibanamachine opened this issue Nov 30, 2023 · 4 comments · Fixed by #186667 or #189768
Assignees
Labels
8.16 candidate automation failed-test A test failure on a tracked branch, potentially flaky-test Team:Cloud Security Cloud Security team related

Comments

@kibanamachine
Copy link
Contributor

kibanamachine commented Nov 30, 2023

A test failed on a tracked branch

Error: expected '' to equal 'Upper case rule name'
    at Assertion.assert (expect.js:100:11)
    at Assertion.apply (expect.js:227:8)
    at Assertion.be (expect.js:69:22)
    at Context.<anonymous> (findings_alerts.ts:194:57)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.apply (wrap_function.js:73:16)

First failure: CI Build - main

@kibanamachine kibanamachine added the failed-test A test failure on a tracked branch, potentially flaky-test label Nov 30, 2023
@botelastic botelastic bot added the needs-team Issues missing a team label label Nov 30, 2023
@kibanamachine kibanamachine added the Team:Cloud Security Cloud Security team related label Nov 30, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-cloud-security-posture (Team:Cloud Security)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Nov 30, 2023
@opauloh opauloh linked a pull request Jun 21, 2024 that will close this issue
opauloh added a commit that referenced this issue Jun 25, 2024
## Summary

This fixes #168991, #172312 and #182444


This PR fixes FTR tests for the Cloud Security Posture and Detection
Rules integration by adding an `await
pageObjects.header.waitUntilLoadingHasFinished();` after the navigation
actions before checking for the assertions on the navigated page.
@kibanamachine kibanamachine reopened this Jul 24, 2024
@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@kibanamachine
Copy link
Contributor Author

New failure: kibana-on-merge - main

@opauloh
Copy link
Contributor

opauloh commented Aug 1, 2024

Attaching the error image: Very interesting behaviour where the header is not loading but the entire page is still loading.

image

I will update the test to wait for the internal page loading as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.16 candidate automation failed-test A test failure on a tracked branch, potentially flaky-test Team:Cloud Security Cloud Security team related
Projects
None yet
4 participants