Commit Graph

165 Commits (e90eaa97fe06f2fbea4ad56351919087fe78d627)

Author SHA1 Message Date
Aleksandr Shmaraiev b00deab070 Delete workaround in the selenium test
Delete workaround in the 'ConfigureSomeSourceFoldersTest' selenium test after resolve issue
2017-10-27 13:12:36 +03:00
Maxim Musienko 3d3c27a1f3 Use main menu instead of toolbar menu for check deleting files under FileWatcher (#7025) 2017-10-27 10:27:37 +03:00
Maxim Musienko 299059c1f8 rework the tests according to latest changes in the UI of the IDE (#7000) 2017-10-26 17:52:36 +03:00
Aleksandr Shmaraiev 287c98d9c4 Add change to 'CodenvyEditor' according to new client
Change the color style in the method into 'CodenvyEditor' according new style on the client
2017-10-26 17:01:17 +03:00
Oleksandr Garagatyi 0143ad3ec8 CHE-6124: Add servers to workspace templates instead of exposed ports
Since exposed ports won't be published anymore they should be
represented as machine servers.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-10-26 12:10:36 +03:00
Oleksandr Garagatyi cd1301d115 CHE-6124: Do not publish exposed ports in Docker machines
Publish port in Docker machines only in case there is a server
in the workspace config that represents the port.
Refactor OpenShift infrastructure code.
Refactor Docker infrastructure code.
Add constant of memory attribute and reuse it everywhere it is
hardcoded.
Add constant for installer environment attribute and reuse it
everywhere it is hardcoded.
Add machine memory attribute validation to workspace validation.
Move provisioning of servers, environment variables from
infrastructure implementations to runtime SPI abstract level.
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-10-26 12:10:36 +03:00
Dmytro Nochevnov 2128846d48 Fix unexpected interuption of environment clean up in selenium tests (#6994) 2017-10-25 19:36:43 +03:00
Igor Ohrimenko a67441958a Stabilize AutocompleteProposalJavaDocTest and DeleteProjectsTest (#6992) 2017-10-25 18:05:31 +03:00
Aleksandr Shmaraiev f576d5790c Add change to file in resources
Add small change in the file of resources related to selenium test 'MoveItemsTest'
2017-10-25 17:05:00 +03:00
Anatoliy Bazko c1463d3be9 CHE-6843: Navigate to breakpoint (#6960)
Signed-off-by: Anatoliy Bazko <abazko@redhat.com>
2017-10-25 13:53:53 +00:00
Sergey Skorik dbef283aca [CHE 6] Extend FindTextFeatureTest selenium test (#6936)
* added test method for testing FindText results pagination
2017-10-25 16:42:25 +03:00
Oleksandr Andriienko e9726221c5 Add debugger watch expressions. (#6950)
Add debugger watch expressions. Use smart tree widget for debugger variables tree. Remove some unused code.

Signed-off-by: Oleksandr Andriienko <oandriie@redhat.com>
2017-10-25 12:38:01 +00:00
Sergey Skorik 3b4314ff0c Fix NavigateToFileTest selenium test
added timeout after clearing input field of NavigateToFile form, returned waitListOfFilesNames() method in NavigateToFile page object (#6963)
2017-10-25 10:37:02 +03:00
Maxim Musienko b545e9eb01 Rework maven plugin test for more stability (#6955)
* simplify some steps in the test for increasing stability
2017-10-25 09:21:05 +03:00
Igor Ohrimenko be352a6a9b Stabilizing the tests in in "intelligencecommand", "autocomplete", "projectexplorer" packages (#6949) 2017-10-24 17:45:07 +03:00
Igor Ohrimenko 49f5cda100 Add method 'getUserPublicEmail' to TestGitHubServiceClient (#6866) 2017-10-24 11:48:39 +03:00
Max Shaposhnik 1e87b85742 Rename wsmaster.war into api.war and remove corresponding rewrite valve; (#6917) 2017-10-24 11:32:47 +03:00
Maxim Musienko b30a78c818 Simplify some steps in the test for increasing stability (#6895)
* simplify some steps in the test for increasing stability
2017-10-24 10:16:10 +03:00
Sergey Skorik 9efc20c0d0 Extend NavigateToFileTest selenium test
added test method for checking that files from hidden folders are not appear in list of found files
2017-10-23 17:00:48 +03:00
Aleksandr Shmaraiev 6fa555d475 Selenium: Adapt the 'FindTextFeatureTest' according to 'che6' branch (#6897)
* Adapt the selenium test 'FindTextFeatureTest' according to client on 'che6' branch
* Change names and locators into 'FindText' page object
* Change names and locators into 'Consoles' page object
* Create the 'PanelSelector' page object
* Add selenium test 'ImportProjectIntoSpecifiedBranchTest' to main tests suite
2017-10-23 14:36:37 +03:00
Sergey Skorik 0f92112084 Fix Dashboard selenium tests
changed timeouts for waiting statuses of workspace, reworked WorkspaceDetailsTest for che6
2017-10-23 14:22:36 +03:00
Dmytro Nochevnov a1e2562db2 Clean up svn reaources from selenium tests (#6883)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-10-21 10:25:29 +03:00
Florent BENOIT 3f262e620e Cleanup some Mockito deprecated usage (che6) (#6864)
* Cleanup some Mockito deprecated usage
org.mockito.Matchers —> org.mockito.ArgumentMatchers
org.mockito.runners.MockitoJUnitRunner —> org.mockito.junit.MockitoJUnitRunner

Change-Id: Icf7351cb58e0f42fa95885c2d2cf6b5e98206c35
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-21 09:07:43 +02:00
Dmytro Nochevnov bda6d136c3 Add ability to setup test workspace pool size in selenium tests (#6853) 2017-10-20 17:46:05 +02:00
Sergey Skorik 6abe909e89 Fix CheckRestoringOfSplitEditor selenium test(che6) 2017-10-20 17:34:16 +03:00
Florent BENOIT 6a95b6d74a Apply google format v1.4 https://github.com/google/google-java-format/releases/tag/google-java-format-1.4
Change-Id: I5df30c23165df1fd39eef4c57893bebd1d681c1d
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-19 22:23:04 +02:00
Aleksandr Shmaraiev 260116459f Selenium: Delete the package 'subversion' from project according to 'che6' branch (#6851)
* Delete the package 'subversion' from project according to 'che6' branch
* Delete selenium tests of subversion package from test suite
2017-10-19 15:09:07 +00:00
Maxim Musienko 9e8d987d7b Change steps in the test and rework depended Page Object for increasing stability tests (#6808) (#6826)
add steps and changes to Page Object for increasing stability tests
2017-10-19 17:37:00 +03:00
Sergii Kabashniuk f4cc97acce Set next version 6.0.0-M1-SNAPSHOT 2017-10-19 13:53:40 +03:00
Sergii Kabashniuk 2cd07f1369 Merge with master
modified:   ../../dashboard/src/app/workspaces/workspace-status/workspace-status.html
	modified:   ../../selenium/che-selenium-test/src/main/java/org/eclipse/che/selenium/pageobject/dashboard/DashboardWorkspace.java
	modified:   ../../selenium/che-selenium-test/src/test/java/org/eclipse/che/selenium/dashboard/RenameWorkspaceTest.java
	modified:   ../../selenium/che-selenium-test/src/test/java/org/eclipse/che/selenium/dashboard/WorkspaceDetailsTest.java
2017-10-19 13:13:08 +03:00
Sergey Skorik 3394b78e54 Fix WorkspaceDetailsTest selenium test (#6706)
* added timeout for switching agents, changed locator for status of workspace, added new agent(Yaml language server) for testing
* changed method in RenameWorkspaceTest selenium test for checking that workspace status is starting
2017-10-19 06:35:56 +00:00
Sergii Kabashniuk 40f574871c Merge master into che6 (#6787)
* Fix FindTextFeatureTest selenium test (#6762)

* added timeout for closing the 'Search' loader before checking that FindText form is closed

* Allow to disable require update password for default admin user (#6777)

* Apply fixes to update maven plugins
- errorprone : ignore test methods that are using testxyz() pattern but are not annotated by @Test
- Remove  deprecated stuff (for example use descriptors/descriptor for maven-assembly plugin
- remove dependency with specific version
- remove unnecessary stubbing

Change-Id: I64e96c0465dc9081ed9dde6841ca9f77fb515005
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>

* No proxy handling (#6775)

* Fix setting empty no_proxy

Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>

* Fix setting empty no_proxy

Signed-off-by: Eugene Ivantsov <eivantsov@codenvy.com>

* Fix typo

* Skip github api requests in keycloak interceptor

Signed-off-by: Anna Shumilova <ashumilo@redhat.com>

* Dashboard: added the validation of a factory name's uniqueness (#6758)

* CHE-5462: add unique-factory-name validation directive.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* CHE-5462: use validation directive for factory name's uniqueness.

Signed-off-by: Oleksii Kurinnyi <okurinny@redhat.com>

* CHE-6545: Add condition for breakpoints (#6763)

* Provide new presentation model for the tree node (#6718)

* Provide new presentation model for the tree node

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Add missing HasNewPresentation interface

Signed-off-by: Vladyslav Zhukovskyi <vzhukovs@redhat.com>

* Increase login page load timeout in selenium tests (#6794)

Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>

* Fix problem with open factory page in the selenium tests (#6789)

* fixup! Merge with master
2017-10-18 16:55:21 +03:00
Vitalii Parfonov 9a03a8368f Fix after PlainJavaProjectConfigureClasspathTest 9581a9bbef (#6800)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2017-10-18 16:36:58 +03:00
Vitalii Parfonov f5c0f86364 Fix after PlainJavaProjectConfigureClasspathTest 9581a9bbef (#6799)
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
2017-10-18 16:36:30 +03:00
Aleksandr Shmaraiev 914e46e05c Add changes to selenium test
Delete the 'SnapshotTest' as unused according to 'che6'
Add the wating a notification to the 'ConfigureSomeSourceFoldersTest'
2017-10-18 12:42:56 +00:00
Anatoliy Bazko d3278187fb CHE-6545: Add condition for breakpoints (#6763) (#6786) 2017-10-18 11:46:00 +00:00
Igor Ohrimenko 2caee22ecb Fix problem with open factory page in the selenium tests (#6789) 2017-10-18 14:41:14 +03:00
Dmytro Nochevnov 1e3afa6f40 Increase login page load timeout in selenium tests (#6794)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-10-18 13:07:10 +02:00
Anatoliy Bazko 2ce3bca97e CHE-6545: Add condition for breakpoints (#6763) 2017-10-18 07:56:06 +00:00
Roman Iuvshyn 7f6ec2e409 Allow to disable require update password for default admin user (#6780)
* Fix FindTextFeatureTest selenium test (#6762)

* Allow to disable require update password for default admin user
2017-10-17 23:48:15 +03:00
Florent BENOIT 7a3bb3f5b7 Apply fixes to update maven plugins
- errorprone : ignore test methods that are using testxyz() pattern but are not annotated by @Test
- Remove  deprecated stuff (for example use descriptors/descriptor for maven-assembly plugin
- Remove unnecessary stubbing
- fix dependencies

Change-Id: I16f512fc3bfd542463d3b0d3c062f45ceb5ac6b2
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-17 21:44:00 +02:00
Florent BENOIT 529ac3d400 Apply fixes to update maven plugins
- errorprone : ignore test methods that are using testxyz() pattern but are not annotated by @Test
- Remove  deprecated stuff (for example use descriptors/descriptor for maven-assembly plugin
- remove dependency with specific version
- remove unnecessary stubbing

Change-Id: I64e96c0465dc9081ed9dde6841ca9f77fb515005
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-17 21:41:57 +02:00
Sergey Skorik 1ba6316d42 Fix FindTextFeatureTest selenium test (#6762)
* added timeout for closing the 'Search' loader before checking that FindText form is closed
2017-10-17 12:07:35 +00:00
Sergii Kabashniuk e321ab00b1 Merge with master 2017-10-15 14:33:47 +03:00
Florent BENOIT 9581a9bbef Move to mockito 2.10
Some changes are required like
 - anyString() --> nullable(String.class) for many tests as in fact we provide null values
 - add class for VerificationMode as there are more than one method now (can't use lambdas)
 - remove cast on ArgumentMatcher (now we can use lambdas as there is generics)
 - remove unecessary stubbing (mockito is now reporting un-needed stubs)

Change-Id: I69c7ccc86bc85a4401d5e33671229ae0ce560dbb
Signed-off-by: Florent BENOIT <fbenoit@redhat.com>
2017-10-15 10:34:15 +02:00
Roman Iuvshyn abe3271908 RELEASE: Set next development version (#6692)
* RELEASE: Set next development version
2017-10-14 20:17:04 +03:00
Oleksandr Garagatyi 03cb20ad64 Merge branch 'master' into che6
Signed-off-by: Oleksandr Garagatyi <ogaragat@redhat.com>
2017-10-14 17:00:09 +03:00
Dmytro Nochevnov a2b4d732a5 Add ability to inject different webdrivers into the Entrance class (#6714)
Signed-off-by: Dmytro Nochevnov <dnochevnov@codenvy.com>
2017-10-13 16:00:22 +02:00
Sergey Skorik 76cdcee5c6 Fix locators in DasboardWorkspace page object
* fix locators for finding workspace by name from the Workspaces list and status of workspace
2017-10-13 12:38:57 +00:00
Igor Ohrimenko 6019a0c8f4 rework selenium tests in organization package (#6717) 2017-10-13 15:21:44 +03:00