Closed RutujaNagare closed 4 years ago
You are using ==
which takes a selector and makes sure that it has the right values.
In your code, you are reading the value and trimming it, and then treating that as a selector.
You will want to use ===
instead which does not think its receiving a selector and then doing the comparison, it just does a simple comparison.
Read more here: http://lefthandedgoat.github.io/canopy/assertions.html
I tried with '===' operation and this solution works for me. Thank you so much.
Hi,
I Tried below code to verify the expected value and actual value are equal, even though my values are matching canopy is failing my condition.
Could you please check and suggest a solution?