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)
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.
| Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8471609 -
Flags: review?(dave.hunt)
Attachment #8471609 -
Flags: review?(andrei.hutusoru)
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → viorela.ioia
Comment 2•11 years ago
|
||
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-
| Assignee | ||
Comment 3•11 years ago
|
||
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)
| Assignee | ||
Updated•11 years ago
|
Attachment #8471609 -
Flags: review?(andrei.hutusoru) → review?(robert.chira)
| Assignee | ||
Comment 4•11 years ago
|
||
(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.
Updated•11 years ago
|
Attachment #8471609 -
Flags: review?(robert.chira) → review+
Comment 5•11 years ago
|
||
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+
Comment 6•11 years ago
|
||
Merged on master:
https://github.com/mozilla-b2g/gaia/commit/2a73503ae58d97d27e1c161950858c0fb5363cb3
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.
Description
•