forked from DonJayamanne/pythonVSCode
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugpythonPull requests that update Python codePull requests that update Python codetriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team
Description
The runTests tool cannot find any tests in my E2E tests file (e2e.py), even though it does have many tests. It might be because I named it "e2e.py" instead of "e2e_test.py" or "test_e2e.py", the standard pytest test discovery naming. That's intentional, as I always run it separately from the fast pytest tests.
Here's the file:
https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/tests/e2e.py
GitHub Copilot logs are below.
Version: 1.104.0-insider (Universal)
Commit: e296bdfe0313d571a6f58399b22afd199f6da454
Date: 2025-09-08T05:26:36.685Z
Electron: 37.3.1
ElectronBuildId: 12259562
Chromium: 138.0.7204.235
Node.js: 22.18.0
V8: 13.8.258.31-electron.0
OS: Darwin arm64 23.6.0
Steps to Reproduce:
- Open https://github.com/Azure-Samples/azure-search-openai-demo/
- Use "fixer" mode in GitHub Copilot
- Ask it to run the E2E playwright tests
Tool Call - call_IU2uqaWgR9kLS0x409vkP0n3__vscode-1757360813940
Request
id : call_IU2uqaWgR9kLS0x409vkP0n3__vscode-1757360813940
tool : runTests
args : {
"files": [
"/Users/pamelafox/azure-search-openai-demo/tests/e2e.py"
]
}
Response
No tests found in the files. Ensure the correct absolute paths are passed to the tool.
Metadata
Metadata
Assignees
Labels
bugIssue identified by VS Code Team member as probable bugIssue identified by VS Code Team member as probable bugpythonPull requests that update Python codePull requests that update Python codetriage-neededNeeds assignment to the proper sub-teamNeeds assignment to the proper sub-team