Closed
Bug 2091217
Opened 10 days ago
Closed 10 days ago
Avoid stale-element failure in bug-edit Selenium test
Categories
(bugzilla.mozilla.org :: Continous Integration, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: dkl, Assigned: dkl)
Details
Attachments
(1 external file)
The test_selenium_1 job repeatedly failed in 1_test_bug_edit.t with a stale-element reference while checking whether the QA-Selenium-TEST group checkbox was editable.
- Change: Read the checkbox’s disabled state in one browser-side query, avoiding a separate WebDriver element lookup and state check.
return document.querySelector(
'input[type="checkbox"][name="groups"][value="QA-Selenium-TEST"]'
).disabled;
| Assignee | ||
Comment 1•10 days ago
|
||
| Assignee | ||
Comment 2•10 days ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 days ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•