Commit Graph

55 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
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
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
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
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
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
Radim Hopp b3814a7ea8 Fix Java based devfile tests.
Fixes #16166

+ few minor improvements

Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-03-03 14:34:00 +01:00
Maxim Musienko 3af3742d6f
Add new test for checking git plus ssh workflow (#15561)
Add new test for checking Git plus SSH workflaw
2020-02-25 19:16:53 +02:00
Tibor Dancs 47630855dd
Implement Python Django devfile test (#15831) 2020-02-20 23:26:31 +02:00
Igor Ohrimenko 4cf7e65eb2
[TS_SELENIUM] Add methods for receiving and waiting text from the DOM based terminal. (#16025)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-13 20:24:09 +02:00
Igor Ohrimenko c337943093
[TS_SELENIUM] Fix the logical mistake in the "Editor.ts" pageobject leads to "StaleElementReference" error (#15948)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-06 17:44:17 +02:00
Igor Ohrimenko 0e9cace002
[TS_SELENIUM] Create the "NotificationCenter" pageobject (#15909)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-02-03 18:32:14 +02:00
Tibor Dancs 5793910609 Fixed closeAllNotifications method, added new waitDialogShell method, added new runTaskWithDialogShell method into testsLibrary/CodeExecutionTests
Signed-off-by: Tibor Dancs <tdancs@redhat.com>
2020-01-28 15:26:57 +01:00
Igor Ohrimenko cbe8122d0b
[TS_SELENIUM] Create a method for expanding project tree according to the provided path (#15754)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-21 11:03:30 +02:00
Igor Ohrimenko 4926bf318c
The "PreviewWidget.waitUrl" method has locator not applicable for all stacks (#15725)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-16 17:20:44 +02:00
Igor Ohrimenko 201d5adf92
[Happy Path] Add checking of the deployed application readiness in the "Happy Path" scenario (#15692)
Signed-off-by: Ihor Okhrimenko <iokhrime@redhat.com>
2020-01-14 17:48:11 +02:00
Radim Hopp 78e60e6ced Extract & edit `waitForDebuggerToConnect` according to Ihor's review.
Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-14 13:54:44 +01:00
Radim Hopp 520be8907c Fix Happy Path
https://github.com/eclipse/che/issues/15613

Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-14 13:54:44 +01:00
Radim Hopp 59e7aae2a0 Fix Happy Path
https://github.com/eclipse/che/issues/15613

Signed-off-by: Radim Hopp <rhopp@redhat.com>
2020-01-08 14:49:12 +01:00