Closed Bug 1217485 Opened 9 years ago Closed 9 years ago

Make various methods in cards_view part of class Card instead of class CardsView

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: martijn.martijn, Assigned: martijn.martijn)

References

()

Details

Attachments

(1 file)

A lot of methods like tap_app(), wait_for_card_ready, close_app() should be part of class Card, I think, and not part of CardsView.
Attachment #8678451 - Flags: review?(npark)
Attachment #8678451 - Flags: review?(jlorenzo)
Do we have more consumers of GaiaTest that I'm not aware of?
Comment on attachment 8678451 [details] [review] [gaia] mwargers:1217485 > mozilla-b2g:master Seem like a good cleanup, and the imagecompare tess pass reliably.
Attachment #8678451 - Flags: review?(npark) → review+
Comment on attachment 8678451 [details] [review] [gaia] mwargers:1217485 > mozilla-b2g:master Good cleanup. There're some minor fixes we could do, but I won't block on them. More details in the PR.
Attachment #8678451 - Flags: review?(jlorenzo) → review+
Ok, updated the pull request with the minor fixes in there. I made a pull request for the change needed in mtbtf here: https://github.com/Mozilla-TWQA/MTBF-Driver/pull/114 Only test_mtbf_cards_view_kill_apps_with_two_apps.py needed to change. test_mtbf_cards_view_with_two_apps.py looks totally different, actually. Walter, can you merge this MTBF pull request once the pull request in this bug lands?
Flags: needinfo?(wachen)
(In reply to Martijn Wargers [:mwargers] (QA) from comment #6) > Walter, can you merge this MTBF pull request once the pull request in this > bug lands? Paul merged this, thanks Paul! Merged the pull request in this bug: https://github.com/mozilla-b2g/gaia/commit/1175cde3c59d0de6c6ce7ee2cbadda6667e52e05
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(wachen)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: