-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adapt CreateNewProjectIT #4668
Adapt CreateNewProjectIT #4668
Conversation
Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
…le#4617) --------- Signed-off-by: Iliyan Velichkov <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
* switch tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> * MailIT works as well Signed-off-by: Iliyan Velichkov <[email protected]> * switch more tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]>
Signed-off-by: Iliyan Velichkov <[email protected]>
3a09179
to
ffe8415
Compare
Signed-off-by: Iliyan Velichkov <[email protected]>
@bob4o-afk resolve the conflicts - codeql is now enabled for all branches with commit 7b3f62b |
Signed-off-by: bobinkata <[email protected]>
@BorisNen please review this PR |
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/IDE.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/impl/BrowserImpl.java
Outdated
Show resolved
Hide resolved
...tions/src/test/java/org/eclipse/dirigible/integration/tests/ui/tests/CreateNewProjectIT.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/IDE.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/IDE.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/impl/BrowserImpl.java
Outdated
Show resolved
Hide resolved
Signed-off-by: bobinkata <[email protected]>
Signed-off-by: bobinkata <[email protected]>
Signed-off-by: bobinkata <[email protected]>
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/HtmlElementType.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/HtmlElementType.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/impl/BrowserImpl.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/impl/BrowserImpl.java
Outdated
Show resolved
Hide resolved
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/framework/impl/BrowserImpl.java
Outdated
Show resolved
Hide resolved
By selector = constructCssLocatorByType(elementType); | ||
|
||
findElementInAllFrames(selector, Condition.exist, Condition.exactText(text)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you have to search for element with class attribute which have given value and contains exact text
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it is replaced with "By selector = constructCssSelectorByType(elementType); " as it was, because now it uses " browser.assertElementExistsByTypeAndText(HtmlElementType.SPAN, expectedMessage);"
tests/tests-framework/src/main/java/org/eclipse/dirigible/tests/IDE.java
Show resolved
Hide resolved
* add dummy change Signed-off-by: Iliyan Velichkov <[email protected]> * enable new UI by default Signed-off-by: Iliyan Velichkov <[email protected]> * fix tests execution - run them with the old UI until adapted Signed-off-by: Iliyan Velichkov <[email protected]> * Changed DirigibleHomepageIT test to work with new UI (#4617) --------- Signed-off-by: Iliyan Velichkov <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> * add generic solution to reload config after test classes Signed-off-by: Iliyan Velichkov <[email protected]> * make openWorkbench to work with the new and the old UI Signed-off-by: Iliyan Velichkov <[email protected]> * format the code Signed-off-by: Iliyan Velichkov <[email protected]> * improve failure messages and elements search Signed-off-by: Iliyan Velichkov <[email protected]> * don't let the logs to affect the matching, increase search time Signed-off-by: Iliyan Velichkov <[email protected]> * switch tests to the new UI (#4657) * switch tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> * MailIT works as well Signed-off-by: Iliyan Velichkov <[email protected]> * switch more tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]> * reduce ELEMENT_SEARCH_IN_FRAME_MILLIS (#4663) Signed-off-by: Iliyan Velichkov <[email protected]> * fix: fixing test * codeql on all branches Signed-off-by: Iliyan Velichkov <[email protected]> * Update IDE.java Signed-off-by: bobinkata <[email protected]> * Update BrowserImpl.java Signed-off-by: bobinkata <[email protected]> * Update CreateNewProjectIT.java Signed-off-by: bobinkata <[email protected]> * fix: fixing comments * fix: fixing comments * fix: fixing comments --------- Signed-off-by: Iliyan Velichkov <[email protected]> Signed-off-by: bobinkata <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> Co-authored-by: Valentin <[email protected]>
* add dummy change Signed-off-by: Iliyan Velichkov <[email protected]> * enable new UI by default Signed-off-by: Iliyan Velichkov <[email protected]> * fix tests execution - run them with the old UI until adapted Signed-off-by: Iliyan Velichkov <[email protected]> * Changed DirigibleHomepageIT test to work with new UI (#4617) --------- Signed-off-by: Iliyan Velichkov <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> * add generic solution to reload config after test classes Signed-off-by: Iliyan Velichkov <[email protected]> * make openWorkbench to work with the new and the old UI Signed-off-by: Iliyan Velichkov <[email protected]> * format the code Signed-off-by: Iliyan Velichkov <[email protected]> * improve failure messages and elements search Signed-off-by: Iliyan Velichkov <[email protected]> * don't let the logs to affect the matching, increase search time Signed-off-by: Iliyan Velichkov <[email protected]> * switch tests to the new UI (#4657) * switch tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> * MailIT works as well Signed-off-by: Iliyan Velichkov <[email protected]> * switch more tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]> * reduce ELEMENT_SEARCH_IN_FRAME_MILLIS (#4663) Signed-off-by: Iliyan Velichkov <[email protected]> * fix: fixing test * codeql on all branches Signed-off-by: Iliyan Velichkov <[email protected]> * Update IDE.java Signed-off-by: bobinkata <[email protected]> * Update BrowserImpl.java Signed-off-by: bobinkata <[email protected]> * Update CreateNewProjectIT.java Signed-off-by: bobinkata <[email protected]> * fix: fixing comments * fix: fixing comments * fix: fixing comments --------- Signed-off-by: Iliyan Velichkov <[email protected]> Signed-off-by: bobinkata <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> Co-authored-by: Valentin <[email protected]>
* add dummy change Signed-off-by: Iliyan Velichkov <[email protected]> * enable new UI by default Signed-off-by: Iliyan Velichkov <[email protected]> * fix tests execution - run them with the old UI until adapted Signed-off-by: Iliyan Velichkov <[email protected]> * Changed DirigibleHomepageIT test to work with new UI (#4617) --------- Signed-off-by: Iliyan Velichkov <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> * add generic solution to reload config after test classes Signed-off-by: Iliyan Velichkov <[email protected]> * make openWorkbench to work with the new and the old UI Signed-off-by: Iliyan Velichkov <[email protected]> * format the code Signed-off-by: Iliyan Velichkov <[email protected]> * improve failure messages and elements search Signed-off-by: Iliyan Velichkov <[email protected]> * don't let the logs to affect the matching, increase search time Signed-off-by: Iliyan Velichkov <[email protected]> * switch tests to the new UI (#4657) * switch tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> * MailIT works as well Signed-off-by: Iliyan Velichkov <[email protected]> * switch more tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]> * reduce ELEMENT_SEARCH_IN_FRAME_MILLIS (#4663) Signed-off-by: Iliyan Velichkov <[email protected]> * Adapt CreateNewProjectIT (#4668) * add dummy change Signed-off-by: Iliyan Velichkov <[email protected]> * enable new UI by default Signed-off-by: Iliyan Velichkov <[email protected]> * fix tests execution - run them with the old UI until adapted Signed-off-by: Iliyan Velichkov <[email protected]> * Changed DirigibleHomepageIT test to work with new UI (#4617) --------- Signed-off-by: Iliyan Velichkov <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> * add generic solution to reload config after test classes Signed-off-by: Iliyan Velichkov <[email protected]> * make openWorkbench to work with the new and the old UI Signed-off-by: Iliyan Velichkov <[email protected]> * format the code Signed-off-by: Iliyan Velichkov <[email protected]> * improve failure messages and elements search Signed-off-by: Iliyan Velichkov <[email protected]> * don't let the logs to affect the matching, increase search time Signed-off-by: Iliyan Velichkov <[email protected]> * switch tests to the new UI (#4657) * switch tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> * MailIT works as well Signed-off-by: Iliyan Velichkov <[email protected]> * switch more tests to the new UI Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]> * reduce ELEMENT_SEARCH_IN_FRAME_MILLIS (#4663) Signed-off-by: Iliyan Velichkov <[email protected]> * fix: fixing test * codeql on all branches Signed-off-by: Iliyan Velichkov <[email protected]> * Update IDE.java Signed-off-by: bobinkata <[email protected]> * Update BrowserImpl.java Signed-off-by: bobinkata <[email protected]> * Update CreateNewProjectIT.java Signed-off-by: bobinkata <[email protected]> * fix: fixing comments * fix: fixing comments * fix: fixing comments --------- Signed-off-by: Iliyan Velichkov <[email protected]> Signed-off-by: bobinkata <[email protected]> Co-authored-by: Iliyan Velichkov <[email protected]> Co-authored-by: Valentin <[email protected]> * cleanup Signed-off-by: Iliyan Velichkov <[email protected]> * cleanup and refactoring Signed-off-by: Iliyan Velichkov <[email protected]> * configs refactoring Signed-off-by: Iliyan Velichkov <[email protected]> * refactoring Signed-off-by: Iliyan Velichkov <[email protected]> --------- Signed-off-by: Iliyan Velichkov <[email protected]> Signed-off-by: bobinkata <[email protected]> Co-authored-by: Valentin <[email protected]> Co-authored-by: bobinkata <[email protected]>
What does this PR do?
Adapting test CreateNewProjectIT with the new UI
Fixes codbex/codbex-platform-development#4
What issues does this PR fix or reference?
It fixes the way of finding the correct elements.
Adapt test CreateNewProjectIT
Release Notes
Documentation