Fix test-about-support.js::test_display_about_support
Categories
(Thunderbird :: Testing Infrastructure, defect)
Tracking
(Not tracked)
People
(Reporter: aceman, Assigned: aceman)
Details
Attachments
(1 file)
|
3.56 KB,
patch
|
jorgk-bmo
:
review+
|
Details | Diff | Splinter Review |
Seen on Linux at https://treeherder.mozilla.org/#/jobs?repo=comm-central&selectedJob=228461620&revision=e81d47616fa74c9207925f6d6072efb6eff9125d
test-about-support.js::test_display_about_support
EXCEPTION: Found string "null" on the content tab's page
at: test-folder-display-helpers.js line 109
do_throw test-folder-display-helpers.js:109 13
mark_failure logHelper.js:650 3
assert_content_tab_text_absent test-content-tab-helpers.js:407 5
test_display_about_support test-about-support.js:130 5
Even when our account able is populated, the other m-c info fields are populated async after that. Until that is done, we can still hit 'null' in some of them.
So wait until the last info element on the page is not empty.
Comment 2•7 years ago
|
||
I can't see it in the link you gave. Can you post the full link including selectedJob=.
Is this related to the current bustage situation?
Seen in https://treeherder.mozilla.org/#/jobs?repo=comm-central&selectedJob=228747161 and I also saw it locally. It is timing sensitive and just adding some dump()s made it go away. We assumed gAccountDetails variable is set last and accounts-tbody populated last (as that is how the JS in aboutSupport.js looks like) but it is not true. The other m-c fields are set only after our accounts table, it can also be seen visually. So I wait for the intl-osprefs-regionalprefs element too, that is the last one in the xhtml code.
So this change should make it more robust.
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
https://hg.mozilla.org/comm-central/rev/07e28a0420ceb6226f7dc937df841347a2a7a4f0
make waiting for page load in test-about-support.js more robust. r=jorgk CLOSED TREE
Sadly even with this patch the failure is still seen at https://treeherder.mozilla.org/#/jobs?repo=try-comm-central&selectedJob=228904815 :(
Description
•