jdi-testing / jdi-light

Powerful Framework for UI Automation Testing on Java
https://jdi-docs.github.io/jdi-light/
MIT License
109 stars 47 forks source link

Make test example that shows how to use all elements in JDI Light - FOR DECOMPOSITION #1509

Open AlexeyGirin opened 4 years ago

AlexeyGirin commented 4 years ago

At the moment we have tests that making sure that JDI Light elements implemented correctly and their methods work correctly. For that purpose, we use external validation asserts and don't use JDI native asserts. Moreover, all test examples in the documentation use tests for JDI Light testing but not JDI Light test examples. That blowup people's minds and have to be corrected.

  1. Create test examples that use native JDI Light asserts (better to place it into dedicated test suit) and demonstrate how to use every available method
  2. Update documentation - remove "old" tests examples (usually they contain assertEquals) and replace them with new ones
OBraunEPAM commented 4 years ago

Here's working branch for this epic - https://github.com/jdi-testing/jdi-light/tree/1509---jdi-light-test-examples All changes regarding adding test examples should be done in separate branch created from the branch mentioned above and then merge it back to this working branch by standard practice (open PR).

sergeisolarev commented 4 years ago

All new Tests Merged with dev into branch 1509ToDev

sergeisolarev commented 4 years ago

The following tests are failed in html tests module:

1) io.github.epam.html.tests.elements.common.PerformanceTests.displayButtonTest(PerformanceTests.java:84) 2) io.github.epam.html.tests.elements.common.ButtonTests.isNotAppearButtonTest(ButtonTests.java:151) 3) io.github.epam.html.tests.elements.common.ButtonTests.lambda$isNotAppearFailedButtonTest$4(ButtonTests.java:140) 4) io.github.epam.html.tests.elements.complex.table.DataSimpleTableTests.valueTest(DataSimpleTableTests.java:53) 5) io.github.epam.html.tests.elements.common.PerformanceTests.vanishButtonUITest(PerformanceTests.java:160) 6) io.github.epam.html.tests.elements.common.PerformanceTests.vanishHiddenButtonTest(PerformanceTests.java:67) 7) io.github.epam.html.tests.elements.common.PerformanceTests.vanishHiddenButtonUITest(PerformanceTests.java:171) 8) io.github.epam.html.tests.elements.common.PerformanceTests.vanishRemoveButtonUITest(PerformanceTests.java:165)