Open Carthanial opened 2 years ago
The error causing this can be seen in the stack trace at debg findByCssSelector [data-test-subj="kibanaChrome"]
The html debug file that is generated from this failed test here shows that at the time this function is called in test/functional/services/find.js on line 80 the dom element kbn_chrome.html has not been mounted on the dom yet and therefore we get the error:
debg --- retry.try error: [POST http://localhost:9515/session/d6d5ec9d7e633c4395999a4bd79e2fb5/element / {"using":"css selector","value":"[data-test-subj=\"kibanaChrome\"]"}] no such element: Unable to locate element: {"method":"css selector","selector":"[data-test-subj="kibanaChrome"]"}
It is possible that increasing the timeout & or sleep time could fix the issue or there is a problem with the element being mounted on the dom in the first place.
Many of these tests overlap with #127
@Carthanial did you find the fix for above problem ?
@Carthanial can you point me to the PR if you have fixed this ?
Summary :
The Plugin Functional Test stage is failing with the same errors as the
Functional Test
stage with thebefore all
hook error. It is quite possible that the fix will work for all tests having the issue.Here is an example of one of the many tests failing with this error :
Plugin Functional Test / custom visualizations self changing vis "before all" hook – Plugin Functional Tests.test/plugin_functional/test_suites/custom_visualizations/self_changing_vis·js