Exemplo n.º 1
0
 def sub_measure():
     PopupManager(webdriver).dismiss_default_popup()
     pull_request_page = PullRequest(webdriver)
     pull_request_page.wait_for_overview_tab()
     PopupManager(webdriver).dismiss_default_popup()
     pull_request_page.merge_pull_request()
 def measure(webdriver, interaction):
     PopupManager(webdriver).dismiss_default_popup()
     pull_request_page = PullRequest(webdriver)
     pull_request_page.wait_for_overview_tab(interaction)
     PopupManager(webdriver).dismiss_default_popup()
     pull_request_page.merge_pull_request(interaction)