Skip to content

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

Draft
dklawren with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-test-selenium-1
Draft

dklawren with Copilot wants to merge 2 commits into
masterfrom
copilot/fix-test-selenium-1

Conversation

Copilot AI commented Nov 6, 2026 •

Copy link
Copy Markdown

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

This branch has not been deployed

No deployments
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