Commit e9766762 authored by Andy Soiron's avatar Andy Soiron

Merge branch 'psi-no-open-headless' into 'master'

Don't open live_debug browser in non-headless mode

See merge request gitlab-org/gitlab!69613
parents 0873a512 67496b66
...@@ -16,7 +16,7 @@ module LiveDebugger ...@@ -16,7 +16,7 @@ module LiveDebugger
puts "The current user credentials are: #{@current_user.username} / #{@current_user.password}" if @current_user puts "The current user credentials are: #{@current_user.username} / #{@current_user.password}" if @current_user
puts "Press any key to resume the execution of the example!!" puts "Press any key to resume the execution of the example!!"
`open #{current_url}` if is_headless_disabled? `open #{current_url}` unless is_headless_disabled?
loop until $stdin.getch loop until $stdin.getch
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment