We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab6fa5 commit 21cd373Copy full SHA for 21cd373
1 file changed
src/test/java/com/myProject/stepDefinitions/Search_StepDefs.java
@@ -24,7 +24,7 @@ public void verify_searched_products_is_visible() {
24
25
@Then("Verify all the products related to search are visible")
26
public void verify_all_the_products_related_to_search_are_visible() {
27
- Assert.assertTrue(searchPage.searchedProducts.size() == 1);
+ Assert.assertEquals(1, searchPage.searchedProducts.size());
28
}
29
30
0 commit comments