Closed wayneseymour closed 6 days ago
Pinging @elastic/kibana-management (Team:Kibana Management)
I think the problem is in the test itself, we are filling the create index template form with data and submiting for creation. And the final assertion to see if it was created or not is to check if the stepTitle
contains the name of the index template we tried to create but right after creation the user is sent to the index templates list and the details flyout is opened. This flyout has a different data-test-subj
for rendering the title so the test times out.
// Right before we create the template:
// After the template is created:
The right fix for this would be to change the data-test-subj
we are matching against in this line to be title
.
Summary
x-pack/test_serverless/functional/test_suites/common/management/index_management/index_templates.ts is failing sometimes.
It's not entirely deterministic, but our best guess is that the while the screen shot definitely shows the desired elements, but perhaps something is wrong in the DOM. (Caching (Shadow DOM?)?)
I personally tried to add a quick fix, but to no avail.
Error message
Screenshot
Command Line Used in Buildkite