diff options
author | intrigeri <intrigeri@boum.org> | 2019-01-27 08:22:50 +0000 |
---|---|---|
committer | intrigeri <intrigeri@boum.org> | 2019-01-27 08:22:50 +0000 |
commit | 354db2e5173fc9d18902ac703ac8db7ff3b59900 (patch) | |
tree | e97575ae868bb64f33ebc6ee3cc0fadba376d40f /features | |
parent | 0c75ce62becd7372661624dc9f1b7538f4015c0d (diff) |
Test suite: don't look for an unrelated notification when checking if tails-additional-software-upgrade.service has started (refs: #14596)
This service does not display notifications on success: only
tails-additional-software-install.service does.
Context: I'm trying to wrap my mind around how Additional Software notifications
are handled in the test suite and it confused me a bit that we were looking for
a notification that is unrelated to what this step is testing.
Diffstat (limited to 'features')
-rw-r--r-- | features/step_definitions/additional_software_packages.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/features/step_definitions/additional_software_packages.rb b/features/step_definitions/additional_software_packages.rb index 37ece0c..4ffdec0 100644 --- a/features/step_definitions/additional_software_packages.rb +++ b/features/step_definitions/additional_software_packages.rb @@ -14,7 +14,9 @@ Then /^the Additional Software (upgrade|installation) service has started$/ do | try_for(seconds_to_wait, :delay => 10) do $vm.execute("systemctl status #{service}.service").success? end - step "I am notified that the installation succeeded" + if service == "installation" + step "I am notified that the installation succeeded" + end end end |