micro7duylong / ComeBack-Seed

project ComeBack which integrate with OnePos
1 stars 0 forks source link

Feature: Oder a product #2

Closed micro7duylong closed 1 year ago

micro7duylong commented 1 year ago

Feature

@order @product @customer Feature: Create category As a customer of ComeBack client named 'Jim' I want to order the products of them So that I can buy this

Rule 1 : The system is working properly
    Background:
        Given Jim has logged in
        And Jim is on menu order page
    Scenario 1: 
        When Jim  submit buy products form
        Then Jim has those new products
    Scenario 2:         
        When Jim  submits a invalid buy product form
        Then Jim  receives an error message
        And Jim didn't have those new products          
    Scenario 3:
        When Jim  does not submit buy product form
        And Jim didn't have those new products  
    Scenario 4:
        Given Jim bought products called 'iphone x'
        And Jim selected reoder 'iphone x'
        When Jim  submit buy product form
        Then Jim has those new products
Rule 2: The system is not working properly

Technical requirements