Skip to content

[🐛 Bug]: Tests run through extension cannot properly resolve baseUrl #73

Closed as not planned
@nextlevelbeard

Description

@nextlevelbeard

Have you read the Contributing Guidelines on issues?

WebdriverIO Extension Version

latest

WebdriverIO Version

latest

Node.js Version

20

Which capabilities are you using?

What happened?

If I set my baseUrl in the wdio.conf.js file to baseUrl: "http://localhost:3000", running outside the extension, the tests run sucessfully. If I press to run with the extension. the tests fail, more specifically, using node's fetch in a custom service to target the baseUrl, fetch will not be able to resolve it.

If I change the baseUrl to baseUrl: "http://[::1]:3000/", it works.

What is your expected behavior?

Domain resolution should just work

How to reproduce the bug.

Relevant log output

-

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions