Skip to content

Commit 8c11861

Browse files
author
Pan
committed
project_access_tests.py fixed and remove_contributor function rewrite because of the new behavior of osf
1 parent 46a5d81 commit 8c11861

File tree

2 files changed

+285
-282
lines changed

2 files changed

+285
-282
lines changed

base.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,8 @@ def remove_contributor(self, user_data):
230230
# click the remove icon
231231
element_to_hover_over.find_element_by_css_selector("i").click()
232232

233-
self.driver.switch_to_alert().accept()
233+
self.get_element("div.modal-dialog button[class='btn btn-primary']")\
234+
.click()
234235

235236
def get_log(self):
236237

0 commit comments

Comments
 (0)