[autopilot] SystemUpdatesTestCases.test_searching_state assumes ui state to remain "SEARCHING"
Bug #1481664 reported by
Jonas G. Drange
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 |
To post a comment you must log in.
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.