Skip to content

Commit

Permalink
Allow test in devel mode fullstack test to pass
Browse files Browse the repository at this point in the history
On my machine it is sometimes faster than we can click on the cancel
button. The test should not fail in this case.
  • Loading branch information
Martchus committed Dec 18, 2018
1 parent 8568128 commit ae79e36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions t/33-developer_mode.t
Original file line number Diff line number Diff line change
Expand Up @@ -508,8 +508,8 @@ subtest 'test cancelled by quitting the session' => sub {
$driver->get($job_page_url);
OpenQA::Test::FullstackUtils::wait_for_result_panel(
$driver,
qr/Result: user_cancelled/,
'test 1 has been cancelled'
qr/Result: (user_cancelled|passed)/,
'test 1 has been cancelled (if it was fast enough to actually pass that is ok, too)'
);
ok(-s path($resultdir, '00000', "00000001-$job_name")->make_path->child('autoinst-log.txt'), 'log file generated');
};
Expand Down

0 comments on commit ae79e36

Please sign in to comment.