Commit Graph

625 Commits (b071721ad3fcd76216e1ca8ae11a9ebdbfd7410c)

Author SHA1 Message Date
Igor Vinokur b071721ad3
CHE-9418: Fix Git status message if the repository is checkouted to tag or commit. (#10172)
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).
2018-07-05 11:33:07 +03:00
Maxim Musienko d767fd4668
fix logic error for checking marker type (#10239) 2018-07-05 10:22:31 +03:00
Tibor Dancs 09671a1b2b Creating selenium framework tests (abstraction for rh-che) (#10191)
* 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>
2018-07-04 12:03:09 +03:00
Sergii Leshchenko fef7cc44e6
Fix scope of test dependencies (#10254) 2018-07-04 11:23:20 +03:00
Sergey Skorik 3066a81515
Selenium: cover workspace creation from Java stack by selenium test (#10214) 2018-07-03 13:13:09 +03:00
Aleksandr Shmaraiev 5be0e29f11 Change the wait timeout in the 'Menu' to increase stability selenium tests (#10220) 2018-07-02 11:11:47 +03:00
Igor Ohrimenko 02afd06f8c
Selenium: Fix of unexpected fail of "RollingUpdateStrategyWithWorkspacesStartStopTest" selenium test (#10212) 2018-06-27 16:10:45 +03:00
Igor Ohrimenko f51730a00d
Selenium: Fix of unexpected fail of "AddOrImportProjectFormTest" selenium test (#10118) 2018-06-26 17:17:55 +03:00
Igor Ohrimenko ca695ee93d
Selenium: Create E2E test for checking Hot update feature for wsmaster (#10176) 2018-06-26 16:33:32 +03:00
Maxim Musienko ef444f9c1b
Adapt the CSharpFileEditingTest after latest changes in Csharp language server (#10166)
* Adapt the test after latest changes for C sharp language server
2018-06-26 14:54:41 +03:00
Dmytro Nochevnov 7ce7635ab1
Add selenium test of login with OpenShift account (#10158)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-26 10:03:52 +03:00
Vladyslav Zhukovskyi dbf623c810
Show build details in dedicate window (#10093)
* 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>
2018-06-25 11:16:16 +03:00
Aleksandr Shmaraiev ee9e7c302f Selenium: set the GitHub username to lowercase when compared to the value 'Federated Identity' 2018-06-23 10:35:16 +03:00
Sergey Skorik 3c09d1420d
Selenium: cover Python language server format feature by selenium test (#10149) 2018-06-22 13:28:42 +00:00
Sergey Skorik 4e11edb5d8
Selenium: cover workspace creation from Blank stack by selenium test (#10145) 2018-06-22 09:23:13 +00:00
Sergey Skorik 2aa337d7ef
Selenium: move WorkingWithJavaMySqlStackTest and WorkingWithNodeWsTest selenium tests to stack package (#10147) 2018-06-22 09:07:03 +00:00
Igor Ohrimenko 4ce5a6fe59
Selenium: Revise and update "Dashboard" selenium tests in "Workspaces" section ("Workspace List" and "New Workspace" pages). (#9997) 2018-06-19 18:06:44 +03:00
Roman Iuvshyn d7e1c73cf8
RELEASE: Set next development version (#10110) 2018-06-19 17:24:50 +03:00
Aleksandr Shmaraiev 695c187902 Add one condition check to 'AfterMethod' in the 'ContributeTabTest' 2018-06-19 14:09:38 +00:00
Maxim Musienko 70bcc8b336 Implement test for covering rollout update CHE with Recreate strategy (#10091)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-19 15:16:17 +03:00
Sergey Skorik f76aa4db0e
Selenium: fix StacksListTest selenium test according to stacks list changes(#10104) 2018-06-19 11:32:04 +00:00
Aleksandr Shmaraiev 1f7fed61f1 Correct the closing 'Preferences' form in the 'AfterMethod' of 'ContributeTabTest' 2018-06-15 15:07:20 +00:00
Igor Vinokur e1a964d0e5
CHE-8164: Fix error when creating project from archetype (#10029)
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.
2018-06-15 16:47:21 +03:00
Sergey Skorik 69395eb6d0
Selenium: cover workspace creation from Python stack by selenium test (#10057) 2018-06-15 11:54:01 +00:00
Dmytro Nochevnov f5ce200109
Extract OpenShiftCliCommandExecutor in selenium tests (#10033)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-14 14:28:45 +03:00
Sergey Skorik ec4e4cd76f
Selenium: fix workspace template for C++ stack (#10042) 2018-06-14 10:04:16 +00:00
Aleksandr Shmaraiev 3c1389cc2f Add the 'Assert.fail()' to the 'ContributeTabTest' according to known issue #10019 2018-06-13 11:26:18 +00:00
Dmytro Nochevnov 02b306267e
Add option not to start test workspaces after creation (#10022)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-13 11:22:36 +03:00
Dmytro Nochevnov 6871267220
Fix comment to comply requirements (#10023)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-13 08:54:42 +03:00
Aleksandr Shmaraiev b39bb0a581
Selenium: Add the 'Assert.fail()' in the 'ImportWizardFormTest according to the known issue #10012 (#10016)
* Add the 'Assert.fail()' in the 'ImportWizardFormTest according to the known issue #10012
* Add the 'try/catch' to the @AfterMethod according to the review
2018-06-12 15:04:57 +00:00
Sergey Skorik 60d1a7300b
Selenium: wait until 'Workspace is Created' dialog is fully rendered before workspace creation #10017 2018-06-12 13:47:06 +00:00
Dmytro Nochevnov c4749c29d1
Don't trim stack trace and capture skipped selenium test results (#10015)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2018-06-12 16:39:06 +03:00
Sergey Skorik 5a2a5bdb61
Selenium: cover #8674 issue in CreateAndDeleteProjectsTest selenium test (#10006) 2018-06-12 12:17:43 +00:00
Sergey Skorik af919841f2
Selenium: cover Clangd LS functionality by selenium test (#9875) 2018-06-12 11:39:25 +00:00
Dmytro Nochevnov e75fbce93f
Create selenium test user in Eclipse Che on OCP remotely (#9982)
* 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>
2018-06-12 12:48:43 +03:00
Aleksandr Shmaraiev cc587dd8e9
Selenium: Create the 'ContributeTabTest' (#9974)
* 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'
2018-06-12 06:43:10 +00:00
Maxim Musienko 60f123d6ee
Implement selenium test for covering LS server for TypeScript language (#9969)
* finish the test and adapt files from resources for the test
2018-06-10 23:53:46 +03:00
Maxim Musienko 344daee3cd
Remove unnecessary pageobjects related with depricated MachinePerspective view. Rename MachineTerminal to CheTerminal (#9665) 2018-06-08 12:37:18 +03:00
Sergey Skorik c546d1eedb
Selenium: cover creation of workspaces from organization details page (#9888) 2018-06-01 13:32:38 +00:00
Aleksandr Shmaraiev fc7c08cbc1 Selenium: delete the 'try/catch' from the 'TestWorkspaceImpl' according to close issue #9556 2018-06-01 13:29:23 +00:00
Aleksandr Shmaraiev 21e27e04bc Selenium: delete the 'try/catch' from the 'PullRequestPluginTest' according to close issue #9484 2018-06-01 13:28:59 +00:00
Igor Ohrimenko 7885bc5f9b
Selenium: Fix unexpected fails of "CreateWorkspaceTest", "AddWorkspaceToOrganizationTest", "ShareWorkspaceTest" selenium tests (#9873) 2018-05-30 17:27:59 +03:00
Roman Iuvshyn 7231585f4b
RELEASE: Set next development version (#9862) 2018-05-30 12:01:54 +03:00
Igor Ohrimenko d7dd793425
Selenium: Rework "NewWorkspace" selenium page object by "SeleniumWebDriverHelper" class (#9812) 2018-05-29 21:54:55 +03:00
Maxim Musienko a2473aee75
Implement selenium test for covering LS server for PHP language (#9805)
* Implement selenium test for covering LS server for PHP
2018-05-25 15:57:13 +03:00
Sergey Skorik a94b29a99c
Selenium: cover Python LS functionality by selenium test (#9759) 2018-05-25 09:28:50 +03:00
Aleksandr Shmaraiev 432bdf95db
Selenium: Rework the 'ImportProjectFromGitHubTest' to add test repo on Github using the 'kohsuke Github' library (#9762)
* Rework the 'ImportProjectFromGitHubTest' to add test repo on Github using the 'kohsuke Github' library
2018-05-23 15:58:15 +03:00
Aleksandr Shmaraiev 7a956e9e2e Rework the 'ImportProjectFromZipTest' to add test repo on Github using the 'kohsuke GitHub' library 2018-05-22 13:01:55 +00:00
Aleksandr Shmaraiev 9e0e2e9ba4 Rework the 'ImportMavenProjectFromGitTest' to add test repo on Github using the 'kohsuke Github' library 2018-05-22 13:01:31 +00:00
Aleksandr Shmaraiev 82746d2031 Rework the 'ImportWizardFormTest' to add test repo on Github using the 'kohsuke GitHub' library 2018-05-21 12:13:07 +03:00