Commit 89249f8b authored by intrigeri's avatar intrigeri
Browse files

Test suite: avoid robustness step introducing fragility (refs: #15286)

I've seen cases when the ESC key stroke in "all notifications have disappeared"
closes the very dialog that we'll be looking for in the next step
("I am proposed to install an incremental upgrade to…"). I suspect
this never happened before because the Upgrader took longer to start,
so optimizing it introduced this race condition.

In these scenarios, I doubt that closing notifications is important: the
aforementioned zenity dialog is always displayed in the center of the screen and
there's little change a notification hides it.
parent 05ce1235
......@@ -112,7 +112,6 @@ Feature: Upgrading an old Tails USB installation
And the file system changes introduced in version 2.3~test are not present
When the network is plugged
And Tor is ready
And all notifications have disappeared
Then I am proposed to install an incremental upgrade to version 2.2~test
And I can successfully install the incremental upgrade to version 2.2~test
Given I shutdown Tails and wait for the computer to power off
......@@ -129,7 +128,6 @@ Feature: Upgrading an old Tails USB installation
And Tails is fooled to think that version 2.1~test was initially installed
When the network is plugged
And Tor is ready
And all notifications have disappeared
Then I am proposed to install an incremental upgrade to version 2.3~test
And I can successfully install the incremental upgrade to version 2.3~test
Given I shutdown Tails and wait for the computer to power off
......@@ -154,7 +152,6 @@ Feature: Upgrading an old Tails USB installation
And Tails is fooled to think a 2.1~test SquashFS delta is installed
When the network is plugged
And Tor is ready
And all notifications have disappeared
Then I am proposed to install an incremental upgrade to version 2.2~test
And I can successfully install the incremental upgrade to version 2.2~test
Then only the 2.2~test SquashFS delta is installed
......@@ -167,5 +164,4 @@ Feature: Upgrading an old Tails USB installation
But a current signing key is available on our website
When the network is plugged
And Tor is ready
And all notifications have disappeared
Then I am proposed to install an incremental upgrade to version 2.2~test
Supports Markdown
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