Perma [Tier 2 a11y only] TEST-UNEXPECTED-PASS | browser/components/firefoxview/tests/browser/browser_opentabs_more.js | We expect at least one assertion to fail because this test file is marked as fail-if in the manifest. -
Categories
(Firefox :: Firefox View, defect, P5)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox124 | --- | unaffected |
| firefox125 | --- | unaffected |
| firefox126 | --- | fixed |
People
(Reporter: intermittent-bug-filer, Assigned: ayeddi)
References
(Regression)
Details
(Keywords: intermittent-failure, intermittent-testcase, regression)
Attachments
(1 file)
Filed by: smolnar [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=451230967&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/a6ftMF9BT-mJluVJBgVklg/runs/0/artifacts/public/logs/live_backing.log
TEST-PASS | browser/components/firefoxview/tests/browser/browser_opentabs_more.js | One about:blank tab open at the end up test cleanup - ["data:,Window0-Tab0"] deepEqual ["data:,Window0-Tab0"] -
[task 2024-03-19T06:40:27.491Z] 06:40:27 INFO - Leaving test bound toggle_show_more_link
[task 2024-03-19T06:40:27.491Z] 06:40:27 INFO - Console message: 1710830427159 FirefoxView.TabsSetup DEBUG updateViewVisibility for instance: 9393884, visibility: hidden
[task 2024-03-19T06:40:27.492Z] 06:40:27 INFO - Console message: 1710830427159 FirefoxView.TabsSetup DEBUG Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-03-19T06:40:27.493Z] 06:40:27 INFO - Console message: 1710830427159 FirefoxView.TabsSetup DEBUG updateViewVisibility for instance: 7696908, visibility: hidden
[task 2024-03-19T06:40:27.494Z] 06:40:27 INFO - Console message: 1710830427159 FirefoxView.TabsSetup DEBUG Resetting timestamp and tabs pending flags as there are no visible views
[task 2024-03-19T06:40:27.494Z] 06:40:27 INFO - Buffered messages finished
[task 2024-03-19T06:40:27.495Z] 06:40:27 INFO - TEST-UNEXPECTED-PASS | browser/components/firefoxview/tests/browser/browser_opentabs_more.js | We expect at least one assertion to fail because this test file is marked as fail-if in the manifest. -
[task 2024-03-19T06:40:27.496Z] 06:40:27 INFO - TEST-INFO | expected FAIL
[task 2024-03-19T06:40:27.497Z] 06:40:27 INFO - GECKO(1062) | MEMORY STAT | vsize 20169MB | residentFast 615MB | heapAllocated 428MB
[task 2024-03-19T06:40:27.498Z] 06:40:27 INFO - TEST-OK | browser/components/firefoxview/tests/browser/browser_opentabs_more.js | took 3408ms
Comment 1•1 year ago
|
||
@Sam, hi could you take a look at these perma failures?
I think they are caused by latest patches in bug 1877678
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Ah yeah I think the test that fails a11y got moved to browser_opentabs_more.js in the patch on bug 1877678. I did add the fail-if = ["a11y_checks"] for the new file and I just need to remove it from the old entry.
It looks like bug 1877678 hasn't merged yet. I can update that patch or do a fast follow on this bug :smolnar?
Comment 3•1 year ago
|
||
Unfortunately, bug 1877678 has just been merged so you can craft a patch on this bug
Comment 4•1 year ago
|
||
Actually, :ayeddi do you know what is going on here? AFAICT the fail-if = ["a11y_checks"] we had on browser_opentabs_cards.js was for the task that clicks the "view more" button. And in bug 1877678 I moved that test to a new file called browser_opentabs_more.js and took the fail-if with it, and removed the directive from the browser_opentabs_cards.js. There was no functional changes to the test itself, just moving it and giving it a longer timeout. So I'm confused now that I'm getting:
browser/components/firefoxview/tests/browser/browser_opentabs_more.js
UNEXPECTED-PASS We expect at least one assertion to fail because this test file is marked as fail-if in the manifest
Comment 5•1 year ago
|
||
Set release status flags based on info from the regressing bug 1877678
| Assignee | ||
Comment 6•1 year ago
|
||
(In reply to Sam Foster [:sfoster] (he/him) from comment #4)
Actually, :ayeddi do you know what is going on here? AFAICT the
fail-if = ["a11y_checks"]we had on browser_opentabs_cards.js was for the task that clicks the "view more" button. And in bug 1877678 I moved that test to a new file called browser_opentabs_more.js and took the fail-if with it, and removed the directive from the browser_opentabs_cards.js. There was no functional changes to the test itself, just moving it and giving it a longer timeout. So I'm confused now that I'm getting:browser/components/firefoxview/tests/browser/browser_opentabs_more.js UNEXPECTED-PASS We expect at least one assertion to fail because this test file is marked as fail-if in the manifest
Interestingly, the updated version of the Show More link activation has resolved the issue that was there before: the link used to be clicked when it still had hidden attribute on - probably, right before it was rendered as shown/un-hidden, since the test harness is moving too fast. In this updated case, all the instances of the Show More links being clicked while they are visible and, therefore, accessible for the Accessibility API. We could safely remove the fail-if since it's working now as expected!
| Assignee | ||
Comment 7•1 year ago
|
||
the updated version of the Show More link activation has resolved the issue that was there before: the link used to be clicked when it still had hidden attribute on - probably, right before it was rendered as shown/un-hidden, since the test harness is moving too fast. In this updated case, all the instances of the Show More links being clicked while they are visible and, therefore, accessible for the Accessibility API. We could safely remove the fail-if since it's working now as expected
Updated•1 year ago
|
| Assignee | ||
Comment 8•1 year ago
|
||
sent a patch for that :) I like when a11y checks are fixed
Comment 10•1 year ago
|
||
| bugherder | ||
| Comment hidden (Intermittent Failures Robot) |
| Comment hidden (Intermittent Failures Robot) |
Description
•