Closed Bug 1019894 Opened 10 years ago Closed 10 years ago

[Vertical Homescreen] Migrate test_homescreen_launch_app.py and test_homescreen_delete_app.py

Categories

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

ARM
Gonk (Firefox OS)
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jlorenzo, Assigned: zcampbell)

References

Details

Attachments

(1 file)

76 bytes, text/plain
jlorenzo
: review+
viorela
: review+
Details
We need to migrate test_homescreen_launch_app.py to be running on the new Vertical Homescreen.

See Bug 1019891 for patch proposal instructions.
These two tests are very similar so can be done at once.
Summary: [Vertical Homescreen] Migrate test_homescreen_launch_app.py → [Vertical Homescreen] Migrate test_homescreen_launch_app.py and test_homescreen_delete_app.py
Assignee: nobody → zcampbell
Blocks: 1019901
Attached file git commit
This migrates *only* the methods used by test_delete and test_install

Rebuild your python env before you r? it.

It will have to be merged inconjunction with all the other tests, but we can pre-prepare the commits.
Attachment #8434998 - Flags: review?(viorela.ioia)
Attachment #8434998 - Flags: review?(jlorenzo)
Comment on attachment 8434998 [details]
git commit

LGTM. Both tests work on my Flame. I left one minor question about the name of the app.

Another question: Is it an issue if we cannot see the marionette deleting the icon because the icon is off-screen?
Attachment #8434998 - Flags: review?(jlorenzo) → review+
(In reply to Johan Lorenzo [:jlorenzo] from comment #4)
> Comment on attachment 8434998 [details]
> git commit
> 
> LGTM. Both tests work on my Flame. I left one minor question about the name
> of the app.
> 
> Another question: Is it an issue if we cannot see the marionette deleting
> the icon because the icon is off-screen?

Yes but the manifest name is "Vertical" !
https://github.com/mozilla-b2g/gaia/blob/master/apps/verticalhome/manifest.webapp#L2

The delete is robust because it checks the item is not present at all rather than just not displayed.
Blocks: 1019900
Priority: -- → P1
Blocks: 1021069
Blocks: 1021098
Comment on attachment 8434998 [details]
git commit

lgtm, tests are running really nice! :)
Attachment #8434998 - Flags: review?(viorela.ioia) → review+
Fixed in:
https://github.com/mozilla-b2g/gaia/commit/4b879aaba35607fa7e919e97cd99ba798a023d47
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: