Commit b59324ce authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Merge Requests: adapted to minor change in button layout

In GitLab 13.7, the 'Merge' word now sits in a `span` element
inside the button.
parent 259acc8e080c
......@@ -645,7 +645,7 @@ def test_mergerequest_developer_cannot_merge(test_project, tmpdir):
def merge_button(webdriver):
return webdriver.find_element_by_xpath(
'//button[contains(text(), "Merge")]')
'//button[span[contains(text(), "Merge")]]')
driver.get('%s/merge_requests/%d' % (test_project.url, mr_id))
wait = WebDriverWait(driver, 10)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment