Closed Bug 1052473 Opened 11 years ago Closed 11 years ago

Fix failure in test_setup_and_send_imap_email.py

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: viorela, Assigned: viorela)

Details

Attachments

(1 file)

In commit https://github.com/mozilla-b2g/gaia/commit/0188b33d33ae111e918e13adf0f36a681fae8e41 a email signature was introduced when creating an email: http://jenkins1.qa.scl3.mozilla.com/view/UI/job/flame.mozilla-central.ui.functional.smoke/64/HTML_Report/ The signature appears in the body of the email, which causes test_setup_and_send_imap_email.py to fail while asserting: https://github.com/mozilla-b2g/gaia/blob/master/tests/python/gaia-ui-tests/gaiatest/tests/functional/email/test_setup_and_send_imap_email.py#L66. We should update our test to use only the body content, and not the signature.
Attachment #8471609 - Flags: review?(dave.hunt)
Attachment #8471609 - Flags: review?(andrei.hutusoru)
Assignee: nobody → viorela.ioia
Comment on attachment 8471609 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22787 Could we do an assertIn instead? I suppose that would make the assertion failure less useful. Maybe a splitlines? See https://docs.python.org/2/library/stdtypes.html#str.splitlines
Attachment #8471609 - Flags: review?(dave.hunt) → review-
Comment on attachment 8471609 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22787 Updated to use assertIn. Can I get another review? Thanks!
Attachment #8471609 - Flags: review- → review?(dave.hunt)
Attachment #8471609 - Flags: review?(andrei.hutusoru) → review?(robert.chira)
(In reply to Viorela Ioia [:viorela] from comment #3) > Comment on attachment 8471609 [details] [review] > Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22787 > > Updated to use assertIn. Can I get another review? Thanks! Actually, I decided to use splitlines instead.
Attachment #8471609 - Flags: review?(robert.chira) → review+
Comment on attachment 8471609 [details] [review] Link to Github pull-request: https://github.com/mozilla-b2g/gaia/pull/22787 Good call. Thanks Viorela!
Attachment #8471609 - Flags: review?(dave.hunt) → review+
Status: NEW → RESOLVED
Closed: 11 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: