Advertisement
Guest User

Trade.feature

a guest
Feb 21st, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 39.98 KB | None | 0 0
  1. @FE @FE-Trade
  2.  
  3. Feature:[FE] [Trade] Buy, Sell and View Trade Market
  4.  
  5.   The trade page is the main feature of the website. It allows users to buy/sell/trade
  6.   cryptocurrency as well as display the order book. Users are also able to see
  7.   all of their current and past transactions.
  8.   In the future I would like to add a buy and sell transaction for every currency
  9.  
  10.   Background: We need to be logged in and on the /trade page
  11.     Given that I am logged in with 'trevordasilva+automation@fingerfoodstudios.com' and 'ffsqatest'
  12.     And I navigate to the Einstein Trade page (/trade)
  13.     And that I have an empty wallet
  14.  
  15.   @EE-060201
  16.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  17.     When I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  18.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  19.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  20.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  21.  
  22.   @EE-060203
  23.   Scenario: User attempts to Sell Market with insufficient funds (BTC)
  24.     When I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  25.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  26.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  27.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  28.  
  29.   @EE-060205
  30.   Scenario: User attempts to Buy Limit with insufficient funds
  31.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  32.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  33.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  34.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  35.  
  36.   @EE-060207
  37.   Scenario: User attempts to Sell Limit with insufficient funds
  38.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  39.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  40.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  41.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  42.  
  43.   @EE-060209
  44.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  45.     When I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  46.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  47.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  48.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  49.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  50.  
  51.   @EE-060211
  52.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  53.     When I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  54.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  55.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  56.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  57.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.   @EE-060301
  65.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  66.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
  67.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  68.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  69.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  70.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  71.  
  72.   @EE-060303
  73.   Scenario: User attempts to Sell Market with insufficient funds (ETH)
  74.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
  75.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  76.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  77.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  78.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  79.  
  80.   @EE-060305
  81.   Scenario: User attempts to Buy Limit with insufficient funds (ETH)
  82.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
  83.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  84.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  85.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  86.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  87.  
  88.   @EE-060307
  89.   Scenario: User attempts to Sell Limit with insufficient funds (ETH)
  90.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
  91.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  92.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  93.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  94.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  95.  
  96.   @EE-060309
  97.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  98.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
  99.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  100.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  101.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  102.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  103.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  104.  
  105.   @EE-060311
  106.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  107.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ETHUSD']'
  108.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  109.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  110.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  111.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  112.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.   @EE-060401
  120.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  121.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
  122.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  123.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  124.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  125.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  126.  
  127.   @EE-060403
  128.   Scenario: User attempts to Sell Market with insufficient funds (LTC)
  129.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
  130.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  131.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  132.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  133.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  134.  
  135.   @EE-060405
  136.   Scenario: User attempts to Buy Limit with insufficient funds (LTC)
  137.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
  138.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  139.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  140.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  141.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  142.  
  143.   @EE-060407
  144.   Scenario: User attempts to Sell Limit with insufficient funds (LTC)
  145.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
  146.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  147.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  148.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  149.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  150.  
  151.   @EE-060409
  152.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  153.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
  154.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  155.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  156.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  157.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  158.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  159.  
  160.   @EE-060411
  161.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  162.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='LTCUSD']'
  163.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  164.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  165.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  166.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  167.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.   @EE-060501
  176.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  177.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
  178.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  179.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  180.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  181.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  182.  
  183.   @EE-060503
  184.   Scenario: User attempts to Sell Market with insufficient funds (XRP)
  185.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
  186.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  187.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  188.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  189.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  190.  
  191.   @EE-060505
  192.   Scenario: User attempts to Buy Limit with insufficient funds (XRP)
  193.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
  194.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  195.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  196.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  197.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  198.  
  199.   @EE-060507
  200.   Scenario: User attempts to Sell Limit with insufficient funds (XRP)
  201.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
  202.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  203.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  204.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  205.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  206.  
  207.   @EE-060509
  208.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  209.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
  210.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  211.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  212.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  213.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  214.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  215.  
  216.   @EE-060511
  217.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  218.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='XRPUSD']'
  219.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  220.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  221.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  222.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  223.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  224.  
  225.  
  226.  
  227.  
  228.  
  229.   @EE-060601
  230.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  231.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
  232.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  233.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  234.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  235.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  236.  
  237.   @EE-060603
  238.   Scenario: User attempts to Sell Market with insufficient funds (DASH)
  239.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
  240.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  241.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  242.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  243.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  244.  
  245.   @EE-060605
  246.   Scenario: User attempts to Buy Limit with insufficient funds (DASH)
  247.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
  248.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  249.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  250.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  251.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  252.  
  253.   @EE-060607
  254.   Scenario: User attempts to Sell Limit with insufficient funds (DASH)
  255.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
  256.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  257.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  258.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  259.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  260.  
  261.   @EE-060609
  262.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  263.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
  264.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  265.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  266.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  267.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  268.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  269.  
  270.   @EE-060611
  271.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  272.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='DASHUSD']'
  273.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  274.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  275.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  276.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  277.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  278.  
  279.  
  280.  
  281.  
  282.  
  283.   @EE-060701
  284.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  285.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
  286.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  287.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  288.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  289.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  290.  
  291.   @EE-060703
  292.   Scenario: User attempts to Sell Market with insufficient funds (BCC)
  293.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
  294.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  295.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  296.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  297.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  298.  
  299.   @EE-060705
  300.   Scenario: User attempts to Buy Limit with insufficient funds (BCC)
  301.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
  302.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  303.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  304.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  305.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  306.  
  307.   @EE-060707
  308.   Scenario: User attempts to Sell Limit with insufficient funds (BCC)
  309.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
  310.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  311.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  312.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  313.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  314.  
  315.   @EE-060709
  316.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  317.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
  318.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  319.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  320.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  321.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  322.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  323.  
  324.   @EE-060711
  325.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  326.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='BCCUSD']'
  327.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  328.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  329.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  330.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  331.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  332.  
  333.  
  334.  
  335.  
  336.  
  337.   @EE-060801
  338.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  339.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
  340.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  341.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  342.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  343.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  344.  
  345.   @EE-060803
  346.   Scenario: User attempts to Sell Market with insufficient funds (OMG)
  347.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
  348.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  349.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  350.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  351.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  352.  
  353.   @EE-060805
  354.   Scenario: User attempts to Buy Limit with insufficient funds (OMG)
  355.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
  356.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  357.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  358.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  359.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  360.  
  361.   @EE-060807
  362.   Scenario: User attempts to Sell Limit with insufficient funds (OMG)
  363.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
  364.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  365.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  366.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  367.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  368.  
  369.   @EE-060809
  370.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  371.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
  372.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  373.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  374.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  375.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  376.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  377.  
  378.   @EE-060811
  379.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  380.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='OMGUSD']'
  381.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  382.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  383.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  384.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  385.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.   @EE-060901
  393.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  394.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
  395.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  396.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  397.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  398.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  399.  
  400.   @EE-060903
  401.   Scenario: User attempts to Sell Market with insufficient funds (EOS)
  402.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
  403.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  404.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  405.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  406.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  407.  
  408.   @EE-060905
  409.   Scenario: User attempts to Buy Limit with insufficient funds (EOS)
  410.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
  411.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  412.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  413.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  414.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  415.  
  416.   @EE-060907
  417.   Scenario: User attempts to Sell Limit with insufficient funds (EOS)
  418.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
  419.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  420.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  421.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  422.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  423.  
  424.   @EE-060909
  425.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  426.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
  427.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  428.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  429.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  430.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  431.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  432.  
  433.   @EE-060911
  434.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  435.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='EOSUSD']'
  436.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  437.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  438.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  439.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  440.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  441.  
  442.  
  443.  
  444.  
  445.  
  446.  
  447.   @EE-061001
  448.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  449.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
  450.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  451.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  452.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  453.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  454.  
  455.   @EE-061003
  456.   Scenario: User attempts to Sell Market with insufficient funds (ZEC)
  457.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
  458.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  459.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  460.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  461.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  462.  
  463.   @EE-061005
  464.   Scenario: User attempts to Buy Limit with insufficient funds (ZEC)
  465.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
  466.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  467.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  468.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  469.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  470.  
  471.   @EE-061007
  472.   Scenario: User attempts to Sell Limit with insufficient funds (ZEC)
  473.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
  474.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  475.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  476.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  477.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  478.  
  479.   @EE-061009
  480.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  481.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
  482.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  483.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  484.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  485.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  486.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  487.  
  488.   @EE-061011
  489.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  490.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='ZECUSD']'
  491.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  492.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  493.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  494.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  495.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  496.  
  497.  
  498.  
  499.   @EE-061101
  500.   Scenario: User attempts to Buy Market with insufficient funds (USD)
  501.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
  502.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  503.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  504.     And I click on the 'Buy Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  505.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  506.  
  507.   @EE-061103
  508.   Scenario: User attempts to Sell Market with insufficient funds (IOTA)
  509.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
  510.     Then I click on the 'Market' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[1]'
  511.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  512.     And I click on the 'Sell Market' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  513.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  514.  
  515.   @EE-061105
  516.   Scenario: User attempts to Buy Limit with insufficient funds (IOTA)
  517.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
  518.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  519.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  520.     And I click on the 'Buy Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  521.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  522.  
  523.   @EE-061107
  524.   Scenario: User attempts to Sell Limit with insufficient funds (IOTA)
  525.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
  526.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  527.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  528.     And I click on the 'Sell Limit' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  529.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  530.  
  531.   @EE-061109
  532.   Scenario: User attempts to Buy Stop with insufficient funds (USD)
  533.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
  534.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  535.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  536.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  537.     And I click on the 'Buy Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[1]/button'
  538.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
  539.  
  540.   @EE-061111
  541.   Scenario: User attempts to Sell Stop with insufficient funds (USD)
  542.     When I click on the 'ETHUSD+' option with the XPath '//div[@id='app']/div/div/section/div/header/div[2]/select/option[@value='IOTUSD']'
  543.     Then I click on the 'Stop' tab with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/section[1]/div[3]'
  544.     And I type '1000' into the 'Price USD' input with the attribute 'name' and value 'dollar'
  545.     And I type '1000' into the 'Amount BTC' input with the attribute 'name' and value 'cryptocurrency'
  546.     And I click on the 'Sell Stop' button with the XPath '//*[@id="app"]/div/div/section[2]/div[1]/footer/div[2]/button'
  547.     Then the div with the attribute 'message' containing 'Order has been rejected' appears
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement