Closed Bug 1185274 Opened 9 years ago Closed 6 years ago

Create a new test for taking a photo with front facing camera

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: pbylenga, Assigned: pbylenga)

Details

Attachments

(1 file)

This should be along the user flow in
https://moztrap.mozilla.org/manage/cases/?filter-id=15800



    Launch Camera App

    Camera app launches

    Tap Camera switch icon

    Viewport switches to Front Facing Camera view

    Tap Settings (Hamburger, 3 lines icon)

    Settings/Options is shown

    Turn on Self-Time and set to 5 seconds

    Options dismisses, icon showing timer is displayed along with text dictating length of timer

    Take a picture

    Count down is displayed, a red circle comes into focus and picture is taken

    Tap picture preview

    Picture preview is displayed
Assignee: nobody → martijn.martijn
Sorry, I didn't know if that was official until now. Peter will take this task as his first automated test. It seems easy enough to ramp up.
Assignee: martijn.martijn → pbylenga
Comment on attachment 8643291 [details] [review]
[gaia] PeterBylenga:bug-1185274 > mozilla-b2g:master

Had to add in a timer to get the animation countdown to fail not as often. Seems wait is firing too fast?
Attachment #8643291 - Flags: review?(onelson)
Attachment #8643291 - Flags: review?(npark)
Attachment #8643291 - Flags: review?(martijn.martijn)
Attachment #8643291 - Flags: review?(jlorenzo)
Attachment #8643291 - Flags: review?(jdorlus)
Attachment #8643291 - Flags: review?(onelson)
Attachment #8643291 - Flags: review?(npark)
Attachment #8643291 - Flags: feedback?(onelson)
Attachment #8643291 - Flags: feedback?(npark)
Comment on attachment 8643291 [details] [review]
[gaia] PeterBylenga:bug-1185274 > mozilla-b2g:master

added some comments in the pull request
Attachment #8643291 - Flags: feedback?(npark)
Comment on attachment 8643291 [details] [review]
[gaia] PeterBylenga:bug-1185274 > mozilla-b2g:master

I think you got already enough feedback from No-Jun ;)
Attachment #8643291 - Flags: review?(martijn.martijn)
Comment on attachment 8643291 [details] [review]
[gaia] PeterBylenga:bug-1185274 > mozilla-b2g:master

That's a good first shot! Like said in the PR, there's some things to fix to make the test pass, and we can do some clean up to make things easier to be read.

More details, there.
Attachment #8643291 - Flags: review?(jlorenzo)
I took a look over the proposed changes on the PR. That is definitely good advice. Removing NI.
Attachment #8643291 - Flags: review?(jdorlus)
Attachment #8643291 - Flags: feedback?(onelson)
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: