SHARE
TWEET

Untitled

a guest Jul 15th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. tests/test_ios.py:53:
  2. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  3. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  4.     _execute_step_function(request, scenario, step, step_func)
  5. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  6.     step_func(**kwargs)
  7. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  8.  
  9. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>
  10.  
  11.     @when('user navigates back to account')
  12.     def navigate_back(driver):
  13.         time.sleep(10)
  14.         back_btn = getWithAcc(driver, 'Account, back')
  15. >       back_btn.click()
  16. E       AttributeError: 'NoneType' object has no attribute 'click'
  17.  
  18. tests/shared_tests.py:210: AttributeError
  19. ___________________________________________________________________________ test_user_can_redeem_promo ___________________________________________________________________________
  20.  
  21. request = <FixtureRequest for <Function 'test_user_can_redeem_promo'>>
  22.  
  23.     except:
  24. >       pass
  25.  
  26. tests/test_ios.py:57:
  27. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  28. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  29.     _execute_step_function(request, scenario, step, step_func)
  30. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  31.     step_func(**kwargs)
  32. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  33.  
  34. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>
  35.  
  36.     @when('user adds a promo')
  37.     def user_adds_a_promo(driver):
  38.         add_promo = getWithAcc(driver, 'add_promo')
  39. >       add_promo.click()
  40. E       AttributeError: 'NoneType' object has no attribute 'click'
  41.  
  42. tests/shared_tests.py:368: AttributeError
  43. ______________________________________________________ test_new_user_without_credit_takes_a_scooter_trip_with_ad_hoc_charge ______________________________________________________
  44.  
  45. request = <FixtureRequest for <Function 'test_new_user_without_credit_takes_a_scooter_trip_with_ad_hoc_charge'>>
  46.  
  47.     def extended(request):
  48. >       value = request.config.getoption('extended')
  49.  
  50. tests/test_ios.py:61:
  51. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  52. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  53.     _execute_step_function(request, scenario, step, step_func)
  54. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  55.     step_func(**kwargs)
  56. tests/shared_tests.py:292: in input_credit_card_android
  57.     input_credit_card(driver, CREDIT_CARD_NUMBER)
  58. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  59.  
  60. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>, card = '5555555555554444'
  61.  
  62.     @when(parsers.parse('user inputs new credit card {card:d}'))
  63.     def input_credit_card(driver, card):
  64.         if driver.desired_capabilities['platformName'] == 'iOS':
  65.             credit_card_entry = getWithAcc(driver, translationData["access"]["credit_card_entry"])
  66.             time.sleep(5)
  67. >           credit_card_entry.set_value(card)
  68. E           AttributeError: 'NoneType' object has no attribute 'set_value'
  69.  
  70. tests/shared_tests.py:154: AttributeError
  71. _____________________________________________________________ test_a_completed_trip_will_be_visible_in_ride_history ______________________________________________________________
  72.  
  73. request = <FixtureRequest for <Function 'test_a_completed_trip_will_be_visible_in_ride_history'>>
  74.  
  75.     @pytest.fixture(scope='session')
  76. >   def scooterless(request):
  77.  
  78. tests/test_ios.py:65:
  79. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  80. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  81.     _execute_step_function(request, scenario, step, step_func)
  82. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  83.     step_func(**kwargs)
  84. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  85.  
  86. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>
  87.  
  88.     @when('user selects most recent trip')
  89.     def select_most_recent_trip(driver):
  90.         rides = getWithAcc(driver, 'history_row', True)
  91. >       most_recent = rides[0]
  92. E       IndexError: list index out of range
  93.  
  94. tests/shared_tests.py:356: IndexError
  95. _______________________________________ test_new_user_without_credit_takes_a_scooter_trip_with_ad_hoc_charge_and_parks_at_rebalance_point ________________________________________
  96.  
  97. request = <FixtureRequest for <Function 'test_new_user_without_credit_takes_a_scooter_trip_with_ad_hoc_charge_and_parks_at_rebalance_point'>>
  98.  
  99. >   ???
  100.  
  101. tests/test_ios.py:77:
  102. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  103. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  104.     _execute_step_function(request, scenario, step, step_func)
  105. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  106.     step_func(**kwargs)
  107. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  108.  
  109. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>, view_name = 'License Plate'
  110.  
  111.     @when(parsers.parse('user taps {view_name}'))
  112.     def tap_help(driver, view_name):
  113.         view = getWithAcc(driver, view_name)
  114. >       view.click()
  115. E       AttributeError: 'NoneType' object has no attribute 'click'
  116.  
  117. tests/shared_tests.py:315: AttributeError
  118. __________________________________________________________ test_that_same_user_can_see_the_rebalance_credit_in_account ___________________________________________________________
  119.  
  120. request = <FixtureRequest for <Function 'test_that_same_user_can_see_the_rebalance_credit_in_account'>>
  121.  
  122. >   ???
  123.  
  124. tests/test_ios.py:81:
  125. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  126. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  127.     _execute_step_function(request, scenario, step, step_func)
  128. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  129.     step_func(**kwargs)
  130. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  131.  
  132. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>, number = 1
  133.  
  134.     @then(parsers.parse('user can see {number:d} USD balance'))
  135.     def usd_balance(driver, number):
  136.         text = "#$" + str(number) + ".00"
  137.         balance = get(driver, text)
  138. >       assert balance is not None
  139. E       AssertionError
  140.  
  141. tests/shared_tests.py:406: AssertionError
  142. ___________________________________________________ test_a_completed_trip_and_rebalance_credit_will_be_visible_in_ride_history ___________________________________________________
  143.  
  144. request = <FixtureRequest for <Function 'test_a_completed_trip_and_rebalance_credit_will_be_visible_in_ride_history'>>
  145.  
  146. >   ???
  147.  
  148. tests/test_ios.py:85:
  149. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  150. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:195: in _execute_scenario
  151.     _execute_step_function(request, scenario, step, step_func)
  152. /usr/local/lib/python2.7/site-packages/pytest_bdd/scenario.py:136: in _execute_step_function
  153.     step_func(**kwargs)
  154. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  155.  
  156. driver = <appium.webdriver.webdriver.WebDriver (session="773cfb35-65fc-457a-9fa5-0d47f3e01633")>
  157.  
  158.     @when('user selects most recent trip')
  159.     def select_most_recent_trip(driver):
  160.         rides = getWithAcc(driver, 'history_row', True)
  161. >       most_recent = rides[0]
  162. E       IndexError: list index out of range
  163.  
  164. tests/shared_tests.py:356: IndexError
  165. ================================================================ 7 failed, 3 passed, 2 skipped in 761.01 seconds =================================================================
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top