Closed Bug 1164015 Opened 10 years ago Closed 10 years ago

Update test_setup_and_send_receive_imap_email.py imagecompare test

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: njpark, Assigned: njpark)

Details

Attachments

(1 file)

Found that it was not using the in script method to generate necessary screenshots
Assignee: nobody → npark
QA Contact: npark
Attachment #8604806 - Flags: review?(martijn.martijn)
Comment on attachment 8604806 [details] [review] [gaia] npark-mozilla:1164015 > mozilla-b2g:master What do you mean with "not using the in script method to generate necessary screenshots"? Also, why do you remove the tap_star_button and tap_mark_button part? It's not needed anymore?
Attachment #8604806 - Flags: review?(martijn.martijn) → review+
(In reply to Martijn Wargers [:mwargers] (QA) from comment #2) > Comment on attachment 8604806 [details] [review] > [gaia] npark-mozilla:1164015 > mozilla-b2g:master > > What do you mean with "not using the in script method to generate necessary > screenshots"? > > Also, why do you remove the tap_star_button and tap_mark_button part? It's > not needed anymore? Oh, I defined setup_IMAP method inside the script, so I could take shots while in the setup page. But apparently I was calling the setup_IMAP method inside the email class by mistake. I removed tap_star and tap_mark_button because in the body of the email message, it shows when the message was received, like 'Just Now' or '1 minute ago'. Depending on the network, some took longer than others, and caused the image compare to fail. If the email did not receive anything, it is designed to fail anyways, so I decided to remove those two checks at the expensive of checking the icon state, which is not a major feature of the app.
Keywords: checkin-needed
Keywords: checkin-needed
Ok, thanks for the explanation. The test ran fine on my device, btw (although it's a slow test).
Keywords: checkin-needed
Keywords: checkin-needed
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

Created:
Updated:
Size: