Program: 114950
Project: 114950
Buggy source:
@Test(groups="String_Node_Str",description="String_Node_Str",dependsOnMethods={"String_Node_Str"}) public void testLogout() throws Exception {
  driver.get(getStoreURL() + "String_Node_Str" + SUPER_TENANT_DOMAIN_NAME);
  WebDriverWait wait=new WebDriverWait(driver,60);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.linkText("String_Node_Str")));
  driver.findElement(By.linkText("String_Node_Str")).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement usernameEle=driver.findElement(By.id("String_Node_Str"));
  usernameEle.sendKeys(gatewayContext.getContextTenant().getContextUser().getUserName());
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement passwordEle=driver.findElement(By.id("String_Node_Str"));
  passwordEle.sendKeys(gatewayContext.getContextTenant().getContextUser().getPassword());
  driver.manage().timeouts().implicitlyWait(2,TimeUnit.SECONDS);
  driver.findElement(By.id("String_Node_Str")).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("String_Node_Str")));
  driver.navigate().to(getStoreURL() + "String_Node_Str" + TEST_DATA_API_NAME+ "String_Node_Str"+ TEST_DATA_API_VERSION+ "String_Node_Str"+ gatewayContext.getContextTenant().getContextUser().getUserName()+ "String_Node_Str"+ SUPER_TENANT_DOMAIN_NAME);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.linkText(gatewayContext.getContextTenant().getContextUser().getUserName())));
  driver.findElement(By.linkText(gatewayContext.getContextTenant().getContextUser().getUserName())).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  driver.findElement(By.id("String_Node_Str")).click();
  assertFalse(driver.getPageSource().contains("String_Node_Str"),"String_Node_Str");
}

Fixed version (ground truth):
@Test(groups="String_Node_Str",description="String_Node_Str",dependsOnMethods={"String_Node_Str"}) public void testLogout() throws Exception {
  driver.get(getStoreURL() + "String_Node_Str" + SUPER_TENANT_DOMAIN_NAME);
  WebDriverWait wait=new WebDriverWait(driver,60);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.linkText("String_Node_Str")));
  driver.findElement(By.linkText("String_Node_Str")).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement usernameEle=driver.findElement(By.id("String_Node_Str"));
  usernameEle.sendKeys(storeContext.getContextTenant().getContextUser().getUserName());
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  WebElement passwordEle=driver.findElement(By.id("String_Node_Str"));
  passwordEle.sendKeys(storeContext.getContextTenant().getContextUser().getPassword());
  driver.manage().timeouts().implicitlyWait(2,TimeUnit.SECONDS);
  driver.findElement(By.id("String_Node_Str")).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.xpath("String_Node_Str")));
  driver.navigate().to(getStoreURL() + "String_Node_Str" + TEST_DATA_API_NAME+ "String_Node_Str"+ TEST_DATA_API_VERSION+ "String_Node_Str"+ storeContext.getContextTenant().getContextUser().getUserName()+ "String_Node_Str"+ SUPER_TENANT_DOMAIN_NAME);
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.linkText(storeContext.getContextTenant().getContextUser().getUserName())));
  driver.findElement(By.linkText(storeContext.getContextTenant().getContextUser().getUserName())).click();
  wait.until(ExpectedConditions.visibilityOfElementLocated(By.id("String_Node_Str")));
  driver.findElement(By.id("String_Node_Str")).click();
  assertFalse(driver.getPageSource().contains("String_Node_Str"),"String_Node_Str");
}