question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Screenshots On Failure Are Not Saved When Using REST Helper

See original GitHub issue

What are you trying to achieve?

Have a screenshot saved on failure https://codecept.io/basics/#screenshot-on-failure

What do you get instead?

Screenshot is not saved in /output The bug was introduced in 2.6.7. In 2.6.6 it works fine

Details

  • CodeceptJS version: 2.6.7
  • NodeJS Version: v12.16.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
PeterNgTrcommented, Jul 30, 2020

@PeterNgTr sounds good to me, thanks. Are you going to open a PR?

hey @pablopaul here is the fix https://github.com/codeceptjs/CodeceptJS/pull/2513

0reactions
pablopaulcommented, Jul 30, 2020

@PeterNgTr sounds good to me, thanks. Are you going to open a PR?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Taking screenshots on failure using Robot framework
I want to know how to capture screenshots on failure. Doesnt robot framework automatically take screenshots if script fails? An example will be ......
Read more >
How to Capture Screenshot in Selenium for Failed Test Cases
Today we will see something different How to capture a screenshot for failed test cases in Selenium Webdriver. Here I will be using...
Read more >
Capture Screenshots for Failed Steps in Cucumber BDD ...
If we look at the problem statement carefully, we need to capture screenshot only if test gets failed. This can be achieved with...
Read more >
Couldn-t-capture-screenshot-Problem-encountered-while ...
I am having the subjected problem. Using this phone for about a month. Torrent is also not downloading. currently on Nouget. Please help....
Read more >
Managing automatic test screenshot settings
Capturing many screenshots can impair test performance. ... Use the Flow Designer help panel ... Confluent Kafka REST Proxy spoke.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found