Skip to content

Commit d291f45

Browse files
committed
fix(java): 🐛 fixed failing web local test
1 parent 2b2b9dd commit d291f45

File tree

1 file changed

+1
-0
lines changed
  • core-java/src/test/java/io/github/boykaframework/testng/ui/ecomm

1 file changed

+1
-0
lines changed

core-java/src/test/java/io/github/boykaframework/testng/ui/ecomm/AddCartTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ public void tearDownClass () {
5454
@Test
5555
public void testAddCart () {
5656
navigate ().to ("https://ecommerce-playground.lambdatest.io/");
57+
withMouse (homePage ().getProduct1 ()).scrollIntoView ();
5758
withMouse (homePage ().getProduct1 ()).hover ();
5859
withMouse (homePage ().getAddToCart ()).click ();
5960
withMouse (homePage ().getCloseToast ()).click ();

0 commit comments

Comments
 (0)