Skip to content

Bug 2091217 - Avoid stale-element failure in bug-edit Selenium test - #2818

Merged
dklawren merged 3 commits into
masterfrom
copilot/fix-test-selenium-1
Nov 10, 2026
Merged

dklawren merged 3 commits into
masterfrom
copilot/fix-test-selenium-1

Conversation

Copilot AI commented Nov 6, 2026 •

Copy link
Copy Markdown
Contributor

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;

Copilot AI balanced review requested due to automatic review settings November 6, 2026 22:51

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review any files in this pull request. Check if the Files changed in this pull request are included in default exclusions.

Co-authored-by: dklawren <826315+dklawren@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job test_selenium_1 Avoid stale-element failure in bug-edit Selenium test Nov 6, 2026
Copilot AI requested a review from dklawren November 6, 2026 23:08
@dklawren
dklawren marked this pull request as ready for review November 10, 2026 02:52
@dklawren dklawren changed the title Avoid stale-element failure in bug-edit Selenium test Bug 2091217 - Avoid stale-element failure in bug-edit Selenium test Nov 10, 2026
@dklawren
dklawren merged commit 27b356e into master Nov 10, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants