thenbe / neotest-playwright

A playwright adapter for neotest.
MIT License
42 stars 5 forks source link

feature: support video attachments for multiple tests #34

Closed catgoose closed 4 months ago

catgoose commented 4 months ago

When executing require("neotest").playwright.attachment() on a description that contains multiple tests with multiple video attachments, there is no way to tell which project video goes with each test:

image

This PR adds result.short to the attachment table and updates the options list for video files:

image

Also, opens text/plain content type with vim.cmd.edit

thenbe commented 4 months ago

Thanks!