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.

Do not fail verification test when provider state doesn't exist.

See original GitHub issue

Is there any way to do not fire error when state on a provider side is not defined?

There are cases when Consumer defines state, e.g. “products exist” but Provider shouldn’t do something special inside provider state method. But if method with @State is not defined it fails.

How to do not fail without having @State?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
uglyogcommented, Dec 12, 2020

I’ve added an @IgnoreMissingStateChange annotation which you can add to your test class

0reactions
danilchicancommented, Dec 13, 2020

@uglyog , great! Thanks for quick improvement.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I verify existence of a control without throwing an error?
I am interested to know how to verify whether or not a control exists on a web page without throwing an error.
Read more >
User account from identity provider does not exist in tenant ...
The error message states: User account {email} from identity provider {idp} does not exist in tenant {tenant} and cannot access the ...
Read more >
Target of URI doesn't exist 'package:flutter/material.dart ...
If you execute From the terminal: "Run flutter packages get" and the error continues, check is all packages ...
Read more >
Resolve the "Parameter validation failed" error in AWS ...
How do I resolve the "Parameter validation failed: parameter value 'abc' for parameter name 'ABC' does not exist" error in CloudFormation?
Read more >
My domain verification failed - Google Workspace Admin Help
Wait 48 hours—Sometimes it takes up to 48 hours for the domain to be verified. Re-enter the verification record—It's possible the verification record...
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