Fix Git status message if the repository is checkouted to tag or commit.
Changed getCurrentBranch method in the Git API to getCurrentReference that returns Reference object that contains reference and type (branch, tag or commit).
* Prepairing upstream che for abstraction (rh-che tests)
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
Modified TestWorkspaceProvider -> Abstraction, so that rh-che can override needed methods.
Modified TestWorkspaceServiceClient for rh-che tests extension
Abstracted TestWorkspaceServiceClient for RhChe implementation
Fixed inject issues
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
Modified required abstractions, using interfaces instead of implementations of the interface (e.g. DefaultTestUser)
Modified TestWorkspaceProvider -> Abstraction, so that rh-che can override needed methods.
Fixed inject issues
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
* Fixing abstraction, added interface for TestWorkspaceServiceClient
* Reverting test class imports to interfaces
* Fix installing of TestWorkspaceServiceClientFactory
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* removed redundant bind
* Get rid of grouping of static imports in CreateWorkspaceFromBlankStackTest
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Show build details in dedicate window
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
* New Line
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
* New Line
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
* New Line
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
* Add debug id to the anchor
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
* Adopt Dialog About selenium test to actual changes on the UI
Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>
When creating a project with the help of Maven Archetype Plugin it names project directory by artifact-id. If artifact-id != project name specified in the first page of the project wizard, error happens. Maven Archetype Plugin has basedir property that can solve this problem, but there is a bug in the plugin: https://issues.apache.org/jira/browse/ARCHETYPE-311. Rename the project directory to specified project name solves the problem.
* Add the 'Assert.fail()' in the 'ImportWizardFormTest according to the known issue #10012
* Add the 'try/catch' to the @AfterMethod according to the review
* Add KeycloakCommandExecutor to create test user in selenium tests
* Create test user in Eclipse Che on OCP which is run remotely
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Rewrite methods using the 'SeleniumWebDriverHelper' in the page object 'PullRequestPanel'
* Add the method 'clickOnMaximizeButton()' to the page object 'ProjectExplorer'
* Add the constant 'CONTRIBUTE_TOOL_WIDOWS' to the 'TestMenuCommandsConstants'
* Add the methods to the 'SeleniumWebDriverHelper'
* Add the methods to the 'Preferences'
* Create selenium test 'ContributeTabTest'
* Add the selenium test to the 'CheSuite.xml'