Scan-o-Matic / scanomatic

Scanomatic
GNU General Public License v3.0
10 stars 4 forks source link

Add explicit wait when creating a job in system tests #346

Closed gdetrez closed 6 years ago

gdetrez commented 6 years ago

This fix the system tests that fails randomly by explicitely waiting for the job to appear after adding.

To avoid having to loop through the jobs all the time, I added the job name to the panel as a data attribute.

codecov-io commented 6 years ago

Codecov Report

Merging #346 into master will increase coverage by <.01%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #346      +/-   ##
==========================================
+ Coverage   39.39%   39.39%   +<.01%     
==========================================
  Files         179      179              
  Lines       16443    16443              
  Branches     2889     2889              
==========================================
+ Hits         6477     6478       +1     
  Misses       9561     9561              
+ Partials      405      404       -1
Impacted Files Coverage Δ
...server_data/js/src/components/ScanningJobPanel.jsx 100% <ø> (ø) :arrow_up:
scanomatic/data_processing/phases/segmentation.py 74.09% <0%> (+0.27%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update d0bac87...059c80b. Read the comment docs.