@@ -0,0 +1,1185 @@
+package io.github.wreulicke;%0A%0Aimport static org.assertj.core.api.Assertions.assertThat;%0A%0Aimport org.junit.Test;%0Aimport org.mindrot.jbcrypt.BCrypt;%0Aimport org.openqa.selenium.By;%0A%0Aimport com.codeborne.selenide.Configuration;%0Aimport com.codeborne.selenide.Selenide;%0Aimport com.codeborne.selenide.WebDriverRunner;%0Aimport com.codeborne.selenide.conditions.Text;%0A%0Aimport lombok.val;%0A%0Apublic class EncryptTest %7B%0A%0A  @Test%0A  public void test() %7B%0A    String hash = BCrypt.hashpw(%22test%22, BCrypt.gensalt());%0A    assertThat(BCrypt.checkpw(%22test%22, hash)).isEqualTo(true);%0A  %7D%0A%0A  @Test%0A  public void login() %7B%0A    Configuration.browser = WebDriverRunner.CHROME;%0A    Selenide.open(%22http://localhost:8080%22);%0A    Selenide.$(By.name(%22name%22))%0A      .val(%22admin%22);%0A    Selenide.$(By.name(%22password%22))%0A      .val(%22admin%22);%0A    Selenide.$(%22button%22)%0A      .click();%0A    Selenide.$(%22#result%22)%0A      .shouldBe(Text.exactText(%22hello admin!!%22));%0A  %7D%0A%0A  @Test%0A  public void addTask() %7B%0A    login();%0A    val add = Selenide.$(By.cssSelector(%22.add:last-child%22));%0A    add.click();%0A    add.$(%22input%22)%0A      .val(%22xxxx%22)%0A      .pressEnter();%0A    Selenide.$$(%22.item.tree%22).last()%0A      .should(Text.text(%22xxxx%22));%0A  %7D%0A%7D%0A

add test