def te1st_TID_021(json_metadata, username="******"): browser = tour_TID_019(json_metadata, username) try: check_TID_021.run_check(json_metadata, browser) finally: saveRecordingScreen(browser, 'TID_021_client') dismissTestDevice(browser)
def test_TID_033(json_metadata): browser = tour_TID_028(json_metadata) try: check_TID_033.run_check(json_metadata, browser) finally: saveRecordingScreen(browser, 'TID_004_client') dismissTestDevice(browser)
def test_TID_042(json_metadata, table_num=41): (r_browser, c_browser) = tour_TID_040(json_metadata, table_num, 5) try: # clear before test check_TID_042.run_check(json_metadata, r_browser, table_num) finally: saveRecordingScreen(r_browser, 'TID_042_restaurant') dismissTestDevice(r_browser) dismissTestDevice(c_browser)
def test_TID_025(json_metadata, username="******", NUM_PEOPLE_TOTAL=5): browser = tour_TID_023(json_metadata, username) try: for i in range(1, NUM_PEOPLE_TOTAL + 1): check_TID_025.run_check(json_metadata, browser, i) finally: saveRecordingScreen(browser, 'TID_025_client') dismissTestDevice(browser)
def test_TID_044(json_metadata): # clear before test (r_browser, c_browser) = tour_TID_037(json_metadata, '44') try: check_TID_044.run_check(json_metadata, r_browser, 44) finally: saveRecordingScreen(r_browser, 'TID_044_restaurant') dismissTestDevice(r_browser) saveRecordingScreen(c_browser, 'TID_044_client') dismissTestDevice(c_browser)
def test_TID_038(json_metadata): # clear before test (r_browser, c_browser) = tour_TID_037(json_metadata, '38') try: check_TID_038.run_check(json_metadata, r_browser, 38) finally: saveRecordingScreen(r_browser, 'TID_004_client') saveRecordingScreen(c_browser, 'TID_004_client') dismissTestDevice(r_browser) dismissTestDevice(c_browser)
def test_TID_043(json_metadata, table_num=43, food_quantity=5): (r_browser, c_browser) = tour_TID_041(json_metadata, table_num, food_quantity) try: # clear before test check_TID_043.run_check(json_metadata, r_browser, food_quantity - 1) return (r_browser, c_browser) finally: saveRecordingScreen(r_browser, 'TID_043_restaurant') saveRecordingScreen(c_browser, 'TID_043_client') dismissTestDevice(r_browser) dismissTestDevice(c_browser)