Skip to content

chore: rename cmp.test.tsx files in wdio directory to have unique names for debugging purposes #6407

Description

@jttommy

Currently when writing and debugging tests inside test/wdio/ directory all test files are names cmp.test.tsx This makes debugging broken tests nearly impossible because the output of the tests is:

[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0]  Error:  Test failed due to following error(s):
  - cmp.test.tsx?import 54:26 Uncaught JestAssertionError2: Failed to execute expect command "toMatchInlineSna…:532:35)
    at process.emit (node:domain:488:12): undefined

[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.
[0-0] [vite] connected.

I propose we have a chore ticket to simply rename those duplicate filenames to be unique.

Activity

  1. johnjenkins commented on Oct 2, 2025

    @johnjenkins
    Contributor

    Hard agree!

  2. added
    Good First Issue
    on Oct 10, 2025
  3. added theissue type on Jan 16, 2026
  4. TiwariLokesh commented on Mar 12, 2026

    @TiwariLokesh

    Hi! I would like to work on this issue. Could it be assigned to me?

  5. johnjenkins commented on Mar 12, 2026

    @johnjenkins
    Contributor

    hi @TiwariLokesh - thanks for asking(!) but actually I'm going through this now as part of the v5 major version whilst converting all the tests to use vitest.

  6. added
    Stencil v5
    and removed
    Good First Issue
    on Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stencil v5

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions