Skip to content
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

HPCC-31857 Develop an automated ECL Watch Test Suite #18739

Conversation

Nisha-Bagdwal
Copy link
Contributor

@Nisha-Bagdwal Nisha-Bagdwal commented Jun 7, 2024

HPCC-31857 Develop an automated ECL Watch Test Suite

Initial code check-in for test cases for ECL Watch UI for two pages, Activities, and ECL Workunits page.

Type of change:

  • This change is a bug fix (non-breaking change which fixes an issue).
  • This change is a new feature (non-breaking change which adds functionality).
  • This change improves the code (refactor or other change that does not change the functionality)
  • This change fixes warnings (the fix does not alter the functionality or the generated code)
  • This change is a breaking change (fix or feature that will cause existing behavior to change).
  • This change alters the query API (existing queries will have to be recompiled)

Checklist:

  • My code follows the code style of this project.
    • My code does not create any new warnings from compiler, build system, or lint.
  • The commit message is properly formatted and free of typos.
    • The commit message title makes sense in a changelog, by itself.
    • The commit is signed.
  • My change requires a change to the documentation.
    • I have updated the documentation accordingly, or...
    • I have created a JIRA ticket to update the documentation.
    • Any new interfaces or exported functions are appropriately commented.
  • I have read the CONTRIBUTORS document.
  • The change has been fully tested:
    • I have added tests to cover my changes.
    • All new and existing tests passed.
    • I have checked that this change does not introduce memory leaks.
    • I have used Valgrind or similar tools to check for potential issues.
  • I have given due consideration to all of the following potential concerns:
    • Scalability
    • Performance
    • Security
    • Thread-safety
    • Cloud-compatibility
    • Premature optimization
    • Existing deployed queries will not be broken
    • This change fixes the problem, not just the symptom
    • The target branch of this pull request is appropriate for such a change.
  • There are no similar instances of the same problem that should be addressed
    • I have addressed them here
    • I have raised JIRA issues to address them separately
  • This is a user interface / front-end modification
    • I have tested my changes in multiple modern browsers
    • The component(s) render as expected

Smoketest:

  • Send notifications about my Pull Request position in Smoketest queue.
  • Test my draft Pull Request.

Testing:

I tested the code locally manually.

@AttilaVamos AttilaVamos self-requested a review June 7, 2024 14:29
@Nisha-Bagdwal Nisha-Bagdwal force-pushed the HPCC-31857-ECL-Watch-Test-Suite branch from 5de9871 to 72efaa3 Compare June 18, 2024 16:43
Developed a testing framework using Java, Selenium, and TestNG. The framework is initiated by TestRunner.java, which loads all test classes listed in config/TestClasses.java and executes them sequentially. Each test class contains at least one method annotated with @test, which serves as the entry point for the tests. Initial test cases cover the Activities and ECL Workunit pages, including tests for text presence, link functionality, and sorting order. Additionally, provided comprehensive documentation with UML diagrams and detailed explanations of each method within the classes.

Signed-off-by: Nisha Bagdwal <[email protected]>
@Nisha-Bagdwal Nisha-Bagdwal force-pushed the HPCC-31857-ECL-Watch-Test-Suite branch from bb60606 to 3a90042 Compare June 18, 2024 20:26
Developed a testing framework using Java, Selenium, and TestNG. The framework is initiated by TestRunner.java, which loads all test classes listed in config/TestClasses.java and executes them sequentially. Each test class contains at least one method annotated with @test, which serves as the entry point for the tests. Initial test cases cover the Activities and ECL Workunit pages, including tests for text presence, link functionality, and sorting order. Additionally, provided comprehensive documentation with UML diagrams and detailed explanations of each method within the classes.

Signed-off-by: Nisha Bagdwal <[email protected]>
Code to add more loggers for debug and detail.
… into HPCC-31857-ECL-Watch-Test-Suite

# Conflicts:
#	esp/src/test-ui/tests/framework/TestRunner.java
#	esp/src/test-ui/tests/framework/config/Config.java
#	esp/src/test-ui/tests/framework/config/TestClasses.java
#	esp/src/test-ui/tests/framework/pages/ActivitiesTest.java
#	esp/src/test-ui/tests/framework/pages/BaseTableTest.java
#	esp/src/test-ui/tests/framework/pages/ECLWorkUnitsTest.java
#	esp/src/test-ui/tests/framework/setup/LoggerHolder.java
#	esp/src/test-ui/tests/framework/setup/TestInjector.java
#	esp/src/test-ui/tests/framework/utility/Common.java
Developed a testing framework using Java, Selenium, and TestNG. The framework is initiated by `TestRunner.java`, which loads all test classes listed in `config/TestClasses.java` and executes them sequentially. Each test class contains at least one method annotated with `@Test`, which serves as the entry point for the tests. Test cases cover the Activities and ECL Workunit pages, including tests for text presence, link functionality, sorting order, workunits content, description, and checkbox functionality. Added loggers in separate files for error, debug, and detail. Updated YML files to reflect jars and commands for the current testing framework. Additionally, provided comprehensive documentation with UML diagrams and detailed explanations of each method within the classes.

Signed-off-by: Nisha Bagdwal <[email protected]>
@Nisha-Bagdwal Nisha-Bagdwal force-pushed the HPCC-31857-ECL-Watch-Test-Suite branch from 7bbb3c6 to 8c5d558 Compare July 15, 2024 16:00
@Nisha-Bagdwal Nisha-Bagdwal force-pushed the HPCC-31857-ECL-Watch-Test-Suite branch from 7e500bf to f2cf8d1 Compare July 19, 2024 18:50
Developed a testing framework using Java, Selenium, and TestNG. The framework is initiated by `TestRunner.java`, which loads all test classes listed in `config/TestClasses.java` and executes them sequentially. Each test class contains at least one method annotated with `@Test`, which serves as the entry point for the tests. Test cases cover the Activities and ECL Workunit pages, including tests for text presence, link functionality, sorting order, workunits content, description, and checkbox functionality. Added loggers in separate files for error, debug, and detail. Updated YML files to reflect jars and commands for the current testing framework. Additionally, provided comprehensive documentation with UML diagrams and detailed explanations of each method within the classes.

Signed-off-by: Nisha Bagdwal <[email protected]>
@Nisha-Bagdwal Nisha-Bagdwal force-pushed the HPCC-31857-ECL-Watch-Test-Suite branch from f2cf8d1 to 1a8dc2f Compare July 19, 2024 18:51
… into HPCC-31857-ECL-Watch-Test-Suite

# Conflicts:
#	.github/workflows/test-ui-gh_runner.yml
@Nisha-Bagdwal Nisha-Bagdwal deleted the HPCC-31857-ECL-Watch-Test-Suite branch July 19, 2024 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants