gnome-screenshot test needs drop-shadow feature added
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Autopilot Tests |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Autopilot test: http://
Gnome-screenshot 'Apply effect' drop down box has these attributes:
When trying to use these attributes for instance:
#Select Drop shadow from the Apply effect drop down menu
if self.drop_
elif self.drop_
else:
Autopilot returns this error:
Traceback (most recent call last):
File "/home/
if self.drop_
AttributeError: 'NoneType' object has no attribute 'enabled'
The attribute 'enabled' exists if you look for it with autopilot vis.
Changed in autopilot: | |
status: | New → Confirmed |
summary: |
- autopilot fails to detect screenshot attribute + gnome-screenshot test need drop-shadow feature added |
summary: |
- gnome-screenshot test need drop-shadow feature added + gnome-screenshot test needs drop-shadow feature added |
tags: | added: needs-autopilot-test |
no longer affects: | autopilot |
Hi,
If the object you are looking for exists within the vis tool, but appears not to exist in your autopilot test case, you should probably try using wait_select_single in autopilot 1.4, or something like this in 1.3:
self.assertThat (lambda: self.app. select_ single( 'GtkComboBoxAcc essible' , accessible_ name='none' ), Eventually( NotEquals( None))) shadow_ effect_ none=self. app.select_ single( 'GtkComboBoxAcc essible' , accessible_ name='none' )
self.drop_