elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.49k stars 8.05k forks source link

Failing test: X-Pack Cloud Security Posture Functional Tests.x-pack/test/cloud_security_posture_functional/pages/cis_integrations/cnvm/cis_integration_cnvm·ts - Cloud Security Posture Test adding Cloud Security Posture Integrations CNVM CNVM AWS Clicking on Launch CloudFormation on post intall modal should lead user to Cloud Formation page #186302

Closed kibanamachine closed 1 week ago

kibanamachine commented 4 weeks ago

A test failed on a tracked branch

TimeoutError: Waiting for element to be located By(css selector, [data-test-subj="confirmCloudFormationModalConfirmButton"])
Wait timed out after 104037ms
    at /opt/buildkite-agent/builds/bk-agent-prod-gcp-1718634920926064467/elastic/kibana-on-merge/kibana/node_modules/selenium-webdriver/lib/webdriver.js:911:22
    at processTicksAndRejections (node:internal/process/task_queues:95:5) {
  remoteStacktrace: ''
}

First failure: kibana-on-merge - main

elasticmachine commented 4 weeks ago

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

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

opauloh commented 4 weeks ago

I was able to reproduce the issue by adding a second integration and setting the internet to slow (to simulate the machine clicking on the button as soon it’s available)

I think we need to review how we can disable the “Save and Continue” button while the loading to detect the integration name happens (as slow internet conditions can also happen for the users). Also, it would be good to review the useEffects logic that is currently occurring in parallel.

https://github.com/elastic/kibana/assets/19270322/d89acb08-c082-46fb-9436-12152e64a100

kibanamachine commented 4 weeks ago

New failure: kibana-on-merge - main

mistic commented 4 weeks ago

Skipped.

main: fe07ada