* Rework and add test methods to the 'CreateFactoryTest'
* Add and rework methods in the 'CreateFactoryPage' using the 'SeleniumWebDriverHelper'
* Add and rework methods in the 'DashboardFactories'
* Rework the 'selectResourceToUpload()' related to upload file to create factory on dashboard
* Add the method 'getHttpsTransportUrl()' to the 'TestGitHubRepository'
* Add the 'config-ws.json' file to the resources
* 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>
* 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'
* Skip selenium tests which depends on failed tests
* Don't store testing data of skipped selenium tests
* Remove redundant @Test(priority) attributes from selenium tests
* Add comment in README.md
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Treat user as a constant
* Avoid error because of outdated auth token of test user
* Create test user from selenium framework
* Add test user providers
* Remove test user injection from DashboardAccount page object
* Fix check up on Che launch location on OpenShift
* Fix injection of test user credentials
* Fix check if Che is run locally
* Remove TestUser on selenium tests PreDestroy phase
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
* Rework the 'CheckoutReferenceTest' to run in the multi-threaded mode
* Rework methods in the 'TestGitHubRepository'
* Rework methods in the 'GitHistory' using the 'SeleniumWebDriverHelper'
* Move the 'CheckoutReferenceTest' to the 'CheSuite.xml'
* Use the 'kohsuke Github' library
* Add the method 'addRefFromMaster()' to the 'TestGitHubRepository'
* Rework selenium test 'CheckoutToRemoteBranchTest'
* Incapsulate the methods 'deleteFileOnGitHub()' and changeContentOnGitHub()' in the 'TestGitHubRepository'
* Use the 'kohsuke GitHub' library