ImportProjectsTable karma flaky Job Failed #168730637
Job #168730637 failed for b789a326:
SUMMARY:
✔ 8869 tests completed
✖ 1 test failed
FAILED TESTS:
ImportProjectsTable
✖ renders a loading icon whilst repos are loading
Chrome
Expected null not to be null.
at webpack:///builds/gitlab-org/gitlab-ee/spec/javascripts/import_projects/components/import_projects_table_spec.js:59 <- spec/javascripts/test_bundle.bundle.js:1853539:67
TOTAL: 1 FAILED, 8869 SUCCESS
It would seem using mock.restore()
is not a suitable way to force the request to hang. For null not to be null, the loading spinner has to have either not rendered yet (unlikely?) or the request did finish for some reason. @winh any ideas?
Edited by Luke Bennett