[autopilot] SystemUpdatesTestCases.test_searching_state assumes ui state to remain "SEARCHING"

Bug #1481664 reported by Jonas G. Drange
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-system-settings (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Reproduce:
Run test a couple of times
UpdateManager fires the checkFinished signal

What happens:
UI state changes to NOUPDATES and the test fails

What should happen:
The test needs to make sure the UI remains in the SEARCHING state

Changed in ubuntu-system-settings (Ubuntu):
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Ken VanDine (ken-vandine) wrote :

I think what we need are tests that test the UI based on forced states. Maybe when run with -testability we disconnect those signals that change the state and control the state changes from the test and use the test to ensure the proper UI elements are shown based on state.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.