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

[Feature]: Show test steps in vscode extension test tree #31079

Open
vitalets opened this issue May 30, 2024 · 1 comment
Open

[Feature]: Show test steps in vscode extension test tree #31079

vitalets opened this issue May 30, 2024 · 1 comment

Comments

@vitalets
Copy link
Contributor

🚀 Feature Request

In vscode extension test tree show executed and failed steps after test run.

Example

I'd like to see the following structure in test explorer:

example.spec.ts
├─ Check title
   ├─ open Playwright site
   ├─ click "Get Started" link
   ├─ check title contains "Installation"

Motivation

Having test steps in test tree allows to instantly understand where error occurs and jump to the corresponding code line.

@dgozman
Copy link
Contributor

dgozman commented May 30, 2024

@vitalets Unfortunately, this is not possible today. VSCode test tree shows only tests, and does not have a notion of "steps". Also, steps are only available after you have run the test, and may change every time you re-run. I don't think VSCode is ready for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants