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.

Adding playground link when a test fails

See original GitHub issue

Describe the feature you’d like:

The playground link is really useful. Each time find/get function fails, it prints a really long HTML. Maybe you can add the playground link by default, each time

  1. find/get function fails
  2. One of the expect fails. like expect(element).toBeChecked();

Suggested implementation:

  1. Adding the link to getElementError.
  2. I would like to hear what do you think

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:8 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
kentcdoddscommented, Nov 26, 2020

Go for it 💯

1reaction
kentcdoddscommented, Nov 26, 2020

To be clear, I think it should be enabled by default. Just something you can disable globally.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Playground not displaying output | Apple Developer Forums
This is going to sound ridiculous but please bear with me. First, try typing "Hello" at the start of your playground. This checks...
Read more >
Editing and running tests in Playground - Testim overview
In the Testim Codeless tab, hover over the arrow at the place where you want to add the step/s, then click on the...
Read more >
Test my Framework with a Playground - swift - Stack Overflow
My problems arrive when I try to create a Playground to test this project. Here are the steps I've taken to accomplish this:....
Read more >
Test How URLs Open in the Playground Publisher App
To test how URLs open, tap Configure How URLs Open from the Playground Actions. Configure how URLs open. With URL Management, you can...
Read more >
Using testing-playground with React Testing Library
Logging the testing playground from within a test generates a link within your console when you run your tests, which you can open...
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