From a858f43557222d5379e022a28a8ac1c6d1307c09 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Fri, 6 Jul 2018 15:12:56 +0000 Subject: [PATCH] Test suite: make variables naming more consistent. --- features/step_definitions/browser.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features/step_definitions/browser.rb b/features/step_definitions/browser.rb index f47b342ec5..cd76403c2e 100644 --- a/features/step_definitions/browser.rb +++ b/features/step_definitions/browser.rb @@ -222,15 +222,15 @@ end Then /^I can watch a WebM video in Tor Browser$/ do test_url = 'https://tails.boum.org/lib/test_suite/test.webm' info = xul_application_info('Tor Browser') - open_webm_url = Proc.new do + open_test_url = Proc.new do step "I open the address \"#{test_url}\" in the Tor Browser" end recovery_on_failure = Proc.new do @screen.type(Sikuli::Key.ESC) @screen.waitVanish(info[:browser_reload_button_image], 3) - open_webm_url.call + open_test_url.call end - open_webm_url.call + open_test_url.call retry_tor(recovery_on_failure) do @screen.wait("TorBrowserSampleRemoteWebMVideoFrame.png", 30) end -- GitLab