Flaky test homepage app sample data uninstall should uninstall sample data set #20738
Labels
bug
Fixes for quality problems that affect the customer experience
failed-test
A test failure on a tracked branch, potentially flaky-test
Feature:Add Data
Add Data and sample data feature on Home
PR sent
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
test
Kibana version: master
Elasticsearch version: 7.0.0-alpha1
Server OS version: Ubuntu 16.04 (Jenkins worker)
Browser version: Chrome
Browser OS version:
Original install method (e.g. download page, yum, from source, etc.):
Describe the bug:
This test failed on Jenkins with
Error: expected true to equal false
which is from the expect right after this line;https://github.com/elastic/kibana/blob/master/test/functional/apps/home/_sample_data.js#L106
We can see from the failure screenshot that the notification "Sample flight data uninstalled" is visible, but it also still shows "Sample flight data" is installed. Is it just a timing problem and has to keep checking for a bit to see if it changes state?
The previous expect in this test is within a retry.try() loop, and maybe this check should also be?
Steps to reproduce:
I don't know how often this test fails?
Expected behavior:
This test should pass unless someone broke the code
Screenshots (if relevant):
homepage app sample data uninstall should uninstall sample data set.html.txt
Errors in browser console (if relevant):
Provide logs and/or server output (if relevant):
Any additional context:
The text was updated successfully, but these errors were encountered: