Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: The if condition is correct but the step was still failing. #263

Open
1 task done
Shashankh-Naik opened this issue Jan 4, 2023 · 0 comments
Open
1 task done
Assignees
Labels
bug Something isn't working

Comments

@Shashankh-Naik
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

What is the current behavior?

An error message shows success but the condition shows false.
There was this issue where the condition was correct but still it was failing for some reason,
The condition was if the url that I have provided starts with the given test-data if yes then it should execute a certain number of steps.
Even the error message says that: "The TestData starts with the expected value"

What is the expected behavior?

If the condition is true then the test steps passed inside the if condition should be executed

Steps To Reproduce

1.Open any webpage with a long url.eg [https://www.amazon.in/s?k=iphone&crid=LRYXLYA4RQN8&sprefix=iphone%2Caps%2C230&ref=nb_sb_noss_1]

2.Add an if condition [If current url [starts with] https://www.amazon.in]
2.1 Perform certain action

Version

Testsigma Community Edition

@Shashankh-Naik Shashankh-Naik added the bug Something isn't working label Jan 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants