def test_create_empty(self): email, password = signup_teacher_directly() selenium.get(self.live_server_url + "/portal/redesign/home") page = HomePage(selenium).go_to_login_page().login_no_school( email, password) page = page.create_organisation_empty() assert page.was_form_empty('form-create-organisation')
def test_create_empty(self): email, password = signup_teacher_directly() org_name, postcode = create_organisation_directly(email) _, class_name, access_code = create_class_directly(email) selenium.get(self.live_server_url + "/portal/redesign/home") page = HomePage(selenium).go_to_login_page().login_no_students( email, password).create_students_empty() assert page.was_form_empty('form-create-students')