Gedit Test Needed: Test Highlighted Text

Bug #1207738 reported by Dan Chapman 
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Autopilot Tests
Fix Released
Undecided
Dan Chapman 

Bug Description

Currently, there isn't actually a way this test could fail. And doesn't introspect any of the objects properties that it is testing.
With it just using the keyboard throughout this test. There is no way of reliably determining the actions it is supposed to implement actually occurred.

To further improve this test it needs

1) Introspect the search box, check its visible
2) Enter search query and assert that the search box text property matches our query
3) Now, although we can see the documents text through its buffer property we cannot see it has been highlighted, so instead when doing a search say for 'The' if you then hit enter twice 'The' will get deleted and we can check the buffer property that it has in fact gone. So this way we can say well gedit 'picked up' (highlighted) our search, which we were then able to remove.

Tags: todo

Related branches

Dan Chapman  (dpniel)
description: updated
tags: added: todo
Dan Chapman  (dpniel)
Changed in ubuntu-autopilot-tests:
assignee: nobody → Dan Chapman (dpniel)
status: New → In Progress
Dan Chapman  (dpniel)
Changed in ubuntu-autopilot-tests:
status: In Progress → Fix Committed
Dan Chapman  (dpniel)
Changed in ubuntu-autopilot-tests:
status: Fix Committed → Fix Released
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.