Skip to content

Fix test failures from incorrect parameter and outdated selectors#425

Merged
hawkeyexl merged 4 commits intorunnerfrom
copilot/sub-pr-424
Jan 26, 2026
Merged

Fix test failures from incorrect parameter and outdated selectors#425
hawkeyexl merged 4 commits intorunnerfrom
copilot/sub-pr-424

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

Two test files were failing: find_rightClick.spec.json and screenshot.spec.json. Root causes were a bug in driver retry logic and outdated DuckDuckGo page selectors.

Changes

  • Fixed getDriverCapabilities parameter mismatch (src/tests.js:564)

    • Changed config: configrunnerDetails: runnerDetails in headless retry path
    • Function signature expects { runnerDetails, name, options }, not config
  • Updated DuckDuckGo selectors (test/artifacts/)

    • Changed #searchbox_inputinput[name="q"] in test specs
    • Old selector no longer exists on current DuckDuckGo page
  caps = getDriverCapabilities({
-   config: config,
+   runnerDetails: runnerDetails,
    name: context.browser.name,
    options: { ... }
  });

The Windows/macOS compatibility improvements (port checking, hostname detection, platform-specific error messages) remain unchanged.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits January 26, 2026 03:42
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
…ties bug

Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Co-authored-by: hawkeyexl <5209367+hawkeyexl@users.noreply.github.com>
Copilot AI changed the title [WIP] Improve Appium integration and screenshot handling Fix test failures from incorrect parameter and outdated selectors Jan 26, 2026
Copilot AI requested a review from hawkeyexl January 26, 2026 04:05
@hawkeyexl hawkeyexl marked this pull request as ready for review January 26, 2026 13:53
@hawkeyexl hawkeyexl merged commit 9451ff5 into runner Jan 26, 2026
12 checks passed
@hawkeyexl hawkeyexl deleted the copilot/sub-pr-424 branch January 26, 2026 13:53
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.

2 participants