private void testDeleteInstructorAction() {
    courseEditPage = getCourseEditPage();

    ______TS("delete instructor then cancel");
    courseEditPage.clickDeleteInstructorLinkAndCancel();
    assertNotNull(BackDoor.getInstructorAsJsonByGoogleId(instructorId, courseId));

    ______TS("delete instructor successfully");
    courseEditPage.clickDeleteInstructorLinkAndConfirm();
    courseEditPage.verifyHtml("/instructorCourseEditDeleteInstructorSuccessful.html");

    ______TS("failed to delete the last instructor");
    courseEditPage.clickDeleteInstructorLinkAndConfirm();
    courseEditPage.clickDeleteInstructorLinkAndConfirm();
    courseEditPage.clickDeleteInstructorLinkAndConfirm();
    courseEditPage.verifyStatus(Const.StatusMessages.COURSE_INSTRUCTOR_DELETE_NOT_ALLOWED);

    ______TS("deleted own instructor role and redirect to courses page");
    // Change login id to another instructor
    BackDoor.createInstructor(testData.instructors.get("InsCrsEdit.coord"));
    instructorId = testData.instructors.get("InsCrsEdit.coord").googleId;

    courseEditPage = getCourseEditPage();
    courseEditPage.clickDeleteInstructorLinkAndConfirm();

    InstructorCoursesPage coursesPage = courseEditPage.changePageType(InstructorCoursesPage.class);
    coursesPage.verifyStatus(
        Const.StatusMessages.COURSE_INSTRUCTOR_DELETED + "\n" + Const.StatusMessages.COURSE_EMPTY);

    // Change back login id to original instructor to ensure remaining test cases work properly
    instructorId = testData.instructors.get("InsCrsEdit.test").googleId;
  }
  public void testContent() throws Exception {

    ______TS("page load");

    courseEditPage = getCourseEditPage();
    courseEditPage.verifyHtml("/instructorCourseEdit.html");
  }
  public void testContent() throws Exception {

    ______TS("page load: Helper privileges (custom)");

    instructorId = testData.instructors.get("InsCrsEdit.Helper").googleId;
    courseEditPage = getCourseEditPage();

    // This is the full HTML verification for Instructor Course Edit Page, the rest can all be
    // verifyMainHtml
    courseEditPage.verifyHtml("/instructorCourseEditHelper.html");

    ______TS("page load: Co-owner privileges");

    instructorId = testData.instructors.get("InsCrsEdit.test").googleId;
    courseEditPage = getCourseEditPage();
    courseEditPage.verifyHtmlMainContent("/instructorCourseEditCoowner.html");

    ______TS("page load: Manager privileges");

    instructorId = testData.instructors.get("InsCrsEdit.manager").googleId;
    courseEditPage = getCourseEditPage();
    courseEditPage.verifyHtmlMainContent("/instructorCourseEditManager.html");

    ______TS("page load: Observer privileges");

    instructorId = testData.instructors.get("InsCrsEdit.observer").googleId;
    courseEditPage = getCourseEditPage();
    courseEditPage.verifyHtmlMainContent("/instructorCourseEditObserver.html");

    ______TS("page load: Tutor privileges");

    instructorId = testData.instructors.get("InsCrsEdit.tutor").googleId;
    courseEditPage = getCourseEditPage();
    courseEditPage.verifyHtmlMainContent("/instructorCourseEditTutor.html");

    ______TS("go back to co-owner privileges");

    instructorId = testData.instructors.get("InsCrsEdit.test").googleId;
    courseEditPage = getCourseEditPage();
  }