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

Create Tests for Homepage Functionality and Product Visibility #34

Open
3 of 8 tasks
rdpfeifle opened this issue Jan 8, 2024 · 0 comments · May be fixed by #35
Open
3 of 8 tasks

Create Tests for Homepage Functionality and Product Visibility #34

rdpfeifle opened this issue Jan 8, 2024 · 0 comments · May be fixed by #35
Assignees

Comments

@rdpfeifle
Copy link
Owner

rdpfeifle commented Jan 8, 2024

Summary

Develop a suite of tests to verify various functionalities on the homepage, including the visibility of products, the functionality of buttons, and other interactive elements.

Acceptance Criteria

  • Verify 'Urban Grace' as the page title.
  • Ensure at least one product is displayed in the #products-container.
  • Confirm that each product card correctly renders details such as the product image, title, category, price, and the 'Add to Cart' button.
  • Verify that the 'Add to Cart' button becomes invisible or changes state after clicking it.
  • Ensure the quantity modification options (- [qty] +) are visible when 'Add to Cart' is clicked.
  • Confirm that the UI state updates appropriately when 'Add to Cart' is clicked.
  • Validate that the product quantity is correctly updated in the UI when modified, both in the .qty-counter and the .cart-container span.
  • Test the functionality of opening the cart when the cart button is clicked.
@rdpfeifle rdpfeifle self-assigned this Jan 8, 2024
@rdpfeifle rdpfeifle moved this from Todo to In Progress in eCommerce with Vanilla JS Jan 8, 2024
@rdpfeifle rdpfeifle linked a pull request Jan 8, 2024 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging a pull request may close this issue.

1 participant