Program: 114952
Project: 114952
Buggy source:
@SetEnvironment(executionEnvironments={ExecutionEnvironment.PLATFORM}) @Test(groups="String_Node_Str",description="String_Node_Str") public void testVersionStats() throws Exception {
  driver.get(getPublisherURL());
  WebDriverWait wait=new WebDriverWait(driver,30);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement usernameEle=driver.findElement(By.id("String_Node_Str"));
  usernameEle.sendKeys("String_Node_Str");
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement passwordEle=driver.findElement(By.id("String_Node_Str"));
  passwordEle.sendKeys("String_Node_Str");
  driver.manage().timeouts().implicitlyWait(2,TimeUnit.SECONDS);
  driver.findElement(By.id("String_Node_Str")).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.className("String_Node_Str")));
  driver.navigate().to(getPublisherURL() + "String_Node_Str" + TEST_DATA_API_NAME+ "String_Node_Str"+ TEST_DATA_API_VERSION+ "String_Node_Str"+ gatewayContext.getContextTenant().getContextUser().getUserName());
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  driver.findElement(By.id("String_Node_Str")).click();
  driver.manage().timeouts().implicitlyWait(6,TimeUnit.SECONDS);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  assertTrue(driver.findElement(By.xpath("String_Node_Str")).getText().contains("String_Node_Str"));
  assertTrue(driver.findElement(By.xpath("String_Node_Str")).getText().contains("String_Node_Str"));
}

Fixed version (ground truth):
@SetEnvironment(executionEnvironments={ExecutionEnvironment.PLATFORM}) @Test(groups="String_Node_Str",description="String_Node_Str") public void testVersionStats() throws Exception {
  driver.get(getPublisherURL());
  WebDriverWait wait=new WebDriverWait(driver,30);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement usernameEle=driver.findElement(By.id("String_Node_Str"));
  usernameEle.sendKeys("String_Node_Str");
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement passwordEle=driver.findElement(By.id("String_Node_Str"));
  passwordEle.sendKeys("String_Node_Str");
  driver.manage().timeouts().implicitlyWait(2,TimeUnit.SECONDS);
  driver.findElement(By.id("String_Node_Str")).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.className("String_Node_Str")));
  driver.navigate().to(getPublisherURL() + "String_Node_Str" + TEST_DATA_API_NAME+ "String_Node_Str"+ TEST_DATA_API_VERSION+ "String_Node_Str"+ publisherContext.getContextTenant().getContextUser().getUserName());
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  driver.findElement(By.id("String_Node_Str")).click();
  driver.manage().timeouts().implicitlyWait(6,TimeUnit.SECONDS);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  assertTrue(driver.findElement(By.xpath("String_Node_Str")).getText().contains("String_Node_Str"));
  assertTrue(driver.findElement(By.xpath("String_Node_Str")).getText().contains("String_Node_Str"));
}