Skip to content

[BUG] Output folder is not cleaned before execution tests using "Run Tests"/"Run Test" in VS Code Playwright extension #27984

Open

Description

Context:

  • Playwright Version: 1.35.0, 1.39.0
  • Operating System: Windows
  • Node.js version: v18.15.0
  • Visual Studio Code version: 1.84.0
  • Playwright for VSCode extension version: 1.0.17
  • Browser: Chrome
  • Extra: -

Steps to reproduce:

  1. Write initial data in output test folder. In current case default folder was used: './test-results'
  2. Execute tests via "Run Tests"/"Run Test" button in VS Code Playwright extension
  3. Observe that data in output test folder is not cleaned

Actual result:
Data in output test folder is not cleaned before run.

Expected result:
Data in output test folder must be cleaned before run.

Note: "Debug Tests"/"Debug Test" works fine (data in output test folder is cleaned before run)

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

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