Skip to content

[🐛 Bug]: source map tests are failing on Windows #11875

@christian-bromann

Description

@christian-bromann

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

latest

Node.js Version

latest

Mode

WDIO Testrunner

Which capabilities are you using?

any

What happened?

We have source map e2e tests that ensure Serenity tests fail with correct pointers to the source file. Recently these tests started to fail on Windows:

Array [
-   "source-maps.e2e.ts:43:19",
-   "source-maps.e2e.ts:39:12",
-   "source-maps.e2e.ts:35:12",
-   "source-maps.e2e.ts:8:38",
+   "source-maps.e2e.ts?invalidateCache=0.24997314658807124:32",
+   "source-maps.e2e.ts?invalidateCache=0.24997314658807124:29",
+   "source-maps.e2e.ts?invalidateCache=0.24997314658807124:26",
+   "source-maps.e2e.ts?invalidateCache=0.24997314658807124:6",
]

see https://github.com/webdriverio/webdriverio/actions/runs/7225734778/job/19689787689?pr=11874

What is your expected behavior?

I expect the test to pass like in other environments.

How to reproduce the bug.

Revert this commit 73d23a0 and run the test on Windows.

Relevant log output

see above

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

    Labels

    Bug 🐛help wantedIssues that are free to take by anyone interested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions