launch_functional_tests: Fail when tested-browsers don't exist and is required

Otherwise the script fails silently (because the sed command on the line below
fails but as it is launched in an external shell this doesn't impact the current
one.
18 jobs for feature-sc/3765-test-legacy-browser in 15 minutes and 54 seconds (queued for 3 seconds)
latest
Status Job ID Name Coverage
  Test Tools
passed #295710
test_tools

00:00:07

 
  Test Quality
passed #295711
web
code_quality

00:00:09

 
  Test Unit
passed #295712
web
test_browser_unit

00:00:09

passed #295713
web
test_server_unit

00:00:15

 
  Deploy Review
passed #295714
web
deploy_review

00:00:08

manual #295715
web allowed to fail manual
stop_deploy_review
 
  Test Functional
failed #296119
web
test_browser-functional

00:04:36

failed #295868
legacy
test_legacy-browser-functional

failed #295744
x86_64 docker
test_server_functional

00:10:38

failed #295716
web
test_browser-functional

00:04:32

failed #295725
web
test_browser-functional

00:04:02

failed #295728
web
test_browser-functional

00:04:07

failed #296109
web
test_browser-functional

00:04:05

canceled #295717
legacy
test_legacy-browser-functional

00:29:38

failed #295745
legacy
test_legacy-browser-functional

failed #295718
docker x86_64
test_server_functional

00:00:06

 
  Test Functional External
skipped #295719
web
test_browser-functional-external
skipped #295720
legacy
test_legacy-browser-functional-external
 
Name Stage Failure
failed
test_browser-functional Test Functional
3 runs, 10 assertions, 0 failures, 0 errors, 0 skips

[Minitest::CI] Generating test report in JUnit XML format...
=== functional/test_segmenter_page_errors.rb : ok

Makefile:11: recipe for target 'functional' failed
make: *** [functional] Error 1
make: Leaving directory '/home/gitlab-runner/builds/9103f1f5/0/vidjil/vidjil/browser/test'
ERROR: Job failed: exit status 1
failed
test_legacy-browser-functional Test Functional There has been a timeout failure or the job got stuck. Check your timeout limits or try again
No job trace
failed
test_server_functional Test Functional
Deleted: sha256:4eed66fd7c51e8843ca4d1ffe9ba1181040a2eea8ae08b63ba8a0e5a10c25a04
Deleted: sha256:943192e761a4d54dd8854fa841ef6ae4296e6df34832b807b954afc341f640d8
Deleted: sha256:2018270ba7fbfde2686ca417387e67104a8c0586e5be032b2089355b899193a5
Deleted: sha256:4da6e30698e1337b49371459faa8fa0313c5a9a08d8f623a2ca83adb09f65826
Deleted: sha256:32bc81afafba02c555ce27527c38a761a9aed1ae331c21b079a375ef7cf5446b
Deleted: sha256:2a3b0dac8f06005157b034dba7291c3b99798e047646d20ce292985b37c252d6
Deleted: sha256:cbf512baafd8280030da5d63c0f08ea76df492b0f73df775b5387583b511ba8c
Deleted: sha256:83698753a76848654b9c9b40f9bc486f4578818fc04f5a630d8de72d671104aa
ERROR: Job failed: exit status 1