Skip to content

Commit

Permalink
Workaround for importing project. Issue: openshiftio/openshift.io#4695
Browse files Browse the repository at this point in the history
  • Loading branch information
Katka92 committed Feb 22, 2019
1 parent 4635f87 commit 2a24fd3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ public void checkWorkspace(TestWorkspace workspace) throws Exception {
ide.waitOpenedWorkspaceIsReadyToUse();
projectExplorer.waitProjectExplorer();
notificationsPopupPanel.waitProgressPopupPanelClose();
// refreshing project to workaround issue
// https://github.com/openshiftio/openshift.io/issues/4695
projectExplorer.clickOnRefreshTreeButton();
} catch (ExecutionException | InterruptedException e) {
LOG.error(
"Could not obtain workspace name and id - worskape was probably not successfully injected.");
Expand Down
5 changes: 4 additions & 1 deletion functional-tests/src/test/resources/suites/prcheck.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@

<test name="all">
<classes>
<class name="com.redhat.che.functional.tests.WorkspaceTest"/>
<!-- temporary changes to check if workaround works -->
<!-- <class name="com.redhat.che.functional.tests.WorkspaceTest"/> -->
<class name="com.redhat.che.functional.tests.BuildAndRunProjectTest"/>
<class name="com.redhat.che.functional.tests.BayesianPomXml"/>
<class name="com.redhat.che.functional.tests.BayesianPackageJson"/>
</classes>
</test>
</suite>

0 comments on commit 2a24fd3

Please sign in to comment.