Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gutter icons for running individual tests do not show until after tests have run once #385

Closed
4 tasks done
MetRonnie opened this issue May 16, 2024 · 1 comment
Closed
4 tasks done
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)

Comments

@MetRonnie
Copy link

MetRonnie commented May 16, 2024

Describe the bug

The gutter action icons do not show when you open VSCode.

image

You have to run the tests from the sidebar before the gutter icons show up. (Clicking "refresh tests" is not sufficient)

image

Also, clicking the chevron in the tests tree for any file does not show the tests in the file until after running the tests from the sidebar.

Reproduction

  1. Clone https://github.com/cylc/cylc-ui
  2. yarn install

Output

Before clicking run tests in the sidebar:

[INFO 12:22:55 PM] [v0.10.3] Vitest extension is activated because Vitest is installed or there is a Vite/Vitest config file in the workspace.
[INFO 12:22:55 PM] [API] Running Vitest: v1.6.0 (vite.config.js)
[INFO 12:22:55 PM] [API] Starting Vitest process with Node.js: C:\Program Files\nodejs\node.EXE
[INFO 12:22:57 PM] [API] Vitest process 18872 created
[INFO 12:22:58 PM] [API] Collecting tests: tests/unit/components/cylc/common/filter.spec.js

After clicking run tests in the sidebar:

[INFO 12:23:42 PM] [API] Collecting tests: tests/unit/views/table.vue.spec.js, tests/unit/utils/aotf.spec.js, tests/unit/utils/graph-utils.spec.js, tests/unit/utils/index.spec.js, tests/unit/services/user.service.spec.js
[INFO 12:23:45 PM] Running 1 file(s): tests/unit/components/cylc/common/filter.spec.js

Version

0.10.3

Validations

@sheremet-va sheremet-va added p3-minor-bug An edge case that only affects very specific usage (priority) and removed pending triage labels May 17, 2024
@sheremet-va
Copy link
Member

Can confirm that this only happens on Windows.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
p3-minor-bug An edge case that only affects very specific usage (priority)
Projects
None yet
Development

No branches or pull requests

2 participants