Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate the cart is empty for a logged-in user on Ajio #49

Open
wants to merge 19 commits into
base: main
Choose a base branch
from

Conversation

DarshanS4444
Copy link

@DarshanS4444 DarshanS4444 commented Jun 16, 2023

Problem: Validate the cart is empty for a logged-in user on Ajio

  • Open AJIO home page
  • Login with a valid user and password
  • Search for a product in Shoes category
  • Wishlist the 7th Product
  • Verify the Wishlist
  • Move the product to cart
  • Validate the cart
  • Remove item from the cart
  • Relaunch the app
  • Verify cart is empty or not

Expectations: We expect the following outcome

  • Use your judgement to put logical assertions and visual validations wherever applicable
  • The assignment should be completed by 5 PM IST on June 16th
  • You have to present the demo for your assignment which should cover:
  • PR for the work completed
  • Local execution report for the working test
  • ReportPortal report of your execution, if applicable

ReportPortal Execution for the test script -
http://reportportal.jio.com:8080/ui/#teswiz/launches/latest/212575

context.getTestStateAsString(SAMPLE_TEST_CONTEXT.LOGGEDIN_USER));
new AjioProductBL()
.removeProductFromCart()
.logoutUser()

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removal of product can be verified without logout

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

user logout and login back to verify removal of product from cart was a part of flow as mentioned in the problem statement.

@DarshanS4444 DarshanS4444 changed the title Ajio-Validate Cart For LoggedIn User Validate the cart is empty for a logged-in user on Ajio Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants