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
6 changes: 3 additions & 3 deletions .bugster/.analysis_state.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"status": "completed",
"started_at": "2025-07-11T15:00:51.174589",
"started_at": "2025-07-11T18:59:22.087577",
"version": "1.0",
"completed": true,
"completed_at": "2025-07-11T15:01:36.816131",
"duration_seconds": 45.641555
"completed_at": "2025-07-11T18:59:54.916205",
"duration_seconds": 32.828634
}
5 changes: 5 additions & 0 deletions .bugster/config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
base_url: http://localhost:3000
credentials: []
project_id: O0QdJvpOlhKg1h65mlwx
project_name: bugster-nextjs-example
x-vercel-protection-bypass: 'WomLYpGCtW4jPpUwbRv0pzZ8Y3zgUhkz'
24 changes: 12 additions & 12 deletions .bugster/next/analysis.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
{
"metadata": {
"timestamp": 1752256861.4664378,
"timestamp": 1752271171.664486,
"version": 2,
"git": {
"branch": "main",
"commit": "e5a609bae1dd6c284cad0c163cc5a9ecbe4dbe38"
"commit": "e3cf3692d82ecbecd44e6b1e84f166c59e830c6f"
}
},
"data": {
"framework": {
"id": "next",
"name": "Next.js",
"dir_path": "/Users/giovaborgogno/repos/bugster/shirt-shop-example/"
"dir_path": "/Users/facundolopezscala/coding-repos/demo-bugster-ecommerce/bugster-nextjs-example/"
},
"router_type": "app",
"stats": {
Expand All @@ -27,12 +27,12 @@
"relative_dir_path": "app",
"content": "import { VercelToolbar } from '@vercel/toolbar/next';\nimport { Analytics } from '@vercel/analytics/next';\nimport type { Metadata } from 'next';\nimport { Toaster } from 'sonner';\n\nimport './globals.css';\nimport { FreeDelivery } from '@/app/free-delivery';\nimport { Footer } from '@/components/footer';\nimport { Navigation } from '@/components/navigation';\n\nexport const metadata: Metadata = {\n title: 'Shirt Shop Example',\n description: 'A shirt shop example for Ecommerce',\n};\n\nexport default function RootLayout({\n children,\n}: Readonly<{\n children: React.ReactNode;\n}>) {\n const showFreeDeliveryBanner = true;\n\n return (\n <html lang=\"en\">\n <body className=\"antialiased\">\n <div className=\"bg-white\">\n <FreeDelivery show={showFreeDeliveryBanner} />\n <Navigation />\n {children}\n <Footer />\n </div>\n <Toaster />\n <Analytics />\n <VercelToolbar />\n </body>\n </html>\n );\n}\n",
"components": [
"Analytics",
"Footer",
"Toaster",
"FreeDelivery",
"Navigation",
"VercelToolbar"
"Analytics",
"VercelToolbar",
"Toaster",
"Navigation"
]
}
],
Expand Down Expand Up @@ -61,15 +61,15 @@
"function"
],
"components": [
"ProductHeader",
"ProductDetails",
"SizePicker",
"Main",
"ColorPicker",
"SizePicker",
"ProductDetails",
"AddToCart",
"ProductHeader",
"SummerSale",
"ProductDetailPageProvider",
"ImageGallery",
"ProductDetailPageProvider"
"Main"
],
"hasParams": false,
"hasForm": false,
Expand Down
6 changes: 3 additions & 3 deletions .bugster/project.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
{
"metadata": {
"timestamp": 1752256854938,
"timestamp": 1752271165315,
"version": 2,
"git": {
"branch": "main",
"commit": "e5a609bae1dd6c284cad0c163cc5a9ecbe4dbe38"
"commit": "e3cf3692d82ecbecd44e6b1e84f166c59e830c6f"
}
},
"data": {
"frameworks": [
{
"id": "next",
"name": "Next.js",
"dir_path": "/Users/giovaborgogno/repos/bugster/shirt-shop-example/"
"dir_path": "/Users/facundolopezscala/coding-repos/demo-bugster-ecommerce/bugster-nextjs-example/"
}
]
}
Expand Down
4 changes: 3 additions & 1 deletion .bugster/tests/1_product_browsing_on_homepage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ steps:
- Verify product images are visible in the gallery
- Verify product name and price are displayed
- Verify product description is visible
- Click the 'Add to Cart' button
- Verify redirection to the cart page without seeing click counter information
expected_result: Product details including images, name, price, and description are
displayed correctly
displayed correctly without click counter functionality
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Verify add-to-cart button without click counter
page: HomePage
page_path: app/page.tsx
task: Verify the Add to Cart button functions correctly without displaying click counter
information
steps:
- Navigate to the homepage
- Select a color option
- Select a size option
- Click the 'Add to cart' button
- Verify the button enters a loading state
- Verify there is no click counter displayed below the button
- Verify user is redirected to the cart page
- Verify the URL is /cart
expected_result: User should be able to add product to cart without seeing any click
count information
5 changes: 3 additions & 2 deletions .bugster/tests/2_add_product_to_cart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ steps:
- Select a color option
- Select a size option
- Click the 'Add to cart' button
- Verify success notification appears
expected_result: Product is added to cart and success notification appears
- Verify redirection to the cart page
- Verify the URL is /cart
expected_result: Product is added to cart and user is redirected to the cart page
13 changes: 13 additions & 0 deletions .bugster/tests/333532_color_selection_changes_product_image.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Color selection changes product image
page: /
page_path: app/page.tsx
task: Verify selecting different colors updates the product image
steps:
- Navigate to the homepage
- Observe the initial product image
- Select a different color option
- Verify the product image changes to show the product in the selected color
- Click the 'Add to cart' button
- Verify user is redirected to the cart page without seeing click count information
expected_result: Product image changes to reflect the selected color without showing
click count information
18 changes: 18 additions & 0 deletions .bugster/tests/342968_size_availability_indication.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Size availability indication
page: /
page_path: app/page.tsx
task: Verify size availability is correctly indicated
steps:
- Navigate to the homepage
- Locate the size picker section
- Observe which sizes are marked as available or unavailable
- Attempt to select an unavailable size
- Verify that unavailable sizes cannot be selected
- Select an available size
- Verify it can be selected successfully
- Click the 'Add to cart' button
- Verify that button transitions to loading state
- Verify navigation redirects to the cart page without showing a click counter
expected_result: Available sizes are selectable while unavailable sizes are disabled
or marked, and selection of available size allows direct addition to cart without
displaying click counter
10 changes: 7 additions & 3 deletions .bugster/tests/3_navigation_to_cart_page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ page_path: app/page.tsx
task: Verify users can navigate to cart page from the navigation menu
steps:
- Navigate to the homepage
- Click on the cart icon in the navigation bar
- Verify redirect to cart page
- Select a color option
- Select a size option
- Click the 'Add to cart' button
- Verify automatic redirect to cart page
- Verify the URL is /cart
expected_result: User is redirected to the cart page
- Verify there is no click counter displayed
expected_result: User is redirected to the cart page directly after adding product
to cart
13 changes: 13 additions & 0 deletions .bugster/tests/515454_navigation_menu_functionality.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Navigation menu functionality
page: /
page_path: app/page.tsx
task: Verify navigation menu links work correctly
steps:
- Navigate to the homepage
- Locate the navigation menu
- Click on the brand logo/name
- Verify it navigates to the homepage
- Click on the cart icon
- Verify it navigates to the cart page without showing any click counter
expected_result: All navigation links direct to the correct pages without displaying
click count
11 changes: 11 additions & 0 deletions .bugster/tests/616364_free_delivery_banner_visibility.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Free delivery banner visibility
page: /
page_path: app/page.tsx
task: Verify the free delivery banner is visible on the homepage
steps:
- Navigate to the homepage
- Observe the top section of the page
- Verify the free delivery banner is visible
- Verify the banner contains the correct delivery information
expected_result: Free delivery banner is displayed at the top of the page with correct
information
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Error handling for adding to cart without selecting options
page: /
page_path: app/page.tsx
task: Verify proper error handling when adding to cart without required selections
steps:
- Navigate to the homepage
- Do not select any color option
- Do not select any size option
- Click the 'Add to cart' button
- Verify no error message appears
- Verify user is redirected to the '/cart' page
expected_result: User is redirected to the cart page without any error notification,
even when attempting to add product without selecting required options
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: Summer sale banner visibility and interaction
page: /
page_path: app/page.tsx
task: Verify the summer sale banner is visible and interactive
steps:
- Navigate to the homepage
- Locate the summer sale banner
- Verify sale information is correctly displayed
- Click on any buttons or links in the banner
- Verify redirection to the cart page with URL /cart
expected_result: Summer sale banner displays correctly and redirects to cart page
when interacted with
13 changes: 13 additions & 0 deletions .bugster/tests/cart/3_update_product_quantity_in_cart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Update product quantity in cart
page: cart
page_path: app/cart/page.tsx
task: Verify users can update the quantity of items in their cart
steps:
- Add a product to cart from the homepage
- Navigate to the cart page
- Find the quantity selector for the cart item
- Increase the quantity by one
- Verify the quantity has been updated
- Verify the cart total price has been updated accordingly
expected_result: The quantity should be updated and cart total should reflect the
change
11 changes: 11 additions & 0 deletions .bugster/tests/cart/4_proceed_to_checkout_from_cart_page.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Proceed to checkout from cart page
page: cart
page_path: app/cart/page.tsx
task: Verify users can proceed to checkout from the cart page
steps:
- Add a product to cart from the homepage
- Navigate to the cart page
- Verify the 'Proceed to Checkout' button is visible
- Click the 'Proceed to Checkout' button
- Verify the checkout process begins
expected_result: User is directed to the checkout process
13 changes: 13 additions & 0 deletions .bugster/tests/cart/5_view_order_summary_in_cart.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: View order summary in cart
page: cart
page_path: app/cart/page.tsx
task: Verify users can view the order summary in the cart page
steps:
- Add multiple products to cart from the homepage
- Navigate to the cart page
- Locate the order summary section
- Verify subtotal matches the sum of all items
- Verify shipping costs are displayed
- Verify taxes are calculated correctly
- Verify the total amount is the sum of subtotal, shipping, and taxes
expected_result: Order summary shows correct subtotal, shipping, taxes, and total
11 changes: 11 additions & 0 deletions .bugster/tests/cart/6_empty_cart_messaging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Empty cart messaging
page: cart
page_path: app/cart/page.tsx
task: Verify appropriate messaging is displayed when cart is empty
steps:
- Navigate to the cart page with an empty cart
- Verify empty cart message is displayed
- Verify there is a 'Continue Shopping' link or button
- Click on 'Continue Shopping'
- Verify user is redirected to the homepage
expected_result: Empty cart message is displayed with option to continue shopping
2 changes: 1 addition & 1 deletion app/add-to-cart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export function AddToCart() {
track('add_to_cart:clicked');
await addToCart({ id: 'shirt', color, size, quantity: 1 });
router.push('/cart');
}}
}}
/>
);
}