@Override public void setUp() throws Exception { super.setUp(); createProject(); UiTestUtils.prepareStageForTest(); lookFile = UiTestUtils.setUpLookFile(solo, getActivity()); }
@Override public void setUp() throws Exception { super.setUp(); createProject(); UiTestUtils.prepareStageForTest(); UiTestUtils.getIntoScriptActivityFromMainMenu(solo); }
@Override public void setUp() throws Exception { // normally super.setUp should be called first // but kept the test failing due to view is null // when starting in ScriptActivity createProject(); super.setUp(); }
@Override public void setUp() throws Exception { super.setUp(); createProject(); UiTestUtils.prepareStageForTest(); UiTestUtils.getIntoSpritesFromMainMenu(solo); UiTestUtils.clickOnBottomBar(solo, R.id.button_play); }
@Override public void setUp() throws Exception { super.setUp(); SharedPreferences preferences = PreferenceManager.getDefaultSharedPreferences(getActivity()); saveToken = preferences.getString(Constants.TOKEN, Constants.NO_TOKEN); uploadDialogTitle = solo.getString(R.string.upload_project_dialog_title); createTestProject(); solo.waitForActivity(MainMenuActivity.class.getSimpleName(), 3000); solo.sleep(300); try { setServerURLToTestURL(); } catch (Throwable e) { throw new Exception(); } }
@Override public void setUp() throws Exception { super.setUp(); createTestProject(UiTestUtils.DEFAULT_TEST_PROJECT_NAME); UiTestUtils.getIntoScriptActivityFromMainMenu(solo); }
@Override protected void setUp() throws Exception { super.setUp(); createProject(); UiTestUtils.getIntoScriptActivityFromMainMenu(solo); }