def test_removing_an_admin_member_from_an_organization(self): """An admin member can remove a member from an organization.""" LoginPage(self).login('admin_user', 'password') page = OrganizationMemberPage(self) page.go_to() OrganizationPage(self).go_to_organization_page() OrganizationMemberListPage(self).go_to_member_list_page() page.go_to_admin_member_page() assert page.get_member_title() == "MEMBER: Admin User" page.click_disabled_remove_button() assert page.get_member_title() == "MEMBER: Admin User"
def test_removing_a_member_from_an_organization(self): """An admin member can remove a member from an organization.""" LoginPage(self).login('admin_user', 'password') page = OrganizationMemberPage(self) page.go_to() OrganizationPage(self).go_to_organization_page() OrganizationMemberListPage(self).go_to_member_list_page() page.go_to_testuser_member_page() page.try_cancel_and_close() assert page.get_member_title() == "MEMBER: Test User" page.click_remove_member_and_confirm_buttons() members = page.get_table_row().text assert "Test User" not in members
def test_removing_a_member_from_an_organization(self): """An admin member can remove a member from an organization.""" LoginPage(self).login('admin_user', 'password') page = OrganizationMemberPage(self) page.go_to() OrganizationPage(self).go_to_organization_page() OrganizationMemberListPage(self).go_to_member_list_page() page.go_to_testuser_member_page() page.try_cancel_and_close_remove() assert page.get_member_title() == "MEMBER: Test User" page.click_remove_member_and_confirm_buttons() members = page.get_table_row().text assert "Test User" not in members