Gedit, needs to assert the file saved
Bug #1206381 reported by
Dan Chapman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Autopilot Tests |
Fix Released
|
Undecided
|
Dan Chapman |
Bug Description
Currently the test checks that an asterisk is not in the gedit tab, but doesn't actually check the file system for the file. This is easily done using the testtools matcher - FileExists. So needs updating
Related branches
lp:~dpniel/ubuntu-autopilot-tests/gedit
- Nicholas Skaggs (community): Approve
-
Diff: 1347 lines (+936/-357)9 files modifiedubuntu_autopilot_tests/gedit/__init__.py (+154/-0)
ubuntu_autopilot_tests/gedit/samples/gedit.c (+8/-0)
ubuntu_autopilot_tests/gedit/samples/gedit.cpp (+8/-0)
ubuntu_autopilot_tests/gedit/samples/gedit.py (+6/-0)
ubuntu_autopilot_tests/gedit/samples/gedit.vala (+9/-0)
ubuntu_autopilot_tests/gedit/samples/gedit.xml (+21/-0)
ubuntu_autopilot_tests/gedit/samples/gedit1.c (+8/-0)
ubuntu_autopilot_tests/gedit/samples/test (+1/-0)
ubuntu_autopilot_tests/gedit/test_gedit.py (+721/-357)
Changed in ubuntu-autopilot-tests: | |
assignee: | nobody → Dan Chapman (dpniel) |
Changed in ubuntu-autopilot-tests: | |
status: | New → In Progress |
Changed in ubuntu-autopilot-tests: | |
status: | In Progress → Fix Committed |
Changed in ubuntu-autopilot-tests: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Also using the matcher FIleContains we can test that the saved document contains what we entered.