Closed Bug 1011451 Opened 10 years ago Closed 8 years ago

Create a "launch_by_touch" method in Homescreen app object

Categories

(Firefox OS Graveyard :: Gaia::UI Tests, defect, P3)

x86_64
Linux
defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: zcampbell, Unassigned, Mentored)

Details

(Whiteboard: [lang=py])

for coherence with MTBF, add a launch_by_touch method into the Homescreen app object.

This can be used by some functional tests too.
Assignee: nobody → robert.chira
Is such a method required?
The same result can be obtained by using self.homescreen.installed_app(self.APP_NAME).tap_icon().
The example I gave is taken from the test_homescreen_launch_app.py test.
Flags: needinfo?(zcampbell)
Let's ask Walter.

Walter, MTBF could use this existing method and it has the wait built in already.
Flags: needinfo?(zcampbell) → needinfo?(wachen)
That might work. I will give it a shot today and see how it goes.
Flags: needinfo?(wachen)
Flags: needinfo?(wachen)
It is the same thing, but we need the functionality to go forward and backward on homescreen. So, I still prefer using launch_by_touch.
Flags: needinfo?(wachen)
Whiteboard: [mentor=zac][mentor=bebe][lang=py]
This is how MTBF does it, we want to merge this method with the existing functional tests one:

https://github.com/Mozilla-TWQA/MTBF-Driver/blob/master/mtbf_driver/MtbfTestCase.py#L23
Mentor: zcampbell florin.strugariu
Whiteboard: [mentor=zac][mentor=bebe][lang=py] → [lang=py]
Assignee: robert.chira → nobody
As we migrated to the new Home-screen is this functionality still required?
Flags: needinfo?(zcampbell)
Flags: needinfo?(wachen)
Just check homescreen app, launch method is still Base.launch(), and not through tapping icon on homescreen.
I am trying to get MTBF and the functional tests sharing codebase and sharing code more to save is duplicating work, so yes it will still be good to do this provided that Walter and Paul modify MTBF to use the main gaiatest method.
Flags: needinfo?(zcampbell)
Yes, please. It will be a great help.
Flags: needinfo?(wachen)
QA Whiteboard: [fxosqa-auto-backlog-]
is this bug still active, I am under the impression firefox os is not an active project anymore.
This bug was for enriching firefox os test helper which wasn't active; we can close this.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.