Skip to content

Commit

Permalink
Modified Remove product details code
Browse files Browse the repository at this point in the history
  • Loading branch information
Krithikj20 committed Mar 29, 2024
1 parent c7a1cf2 commit f6c28ab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/test/java/RemoveProduct.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ public void removeProduct() {
RemoveProductPageObjects remove = new RemoveProductPageObjects(driver);
remove.setSearch();
remove.setAddToCartButton();

Assert.assertEquals(remove.removeItem(), "Your Amazon Cart is empty.");
System.out.println("Product Removed");
}
}

0 comments on commit f6c28ab

Please sign in to comment.