Skip to content

Commit

Permalink
fix: Fixes breaking e2e test (#55)
Browse files Browse the repository at this point in the history
* fix: fixes breaking e2e test

* chore: bumps version
  • Loading branch information
morgannewman authored Apr 19, 2019
1 parent 63381b2 commit 3abff9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion smartcar/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = '3.0.0'
__version__ = '3.0.1'

from .smartcar import (AuthClient, is_expired, get_user_id, get_vehicle_ids)
from .vehicle import Vehicle
Expand Down
6 changes: 3 additions & 3 deletions tests/tests_e2e/test_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ def get_code(driver, auth_url):
username = uuid.uuid4()
username = str(username) + '@mock.com'

approval_button = WebDriverWait(driver, 10).until(
EC.presence_of_element_located((By.ID, 'approval-button')))
sign_in_button = WebDriverWait(driver, 10).until(
EC.presence_of_element_located((By.ID, 'sign-in-button')))
driver.find_element_by_id('username').send_keys(username)
driver.find_element_by_id('password').send_keys('password')
approval_button.click()
sign_in_button.click()

permissions_approval_button = WebDriverWait(driver, 10).until(
EC.presence_of_element_located((By.ID, 'approval-button')))
Expand Down

0 comments on commit 3abff9c

Please sign in to comment.