waitUrlEquals fails on a false-positive
See original GitHub issueProblem: waitUrlEquals
triggers an error even though the assertion should pass.
Code:
Scenario('navigation & routing', async function(I) {
I.amOnPage('http://localhost:8080');
I.click('Buttons', '.side-panel');
I.waitUrlEquals('/buttons/single', 2); // <<< ERROR
});
Result:
-- FAILURES:
1) Example test
navigation & routing:
expected url to be http://localhost:8080/ui/buttons/single, but found:
http://localhost:8080/ui/buttons/single
Is there something I’m doing wrong or is this just a plain bug 🪲 ?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:19
Top Results From Across the Web
waitUrlEquals fails on a false-positive · Issue #2078 - GitHub
Problem: waitUrlEquals triggers an error even though the assertion should pass. Code: Scenario('navigation & routing', async function(I) ...
Read more >Protractor - CodeceptJS
To test non-Angular applications please make sure you have angular: false in ... i.e. offset < 0 will go to the previous handle...
Read more >Releases - CodeceptJS
Fixed false positive result when invalid function is called in a helper. See #2997 (opens new window) by abhimanyupandian ...
Read more >False Positive Pregnancy Test: Chances and Causes
What's more, every pregnancy test is slightly different. Read the instructions before using one to help eliminate the potential for human error ......
Read more >False Positives - Malwarebytes Forums
Is Malwarebytes incorrectly flagging a program or website? Report it here. Forums. File Detections. Report false positives of programs or ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
ohhhh i understand)))
You use waitUrlEquals - and arg must be full url path) For wait part of url please use
waitInUrl
What about your
waitForNavigation
config value?Also, probably we should implement
waitForEvents
method