.signIn("translator", "translator")
.loggedInAs())
.isEqualTo("translator")
.as("Login as translator");
assertThat(new ProjectWorkFlow()
.createNewSimpleProject("version-nums", projectName)
.getProjectName())
.isEqualTo(projectName)
.as("The project is created");
ProjectVersionsPage projectVersionsPage = new ProjectWorkFlow()
.createNewProjectVersion(projectName, "alpha")
.clickProjectLink(projectName);
projectVersionsPage.waitForDisplayedVersions(1);
assertThat(projectVersionsPage.getNumberOfDisplayedVersions())
.isEqualTo(1)
.as("The version count is 1");
projectVersionsPage = new ProjectWorkFlow()
.createNewProjectVersion("version nums", "bravo")
.clickProjectLink(projectName);
projectVersionsPage.waitForDisplayedVersions(2);
assertThat(projectVersionsPage.getNumberOfDisplayedVersions())