Clicking "Edit topics" header action button returns AttributeError: 'list' object has no attribute 'click_action_button'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Shorts App |
New
|
Undecided
|
Unassigned |
Bug Description
In autopilot test: test_edit_topic I need to click the header action button "Edit topics" for testing the editing of a topic.
If I use this code:
header = self.get_header()
(see lines 281 and 282 of __init__.py file) running the test returns:
Traceback (most recent call last):
File "/home/
self.
File "/usr/lib/
return f(instance, *args, **kwargs)
File "/home/
header.
AttributeError: 'list' object has no attribute 'click_
I had to use a workaround to make the test work.
I am attaching a screenshot of autopilot vis.
I am also attaching the output of the failed test.