Program: 69469
Project: 69469
Buggy source:
/** 
 * An author create a course with an assessment course element with min., max., cut value and so on. It add an user to the course, go to the assessment tool and set a score to the assessed user.<br> The user log in, go to the efficiency statements list and check it become its statement.
 * @param authorLoginPage
 * @param ryomouBrowser
 * @throws IOException
 * @throws URISyntaxException
 */
@Test @RunAsClient public void assessmentCourseElement(@InitialPage LoginPage authorLoginPage,@Drone @User WebDriver ryomouBrowser) throws IOException, URISyntaxException {
  screenshotTestRule.setBrowsers(browser,ryomouBrowser);
  UserVO author=new UserRestClient(deploymentUrl).createAuthor();
  UserVO ryomou=new UserRestClient(deploymentUrl).createRandomUser("String_Node_Str");
  authorLoginPage.loginAs(author.getLogin(),author.getPassword());
  String courseTitle="String_Node_Str" + UUID.randomUUID();
  navBar.openAuthoringEnvironment().createCourse(courseTitle).clickToolbarBack();
  String assessmentNodeTitle="String_Node_Str";
  CourseEditorPageFragment courseEditor=CoursePageFragment.getCourse(browser).edit().createNode("String_Node_Str").nodeTitle(assessmentNodeTitle);
  AssessmentCEConfigurationPage assessmentConfig=new AssessmentCEConfigurationPage(browser);
  assessmentConfig.selectConfiguration().setScoreAuto(0.1f,10.0f,5.0f);
  courseEditor.selectRoot().selectTabScore().enableRootScoreByNodes().autoPublish().accessConfiguration().setUserAccess(UserAccess.registred);
  CoursePageFragment courseRuntime=courseEditor.clickToolbarBack();
  MembersPage members=courseRuntime.members();
  members.addMember().searchMember(ryomou,true).next().next().next().finish();
  members.clickToolbarBack().assessmentTool().users().assertOnUsers(ryomou).selectUser(ryomou).selectCourseNode(assessmentNodeTitle).setAssessmentScore(8.0f).assertUserPassedCourseNode(assessmentNodeTitle);
  LoginPage ryomouLoginPage=LoginPage.getLoginPage(ryomouBrowser,deploymentUrl);
  ryomouLoginPage.loginAs(ryomou.getLogin(),ryomou.getPassword()).resume();
  UserToolsPage ryomouUserTools=new UserToolsPage(ryomouBrowser);
  ryomouUserTools.openUserToolsMenu().openMyEfficiencyStatement().assertOnEfficiencyStatmentPage().assertOnStatement(courseTitle,true).selectStatement(courseTitle).assertOnCourseDetails(assessmentNodeTitle,true);
}

Fixed version (ground truth):
/** 
 * An author create a course with an assessment course element with min., max., cut value and so on. It add an user to the course, go to the assessment tool and set a score to the assessed user.<br> The user log in, go to the efficiency statements list and check it become its statement.
 * @param authorLoginPage
 * @param ryomouBrowser
 * @throws IOException
 * @throws URISyntaxException
 */
@Test @RunAsClient public void assessmentCourseElement(@InitialPage LoginPage authorLoginPage,@Drone @User WebDriver ryomouBrowser) throws IOException, URISyntaxException {
  UserVO author=new UserRestClient(deploymentUrl).createAuthor();
  UserVO ryomou=new UserRestClient(deploymentUrl).createRandomUser("String_Node_Str");
  authorLoginPage.loginAs(author.getLogin(),author.getPassword());
  String courseTitle="String_Node_Str" + UUID.randomUUID();
  navBar.openAuthoringEnvironment().createCourse(courseTitle).clickToolbarBack();
  String assessmentNodeTitle="String_Node_Str";
  CourseEditorPageFragment courseEditor=CoursePageFragment.getCourse(browser).edit().createNode("String_Node_Str").nodeTitle(assessmentNodeTitle);
  AssessmentCEConfigurationPage assessmentConfig=new AssessmentCEConfigurationPage(browser);
  assessmentConfig.selectConfiguration().setScoreAuto(0.1f,10.0f,5.0f);
  courseEditor.selectRoot().selectTabScore().enableRootScoreByNodes().autoPublish().accessConfiguration().setUserAccess(UserAccess.registred);
  CoursePageFragment courseRuntime=courseEditor.clickToolbarBack();
  MembersPage members=courseRuntime.members();
  members.addMember().searchMember(ryomou,true).next().next().next().finish();
  members.clickToolbarBack().assessmentTool().users().assertOnUsers(ryomou).selectUser(ryomou).selectCourseNode(assessmentNodeTitle).setAssessmentScore(8.0f).assertUserPassedCourseNode(assessmentNodeTitle);
  LoginPage ryomouLoginPage=LoginPage.getLoginPage(ryomouBrowser,deploymentUrl);
  ryomouLoginPage.loginAs(ryomou.getLogin(),ryomou.getPassword()).resume();
  UserToolsPage ryomouUserTools=new UserToolsPage(ryomouBrowser);
  ryomouUserTools.openUserToolsMenu().openMyEfficiencyStatement().assertOnEfficiencyStatmentPage().assertOnStatement(courseTitle,true).selectStatement(courseTitle).assertOnCourseDetails(assessmentNodeTitle,true);
}