// now login dialog appears
LoginDialogTester loginDialogTester = new LoginDialogTester();
loginDialogTester.login("agitter", "letmein");
RefSpecPageTester refSpecPageTester = new RefSpecPageTester();
refSpecPageTester.waitUntilPageIsReady(1);
wizardTester.finish();
loginDialogTester.login("agitter", "letmein");
PushResultDialogTester pushResultDialogTester = new PushResultDialogTester();
String expectedMessage = "Repository " + remoteRepository.getUri();
pushResultDialogTester.assertResultMessage(expectedMessage);
pushResultDialogTester.closeDialog();