mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
delete repository after test creation
This commit is contained in:
@@ -62,7 +62,7 @@ public class RepositoryCRUDITCase extends SeleniumTestBase
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void createRepository()
|
public void createRepository() throws InterruptedException
|
||||||
{
|
{
|
||||||
waitAndClick("#repositoryAddButton");
|
waitAndClick("#repositoryAddButton");
|
||||||
waitForPresence("input[name=name]").sendKeys("scm");
|
waitForPresence("input[name=name]").sendKeys("scm");
|
||||||
@@ -77,6 +77,9 @@ public class RepositoryCRUDITCase extends SeleniumTestBase
|
|||||||
"div.x-grid3-row-selected div.x-grid3-col-name").getText();
|
"div.x-grid3-row-selected div.x-grid3-col-name").getText();
|
||||||
|
|
||||||
assertEquals("scm", name);
|
assertEquals("scm", name);
|
||||||
|
|
||||||
|
waitAndClick("#repoRmButton button");
|
||||||
|
waitAndClick("div.x-window button:nth-of-type(1)");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user