Source:
public void checkProjectAfterRenameWs() throws Exception { projectExplorer.waitProjectExplorer(); projectExplorer.waitItem(PROJECT_NAME); projectExplorer.selectItem(PROJECT_NAME); projectExplorer.quickExpandWithJavaScript(); projectExplorer.waitItem(PROJECT_NAME + "/src/main/webapp/index.jsp"); projectExplorer.waitItem( PROJECT_NAME + "/src/main/java/org/eclipse/qa/examples/AppController.java"); projectExplorer.openItemByPath(PROJECT_NAME + "/src/main/webapp/index.jsp"); projectExplorer.openItemByPath( PROJECT_NAME + "/src/main/java/org/eclipse/qa/examples/AppController.java"); editor.waitActiveEditor(); dashboard.open(); dashboard.waitDashboardToolbarTitle(); dashboard.selectWorkspacesItemOnDashboard(); dashboardWorkspace.waitToolbarTitleName("Workspaces"); dashboardWorkspace.selectWorkspaceItemName(testWorkspace.getName()); dashboardWorkspace.enterNameWorkspace(WORKSPACE_NEW_NAME); dashboardWorkspace.clickOnSaveBtn(); dashboardWorkspace.checkStateOfWorkspace(DashboardWorkspace.StateWorkspace.RUNNING); dashboardWorkspace.waitToolbarTitleName(WORKSPACE_NEW_NAME); dashboardWorkspace.clickOpenInIdeWsBtn(); loader.waitOnClosed(); seleniumWebDriver.switchFromDashboardIframeToIde(); try { projectExplorer.waitProjectExplorer(); projectExplorer.waitItem(PROJECT_NAME); projectExplorer.waitItem(PROJECT_NAME + "/src/main/webapp/index.jsp"); } catch (TimeoutException ex) { Assert.fail("Known issue <LINK_0>"); } projectExplorer.waitItem( PROJECT_NAME + "/src/main/java/org/eclipse/qa/examples/AppController.java"); events.clickEventLogBtn(); events.waitExpectedMessage(TestWorkspaceConstants.RUNNING_WORKSPACE_MESS); editor.waitTabIsPresent("index.jsp"); editor.waitTabIsPresent("AppController"); editor.waitActiveEditor(); }

Target:
public void checkProjectAfterRenameWs() throws Exception { projectExplorer.waitProjectExplorer(); projectExplorer.waitItem(PROJECT_NAME); projectExplorer.selectItem(PROJECT_NAME); projectExplorer.quickExpandWithJavaScript(); projectExplorer.waitItem(PROJECT_NAME + "/src/main/webapp/index.jsp"); projectExplorer.waitItem( PROJECT_NAME + "/src/main/java/org/eclipse/qa/examples/AppController.java"); projectExplorer.openItemByPath(PROJECT_NAME + "/src/main/webapp/index.jsp"); projectExplorer.openItemByPath( PROJECT_NAME + "/src/main/java/org/eclipse/qa/examples/AppController.java"); editor.waitActiveEditor(); dashboard.open(); dashboard.waitDashboardToolbarTitle(); dashboard.selectWorkspacesItemOnDashboard(); dashboardWorkspace.waitToolbarTitleName("Workspaces"); dashboardWorkspace.selectWorkspaceItemName(testWorkspace.getName()); dashboardWorkspace.enterNameWorkspace(WORKSPACE_NEW_NAME); dashboardWorkspace.clickOnSaveBtn(); dashboardWorkspace.checkStateOfWorkspace(DashboardWorkspace.StateWorkspace.RUNNING); dashboardWorkspace.waitToolbarTitleName(WORKSPACE_NEW_NAME); dashboardWorkspace.clickOpenInIdeWsBtn(); loader.waitOnClosed(); seleniumWebDriver.switchFromDashboardIframeToIde(); projectExplorer.waitProjectExplorer(); projectExplorer.waitItem(PROJECT_NAME); try { projectExplorer.waitItem(PROJECT_NAME + "/src/main/webapp/index.jsp"); } catch (TimeoutException ex) { fail("Known issue <LINK_0>"); } projectExplorer.waitItem( PROJECT_NAME + "/src/main/java/org/eclipse/qa/examples/AppController.java"); events.clickEventLogBtn(); events.waitExpectedMessage(TestWorkspaceConstants.RUNNING_WORKSPACE_MESS); editor.waitTabIsPresent("index.jsp"); editor.waitTabIsPresent("AppController"); editor.waitActiveEditor(); }