Skip to content

Create Tests for Homepage Functionality and Product Visibility #34

@rdpfeifle

Description

@rdpfeifle

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions