Skip to content

Clipboard doesn't update for local windows tests #2913

Open
@AndreasArvidsson

Description

@AndreasArvidsson

Work in production, debugging and in ci tests, but on my local windows machine when I'm running the tests all tests that update the clipboard fail. eg recorded test cases recorded/actions/copySecondToken

It's this line that fails:

await vscode.commands.executeCommand("editor.action.clipboardCopyAction");

I double checked and the selection is correct before running this command and still afterwards the clipboard is unchanged. I tested adding sleeps both before and after, but no go.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions