Commit Graph

73 Commits (3af8a5b0902e2eefc1940e96fd39d673c6d2c154)

Author SHA1 Message Date
Igor Ohrimenko 3af8a5b090
Rework the "ProjectTree.waitProjectImported" method for avoiding project import rejecting (#18531)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-12-07 11:02:32 +02:00
Maxim Musienko c55ddf2f2f
change locators accordind to latest changes in Theia. (#18374)
Signed-off-by: Musienko Maksym <mmusiien@redhat.com>
2020-12-03 17:50:29 +02:00
Katerina Foniok b7c71e0b2b
Dialog changed to notification during command run, fixing scala (#18366) 2020-11-13 16:35:55 +01:00
Igor Ohrimenko efe2f65239
Add method for clicking to the "Allow selected permissions" button (#18208)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-10-27 12:15:12 +02:00
Igor Ohrimenko e6efd020cf
Create issue for checking linking the "Che" user with "OCP" user (#18198)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-10-26 16:26:11 +02:00
Katerina Foniok 22b3d5fb86
Change xpath for clicking on devfile sample (#18181) 2020-10-26 11:27:43 +01:00
Artem Zatsarynnyi 287313a98b
Adapt Happy Path tests to the latest Che Theia changes: Debug main menu is Run now (#18189)
Signed-off-by: Artem Zatsarynnyi <azatsary@redhat.com>
2020-10-24 00:05:05 +03:00
Tibor Dancs 590f81876f
Implement devfile test for Java Spring Boot (#18167)
* Added Java with SpringBoot devfile test including build task

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixing timouts for workspace build, added workspace run task

Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-10-23 10:17:51 +02:00
Radim Hopp 6d530442c4 Fix Happy Path: Don't click "Continue without scanning output"
This change is needed to reflec change done in https://github.com/eclipse/che-theia/pull/889

Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-10-22 17:54:57 +02:00
Katerina Foniok 412dbd9c13
Fixing Quarkus devfile test. (#18135) 2020-10-20 12:14:59 +02:00
Katerina Foniok 1fdbe9b9a1
Adding check for icon in terminal tab, enabling tests for command (#18108)
* Adding check for icon in terminal tab, enabling tests for command

* Removing custom polling mechanism

* Apply review advices
2020-10-19 08:00:57 +02:00
Igor Vinokur ae0d569dcf
Use Id selector for the navigator callapse all button instead of css selector (#17982) 2020-09-29 22:35:30 +03:00
Igor Ohrimenko 982a0a148c
Improve logging of the "Terminal.waitText" method steps for increasing intelligibility (#17984)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-09-29 15:04:00 +03:00
Igor Ohrimenko af9157d3c1
The "Terminal.getText" method failed because of the "NoSuchElementError" reason (#17963)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-09-25 16:18:33 +03:00
Roman Nikitenko 914ee55622 Change selector at clicking on terminal tab
Signed-off-by: Roman Nikitenko <rnikiten@redhat.com>
2020-09-24 15:27:44 +03:00
Tibor Dancs b13cd0f16d
Fixed issue - I'm dumb, didn't pass the timeout variable to the wait method (#17926)
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-09-22 13:40:13 +02:00
Tibor Dancs 0134523def
17702 task stabilize devfile tests for osdv4 (#17884)
* Changing build task notification logic to avoid long timeout when task fails

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixing Java Vert.x LS test

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixed LS validation for Golang devfile

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixed LS validation for NodeJS devfile

Signed-off-by: Tibor Dancs <tdancs@redhat.com>

* Fixing timeout variable set incorrectly in Ide class

Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-09-17 09:37:41 +02:00
Katerina Foniok 46db144260
Remove default timeout (#17506)
* Removing default timeouts

* Stabilising suggestion invoking test

* Change reporter printing info, lint

* Unify the way of waiting for the workspace to be ready

* Add TimeoutConstants.ts to Readme.md

* Applying some refactoring changes gotten in review.

* Removing reundant timeouts set when calling methods

* Reverting of removal 'waitTab' method from Terminal class
2020-09-15 14:54:48 +02:00
Tibor Dancs 53955d30e8
Fixed waitProjectImported by minor tweak in polling - using single attempt caused frequent workspace refreshes
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-09-07 10:06:24 +02:00
Tibor Dancs bb6b787573
Fixing ProjectTree looking for open ProjectExplorer with incorrect locator
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-09-07 10:06:19 +02:00
Tibor Dancs b7932afc2a Fixing faulty logic in ProjectTree class where if the path was shorter than two folders, it would incorrectly attempt to open the file
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-08-12 09:18:38 +02:00
Tibor Dancs 437b87bda1
Adding basic PHP Simple deftile test
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-08-05 23:14:33 +02:00
Tibor Dancs 9e00f664c7
Linter fix - spaces, removing unused imports
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-08-05 10:27:48 +02:00
Tibor Dancs 506c0c0a1e
Merge pull request #17371 from ScrewTSW/16343-feature-refactor-ts-selenium-timeout-logic
Refactor timeout logic in DriverHelper class
2020-08-04 12:52:49 +02:00
Igor Ohrimenko 6963118f58
After clicking to the "Clear all" button of the notification center notifications still present (#17555)
* Update the 'Editor' pageobject

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Remove redundant dependencies

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-08-04 12:25:42 +03:00
Tibor Dancs (At-home key) 794c696bef
Modifying DriverHelper class timeout logic, adding try-catch blocks to uncaught exceptions in methods
Signed-off-by: Tibor Dancs (At-home key) <tdancs@redhat.com>
2020-08-04 09:18:08 +02:00
Igor Ohrimenko 3a7fcf6d1d
After clicking to the "Clear all" button of the notification center notifications still present (#17523)
* Update the notifications clearing

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Update notifications clearing logic

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Update notifications clearing logic

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-07-30 16:29:08 +03:00
Igor Ohrimenko 7c93f56462
Rework the "Terminal.getText" method for avoiding tests failures (#17344)
* Update the 'Terminal.getText' method

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>

* Revert "Throw an error if workspace is not stopped in given time. (#17281)"

This reverts commit 3d60fde249.

Signed-off-by: Dmytro Nochevnov <dnochevn@redhat.com>

Co-authored-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-07-07 22:32:08 +03:00
Maxim Musienko a41029ba02
Add parts for running Openshift plugin test nightly (#17112)
* create openshift pugin test
2020-06-23 10:35:27 +03:00
Maxim Musienko faadff6b97
Create e2e test for checking Openshift plugin (#16358)
* create testcase for checking openshift plugin
2020-06-01 12:14:56 +03:00
Katerina Foniok d5d135bd1e
Add test for testing workspace creation via factory URL. (#16999)
* Add test for testing workspace creation via factroy URL.

* Move error handling to Ide class, use devfile from devfile-registry.
2020-05-27 11:15:43 +02:00
Shmaraiev Oleksandr 7d093280a4
Update 'OcpLoginPage' to provide login both OCP and OSD (#16995) 2020-05-22 14:26:49 +03:00
Maxim Musienko f85027df0b
change locators according to latest changes in Theia (#16979) 2020-05-21 11:18:37 +03:00
Tibor Dancs 58e5e69ef7 Switching workspace readyness logic over to preloader with correct timeout
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-05-15 17:06:20 +02:00
Katerina Foniok 56db6f12b7
Fix devfile tests - use Get Started page (#16922)
* Changing docker files so tests can be run by root and non-root users.

* Changing devfile tests to use Get Started page.

* Removing NewWorkspace page and obsolete test.

* Moving workspaceName to suite from gloval. Renaming NameGenerator to WorkspaceNameHandler.
2020-05-14 16:26:40 +02:00
Igor Ohrimenko 8c2be9a8f4
Update the "DialogWindow.waitDialog" method (#16847)
Update the "DialogWindow.waitDialog" method

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-05-05 10:58:22 +03:00
Igor Ohrimenko 3a31ab8f59
Update the "DialogWindow.waitDialog" method (#16831)
Update the "DialogWindow.waitDialog" method 

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-05-04 19:31:08 +03:00
Tibor Dancs d84ada178f
Fixing incorrect xpath strings in DialogWindow class (#16785)
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-04-29 09:50:08 +02:00
Katerina Foniok d1c5323bf4
Checkbox for workspace deletion is sometimes visible but not clickable. Adding try/check to verify that checkbox was selected. (#16595) 2020-04-14 14:16:53 +02:00
Igor Ohrimenko 5adbbadbfd
[TS_SELENIUM] Unexpected url after using the "PreviewWidget.typeAndApplyUrl" method (#16582)
Fix unexpected url after using the "PreviewWidget.typeAndApplyUrl" method

Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-04-09 16:08:30 +03:00
Katerina Foniok 7580ee9243
Fix removing workspace via UI - new popup. (#16561) 2020-04-07 14:08:38 +02:00
Sergey Skorik 7dcbfa6f46
[Selenium] fix problem with login to Che by Openshift OAuth with 'admin' user (#16526) 2020-04-02 21:20:30 +03:00
Sergey Skorik db3d588466
[Selenium] Use TS_OCP_LOGIN_PAGE_PROVIDER_TITLE constant for identity provider name (#16495) 2020-03-31 17:51:22 +03:00
Katerina Foniok 5ee89773b1
Remove Factory and Dashboard menu checks from Dashboard.ts (#16467) 2020-03-27 10:09:10 +01:00
Sergey Skorik 6463389a45
[Selenium] Login to Che by Openshift OAuth (#16443) 2020-03-26 12:37:20 +02:00
Shmaraiev Oleksandr c1bc4f0314
Test E2E: Delete redundant steps from 'InstallCheByOperatorHub' test (#16369)
* Delete redundant steps in E2E test
* Replace method in the 'OcpWebConsolePage' pageobject
2020-03-16 15:33:19 +02:00
Tibor Dancs 450fb36c81 Removing duplicate method Ide.waitIdeFrameAndSwitchOnIt as it has not been used anywhere
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-03-13 20:34:23 +01:00
Shmaraiev Oleksandr e400ce8e55
Tests E2E: Update pageobjects to login page both OCP 4.3 and OCP 4.4 (#16279)
* Rework page objects to login page both OCP 4.3 and OCP 4.4
Co-authored-by: Dmytro Nochevnov <dnochevn@redhat.com>
2020-03-07 22:15:02 +02:00
Igor Ohrimenko f5e248131c
[TS_SELENIUM] Rework a "Terminal.getText" method for avoiding fails (#16257)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-03-06 14:01:37 +02:00
Igor Ohrimenko 68a4b72878
[TS_SELENIUM] Create method for clicking to "Get Started" button on dashboard. (#16226)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-03-04 18:59:26 +02:00