Skip to content

test(e2e): add add-to-cart test with POP refactoring#499

Draft
anton-malinovskiy wants to merge 3 commits intomainfrom
e2e-refactor
Draft

test(e2e): add add-to-cart test with POP refactoring#499
anton-malinovskiy wants to merge 3 commits intomainfrom
e2e-refactor

Conversation

@anton-malinovskiy
Copy link

  • Add new add-to-cart.spec.ts test for Abstract Tshirt Ultra Black
  • Update ProductsPage with goto() and clickProduct() methods
  • Update ProductPage with size/variant selection and addToBagWithOptions()
  • Update CartPage with assertProductInCart() and assertCartPageLoaded()

I want to merge this change because...

Pull Request Checklist

  • Test the changes locally to ensure they work as expected.
  • Document the testing process and results in the pull request description. (Screen recording, screenshot etc)
  • Include new tests for any new functionality or significant changes.
  • Ensure that tests cover edge cases and potential failure points.
  • Document the impact of the changes on the system, including potential risks and benefits.
  • Provide a rollback plan in case the changes introduce critical issues.
  • Update documentation to reflect any changes in functionality.

- Add new add-to-cart.spec.ts test for Abstract Tshirt Ultra Black
- Update ProductsPage with goto() and clickProduct() methods
- Update ProductPage with size/variant selection and addToBagWithOptions()
- Update CartPage with assertProductInCart() and assertCartPageLoaded()
@vercel
Copy link

vercel bot commented Nov 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
nimara-docs Error Error Dec 10, 2025 9:09am
nimara-ecommerce Error Error Dec 10, 2025 9:09am
nimara-ecommerce-stripe Error Error Dec 10, 2025 9:09am

- Add cart-negative.spec.ts with 6 negative test scenarios
- Test invalid quantity inputs (zero, negative, non-numeric)
- Test remove product and empty cart behavior
- Update CartPage with methods for negative testing
- Add removeProduct(), updateQuantity(), assertCartIsEmpty()
@vercel vercel bot temporarily deployed to Preview – nimara-ecommerce-stripe December 9, 2025 11:46 Inactive
@vercel vercel bot temporarily deployed to Preview – nimara-ecommerce December 9, 2025 11:46 Inactive
@vercel vercel bot temporarily deployed to Preview – nimara-docs December 9, 2025 11:46 Inactive
- Add FiltersPage page object with filter interaction methods
- Add filters-positive.spec.ts with 6 positive test scenarios
- Add filters-negative.spec.ts with 4 negative test scenarios
- Test filter dialog, checkboxes, sort, and filter application
- Update fixtures to include FiltersPage
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.

1 participant