mbolotov / intellij-cypress

IntelliJ-Cypress plugin: https://plugins.jetbrains.com/plugin/13819-intellij-cypress Pro version: https://plugins.jetbrains.com/plugin/13987-cypress-support-pro
MIT License
35 stars 5 forks source link

Feature idea: Make opening a screenshot available in the test result list #8

Closed pszalanski closed 4 years ago

pszalanski commented 4 years ago

I just installed your extension yesterday and love it! ❤️ Thank you for this plugin.

However, one thing would make my testing feedback loop a little more efficient. I would like to access the screenshot of a particular failed run right from the test result list. An entry in the context menu would be nice, or some sort of button in the test list.

Do you think that's doable?

mbolotov commented 4 years ago

hi @pszalanski! Thanks for you idea, it looks great. I took a brief view into the code and I think this is doable.

Just one question. Cypress can store multiple screenshot for a single test (e.g. generated by the cy.screenshot() command or something remaining from previous runs) Do we want to display the latest one in this case?

pszalanski commented 4 years ago

How about a list? Or the latest screenshot is also a nice idea.

mbolotov commented 4 years ago

this feature is available now in 1.3 (base) and 1.4 (pro) plugin versions.

pszalanski commented 4 years ago

Thank you! It works perfectly 😄

mbolotov commented 4 years ago

It's no trouble. Just forgot to mention that 'last screenshot/screenshot selection list' behavior can be configured in the test view settings: image