def bdd_common_after_all(context_or_world): """Common after all method in behave or lettuce :param context_or_world: behave context or lettuce world """ # Stop driver if it has been reused stop_reused_driver(context_or_world) # Update tests status in Jira change_all_jira_status()
def bdd_common_after_all(context_or_world): """Common after all method in behave or lettuce :param context_or_world: behave context or lettuce world """ # Close browser and stop driver if it has been reused DriverWrappersPool.close_drivers_and_download_videos('multiple_tests') # Update tests status in Jira change_all_jira_status()
def bdd_common_after_all(context_or_world): """Common after all method in behave or lettuce :param context_or_world: behave context or lettuce world """ # Close drivers DriverWrappersPool.close_drivers(scope='session', test_name='multiple_tests', test_passed=context_or_world.global_status['test_passed']) # Update tests status in Jira change_all_jira_status()
def tearDownClass(cls): change_all_jira_status()