Skip to content

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

Open
@Shashankh-Naik

Description

@Shashankh-Naik

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions