refactoring of test

InstructorCourseStudentDetailsEditPageUiTest: refactored unclean code