Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .bugster/.update_state.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"timestamp": "2025-07-31T13:03:24.201913",
"commit_hash": "30336045ea177039efffba8f9c2d1d5e3fe0a708",
"branch": "HEAD"
}
12 changes: 10 additions & 2 deletions .bugster/tests/cart/2_remove_item_from_cart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ task: Verify users can remove items from their cart
steps:
- Add a product to cart from the homepage
- Navigate to the cart page
- Verify the item count badge shows the correct number of items
- Verify the estimated delivery date is displayed
- Click the remove button on a cart item
- Verify the item is removed from the cart
- Verify cart total is updated
expected_result: Item is removed from cart and cart is updated
- Verify cart item count badge is updated
- Verify subtotal is updated
- Verify tax amount is recalculated
- "Verify shipping cost is updated (free if subtotal \u2265 $50)"
- Verify free delivery banner appears if subtotal < $50
expected_result: Item is removed from cart, cart total is updated, and all related
cart elements are refreshed including subtotal, tax, shipping cost, item count badge,
and estimated delivery date
18 changes: 18 additions & 0 deletions .bugster/tests/cart/3_apply_promo_code_to_cart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Apply promo code to cart
page: Cart
page_path: app/cart/page.tsx
task: Verify that users can apply and remove promo codes in their shopping cart
steps:
- Add a product to cart from the homepage
- Navigate to the cart page
- Verify the promo code section is displayed in the order summary
- Enter a valid promo code (e.g., 'SAVE10') in the input field
- Click the 'Apply' button
- Verify a success toast message appears confirming the promo code was applied
- Verify the applied promo code is displayed with its description
- Verify a 'Remove' button appears next to the applied promo code
- Click the 'Remove' button
- Verify a success toast message appears confirming the promo code was removed
- Verify the promo code input field reappears
expected_result: User can apply a valid promo code and see it reflected in the order
summary
17 changes: 17 additions & 0 deletions .bugster/tests/cart/4_apply_valid_promo_code_to_shopping_cart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Apply valid promo code to shopping cart
page: Shopping Cart
page_path: app/cart/order-summary.tsx
task: Test the functionality of applying a valid promo code in the shopping cart
steps:
- Navigate to the shopping cart page
- Observe the order summary section
- Find the promo code section
- Enter 'SAVE10' in the promo code input field
- Click the 'Apply' button
- Wait for the promo code to be applied
- Verify that a success toast message appears
- Verify that the applied promo code appears with a green checkmark
- Verify that the promo code description '10% off' is displayed
- Verify that the 'Remove' button is now visible
expected_result: The user should be able to apply a valid promo code, see a success
message, and see the promo code details displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Verify Stickers Page Displays Product Cards
page: StickersPage
page_path: app/stickers/page.tsx
task: Verify that the Stickers page correctly displays all sticker products with their
information
steps:
- Navigate to the stickers page
- Verify the page heading 'Stickers Collection' is displayed
- Verify the subheading 'Discover our amazing collection of high-quality stickers'
is displayed
- Verify that 6 sticker product cards are displayed on the page
- Verify the 'Circle Sticker Pack' product is displayed with price $12.99
- Verify the 'Star Sticker Collection' product is displayed with price $15.99
- Verify the 'Emoji Sticker Set' product is displayed with price $10.99
- Verify the 'Nature Sticker Pack' product is displayed with price $14.99
- Verify the 'Geometric Sticker Set' product is displayed with price $13.99
- Verify the 'Holographic Sticker Pack' product is displayed with price $18.99
- Click on a color option for any product
- Verify the selected color is highlighted
- Click the 'Add to Cart' button for a product
- Verify a success toast message appears confirming the item was added to cart
expected_result: The page should display all 6 sticker products with their names,
prices, descriptions, and color options