Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @FE @FE-Trade
- Feature:[FE] [Trade] Buy, Sell and View Trade Market
- The trade page is the main feature of the website. It allows users to buy/sell/trade
- cryptocurrency as well as display the order book. Users are also able to see
- all of their current and past transactions.
- In the future I would like to add a buy and sell transaction for every currency
- Background: We need to be logged in and on the /trade page
- Given that I am logged in with 'trevordasilva+automation@fingerfoodstudios.com' and 'ffsqatest'
- And I navigate to the Einstein Trade page (/trade)
- And that I have an empty wallet
- @EE-060201
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060203
- Scenario: User attempts to Sell Market with insufficient funds (BTC)
- When I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060205
- Scenario: User attempts to Buy Limit with insufficient funds
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060207
- Scenario: User attempts to Sell Limit with insufficient funds
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060209
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060211
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060301
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060303
- Scenario: User attempts to Sell Market with insufficient funds (ETH)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060305
- Scenario: User attempts to Buy Limit with insufficient funds (ETH)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060307
- Scenario: User attempts to Sell Limit with insufficient funds (ETH)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060309
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060311
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060401
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060403
- Scenario: User attempts to Sell Market with insufficient funds (LTC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060405
- Scenario: User attempts to Buy Limit with insufficient funds (LTC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060407
- Scenario: User attempts to Sell Limit with insufficient funds (LTC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060409
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060411
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060501
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060503
- Scenario: User attempts to Sell Market with insufficient funds (XRP)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060505
- Scenario: User attempts to Buy Limit with insufficient funds (XRP)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060507
- Scenario: User attempts to Sell Limit with insufficient funds (XRP)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060509
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060511
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060601
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060603
- Scenario: User attempts to Sell Market with insufficient funds (DASH)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060605
- Scenario: User attempts to Buy Limit with insufficient funds (DASH)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060607
- Scenario: User attempts to Sell Limit with insufficient funds (DASH)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060609
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060611
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060701
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060703
- Scenario: User attempts to Sell Market with insufficient funds (BCC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060705
- Scenario: User attempts to Buy Limit with insufficient funds (BCC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060707
- Scenario: User attempts to Sell Limit with insufficient funds (BCC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060709
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060711
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060801
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060803
- Scenario: User attempts to Sell Market with insufficient funds (OMG)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060805
- Scenario: User attempts to Buy Limit with insufficient funds (OMG)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060807
- Scenario: User attempts to Sell Limit with insufficient funds (OMG)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060809
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060811
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060901
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060903
- Scenario: User attempts to Sell Market with insufficient funds (EOS)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060905
- Scenario: User attempts to Buy Limit with insufficient funds (EOS)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060907
- Scenario: User attempts to Sell Limit with insufficient funds (EOS)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060909
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-060911
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061001
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061003
- Scenario: User attempts to Sell Market with insufficient funds (ZEC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061005
- Scenario: User attempts to Buy Limit with insufficient funds (ZEC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061007
- Scenario: User attempts to Sell Limit with insufficient funds (ZEC)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061009
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061011
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061101
- Scenario: User attempts to Buy Market with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061103
- Scenario: User attempts to Sell Market with insufficient funds (IOTA)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
- Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061105
- Scenario: User attempts to Buy Limit with insufficient funds (IOTA)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061107
- Scenario: User attempts to Sell Limit with insufficient funds (IOTA)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061109
- Scenario: User attempts to Buy Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
- @EE-061111
- Scenario: User attempts to Sell Stop with insufficient funds (USD)
- When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
- Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
- And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
- And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
- And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
- Then the div with the attribute 'message' containing 'Order has been rejected' appears
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement