Test suite: lost click on "Start Tor Browser"
I’ve seen “And I start the Tor Browser in offline mode” fail because the click on “Start Tor Browser” was apparently lost:
04:58:52.065053713: [log] TYPE "T"
04:58:54.516898107: [log] TYPE "or Browser"
04:58:56.580096943: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1134 = dogtail.tree.root.application('zenity')
04:58:56.607834339: [log] ( Ctrl ) TYPE "#ENTER."
04:58:58.457978255: execution complete
04:58:58.458331308: executing Python as amnesia: node1135 = node1134.dialog('Tor is not ready')
04:58:58.506081213: execution complete
04:58:58.506334979: executing Python as amnesia: node1136 = node1135.button('Start Tor Browser')
04:58:58.561561722: execution complete
04:58:58.561759847: executing Python as amnesia: node1136.grabFocus()
04:58:58.608357674: execution complete
04:58:58.608560393: executing Python as amnesia: node1136.click()
04:58:59.698056097: execution complete
04:58:59.698487564: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1137 = dogtail.tree.root.application('Firefox')
04:59:10.477134465: execution complete
04:59:11.477608075: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1138 = dogtail.tree.root.application('Firefox')
04:59:22.211539304: execution complete
04:59:23.211989771: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1139 = dogtail.tree.root.application('Firefox')
04:59:33.998101805: execution complete
04:59:34.998709632: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1140 = dogtail.tree.root.application('Firefox')
04:59:45.727279095: execution complete
04:59:46.727807251: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1141 = dogtail.tree.root.application('Firefox')
04:59:57.577689775: execution complete
04:59:58.578358027: executing Python as amnesia:
import dogtail.config
import dogtail.tree
import dogtail.predicate
import dogtail.rawinput
dogtail.config.logDebugToFile = False
dogtail.config.logDebugToStdOut = False
dogtail.config.blinkOnActions = True
dogtail.config.searchShowingOnly = True
node1142 = dogtail.tree.root.application('Firefox')
And I start the Tor Browser in offline mode # features/step_definitions/common_steps.rb:372
try_for() timeout expired
Last ignored exception was: RuntimeError: The Dogtail script raised: SearchError: child of [desktop frame | main]: "Firefox" application (Timeout::Error)
./features/support/helpers/misc_helpers.rb:89:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:36:in `/^the Tor Browser (?:has started|starts)( in offline mode)?$/'
features/torified_browsing.feature:148:in `And I start the Tor Browser in offline mode'
This might be another instance of #12191. Adding showingOnly: true
would not hurt.
Feature Branch: https://salsa.debian.org/tails-team/tails/merge_requests/37#note_108671
Attachments
Related issues
Original created by @intrigeri on 17027 (Redmine)