Perma browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | check country - Got "US", expected "DE"
Categories
(Toolkit :: Form Autofill, defect, P5)
Tracking
()
People
(Reporter: intermittent-bug-filer, Assigned: emilio)
Details
(Keywords: intermittent-failure)
Attachments
(1 file)
48 bytes,
text/x-phabricator-request
|
diannaS
:
approval-mozilla-beta+
|
Details | Review |
Filed by: imoraru [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=371394563&repo=try
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/OhdriRXLRxu5JnREedKFxQ/runs/0/artifacts/public/logs/live_backing.log
Observed both in today's beta as release simulation, so far it only failed on Windows 7 WebRender Shippable.
[task 2022-03-17T15:16:02.866Z] 15:16:02 INFO - TEST-PASS | browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | Border should be transparent so that only the error outline shows -
[task 2022-03-17T15:16:02.866Z] 15:16:02 INFO - Leaving test bound test_combined_name_fields_error
[task 2022-03-17T15:16:02.867Z] 15:16:02 INFO - Entering test bound test_hiddenFieldNotSaved
[task 2022-03-17T15:16:02.867Z] 15:16:02 INFO - expecting record retrievals: addresses
[task 2022-03-17T15:16:02.868Z] 15:16:02 INFO - Buffered messages finished
[task 2022-03-17T15:16:02.869Z] 15:16:02 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | check country - Got "US", expected "DE"
[task 2022-03-17T15:16:02.869Z] 15:16:02 INFO - Stack trace:
[task 2022-03-17T15:16:02.869Z] 15:16:02 INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-03-17T15:16:02.869Z] 15:16:02 INFO - chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/browser_editAddressDialog.js:test_hiddenFieldNotSaved:800
[task 2022-03-17T15:16:02.870Z] 15:16:02 INFO - TEST-PASS | browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | check address-level2 -
[task 2022-03-17T15:16:02.871Z] 15:16:02 INFO - Not taking screenshot here: see the one that was previously logged
[task 2022-03-17T15:16:02.872Z] 15:16:02 INFO - TEST-UNEXPECTED-FAIL | browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | address-level1 should not be saved - Got "ME", expected undefined
[task 2022-03-17T15:16:02.872Z] 15:16:02 INFO - Stack trace:
[task 2022-03-17T15:16:02.872Z] 15:16:02 INFO - chrome://mochikit/content/browser-test.js:test_is:1422
[task 2022-03-17T15:16:02.872Z] 15:16:02 INFO - chrome://mochitests/content/browser/browser/extensions/formautofill/test/browser/browser_editAddressDialog.js:test_hiddenFieldNotSaved:806
[task 2022-03-17T15:16:02.873Z] 15:16:02 INFO - expecting record retrievals: addresses
[task 2022-03-17T15:16:02.874Z] 15:16:02 INFO - expecting address removed
[task 2022-03-17T15:16:02.874Z] 15:16:02 INFO - expecting record retrievals: creditCards
[task 2022-03-17T15:16:02.875Z] 15:16:02 INFO - Leaving test bound test_hiddenFieldNotSaved
[task 2022-03-17T15:16:02.875Z] 15:16:02 INFO - Entering test bound test_hiddenFieldRemovedWhenCountryChanged
[task 2022-03-17T15:16:02.876Z] 15:16:02 INFO - expecting record retrievals: addresses
[task 2022-03-17T15:16:02.877Z] 15:16:02 INFO - TEST-PASS | browser/extensions/formautofill/test/browser/browser_editAddressDialog.js | no addresses at start of test -
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 3•1 year ago
|
||
Comment 4•1 year ago
•
|
||
Hi Dimi! Can you please take a look at this? This is permafailing since the test got re-enabled in Bug 1717432.
Comment hidden (Intermittent Failures Robot) |
Comment 6•1 year ago
|
||
This fails only on macosx1015-64-shippable-qr and macosx1100-64-shippable-qr opt builds.
Comment hidden (Intermittent Failures Robot) |
Comment 8•1 year ago
|
||
Hi Emilio
The testcase failure on mac seems to be related to whether we reset IncrementalString of HTMLSelectEventListener.
In some of the formautofill testcase, we do the following:
- focus on a <select> and then call
synthesizeKey(xxx)
- focus on another <select> and then call
synthesizeKey(yyy)
In the failed case,incrementalString
in step2 isxxxyyy
instead ofyyy
I would like to know if this is something we should workaround in our formautofill test code? or this is something we want to fix in HTMLSelectEventListener
. Thanks!
Example testcase code
https://searchfox.org/mozilla-central/rev/26a1b0fce12e6dd495a954c542bb1e7bd6e0d548/browser/extensions/formautofill/test/browser/browser_editAddressDialog.js#792-795
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 9•1 year ago
|
||
Switching focus seems like a reasonable reason to start the search
again.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ffb77d4ce793 Make incremental search string handling local to a given element. r=dimi
Comment hidden (Intermittent Failures Robot) |
Comment 12•1 year ago
|
||
bugherder |
Comment 13•1 year ago
|
||
This is perma-failing on mozilla-beta: https://treeherder.mozilla.org/logviewer?job_id=373444248&repo=mozilla-beta&lineNumber=5216
Assignee | ||
Comment 14•1 year ago
|
||
I guess we could uplift the fix, it's not too risky.
Assignee | ||
Comment 15•1 year ago
|
||
Comment on attachment 9270685 [details]
Bug 1760059 - Make incremental search string handling local to a given element. r=dimi
Beta/Release Uplift Approval Request
- User impact if declined: None, in practice. Fixes some perma-failures on beta.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: none
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Relatively straight-forward fix to make autocomplete search local to an element.
- String changes made/needed: none
Comment 16•1 year ago
|
||
Comment on attachment 9270685 [details]
Bug 1760059 - Make incremental search string handling local to a given element. r=dimi
Approved for 100.0b2.
Comment 17•1 year ago
|
||
bugherderuplift |
Comment hidden (Intermittent Failures Robot) |
Description
•