@@ -0,0 +1,1050 @@
+package ru.stqa.training.selenium;%0A%0Aimport org.junit.After;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebDriver;%0Aimport org.openqa.selenium.chrome.ChromeDriver;%0Aimport org.openqa.selenium.support.ui.WebDriverWait;%0A%0Aimport java.util.concurrent.TimeUnit;%0A%0Aimport static org.openqa.selenium.support.ui.ExpectedConditions.titleIs;%0A%0Apublic class LoginTest %7B%0A%0A  public WebDriver driver;%0A  public WebDriverWait wait;%0A%0A  @Before%0A  public void start() %7B%0A    driver = new ChromeDriver();%0A    driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);%0A    wait = new WebDriverWait(driver, 10);%0A  %7D%0A%0A  @Test%0A  public void loginTest() %7B%0A    driver.navigate().to(%22http://localhost/litecart/admin/%22);%0A    driver.findElement(By.name(%22username%22)).sendKeys(%22admin%22);%0A    driver.findElement(By.name(%22password%22)).sendKeys(%22admin%22);%0A    driver.findElement(By.name(%22login%22)).click();%0A    wait.until(titleIs(%22My Store%22));%0A  %7D%0A%0A  @After%0A  public void stop() %7B%0A    driver.quit();%0A    driver = null;%0A  %7D%0A%7D%0A

Test for admin login for lifecart app is created