Closed Bug 937085 Opened 12 years ago Closed 12 years ago

Write test to flick calendar through months

Categories

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

Other
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.2 fixed)

RESOLVED FIXED
Tracking Status
b2g-v1.2 --- fixed

People

(Reporter: zcampbell, Assigned: johan.lorenzo)

References

Details

(Whiteboard: [gaia-ui-test][mentor=zac][lang=py])

Attachments

(2 files)

Write a test to flick through the calendar month view. Test case: 1. Load calendar app 2. Swipe to the right to go +1 month 3. Assert month has changed (use your best judgement to decide what to assert upon) 4. Swipe back to previous month 5. Assert calendar has swiped back. This should work on desktopb2g so enable for device and desktopb2g tests.
Use marionette action chains to do the flicking. Look at test_gallery_flick.py for code style and samples to work with.
I could attempt this one. Please give me some time to ramp it up.
Assignee: nobody → jhammink
Sorry john, Johan already asked to do this. Apologies, he should be in the assigned field. I will find one for you and assign you to it and email you about it!
Assignee: jhammink → johan.lorenzo
Depends on: 937532
Attachment #8334719 - Flags: review?(trifandreialin)
Attachment #8334719 - Flags: review?(florin.strugariu)
Attachment #8334719 - Flags: review?(andrei.hutusoru)
Attachment #8334719 - Flags: review?
Comment on attachment 8334719 [details] [review] PR https://github.com/mozilla-b2g/gaia/pull/13849 The test looks ok and works OK r- until we solve some small nits
Attachment #8334719 - Flags: review?(florin.strugariu) → review-
Attachment #8334719 - Flags: review?(trifandreialin) → review-
Attachment #8334719 - Flags: review- → review+
Attachment #8334719 - Flags: review?(andrei.hutusoru)
Comment on attachment 8341755 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14318 Uplifted to v1.2
Attachment #8341755 - Flags: review?(trifandreialin)
Attachment #8341755 - Flags: review?(florin.strugariu)
Attachment #8341755 - Flags: review?(bob.silverberg)
Attachment #8341755 - Flags: review?(trifandreialin) → review+
Comment on attachment 8341755 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14318 These changes have regressed test_calendar_new_event_appears_on_all_calendar_views.py. See the PR for details.
Attachment #8341755 - Flags: review?(bob.silverberg) → review-
Comment on attachment 8341755 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14318 Oops, my mistake. The new version of that test hasn't landed on v1.2 yet. This one is good to go.
Attachment #8341755 - Flags: review- → review+
Comment on attachment 8341755 [details] Pointer to Github pull request: https://github.com/mozilla-b2g/gaia/pull/14318 Merge conflicts
Attachment #8341755 - Flags: review?(florin.strugariu) → review-
Andrei can you fix the conflicts pls
Attachment #8341755 - Flags: review- → review?(florin.strugariu)
Status: NEW → RESOLVED
Closed: 12 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: