{"id":23974624,"url":"https://github.com/hal/testsuite","last_synced_at":"2025-04-13T22:37:11.743Z","repository":{"id":26727435,"uuid":"30184967","full_name":"hal/testsuite","owner":"hal","description":"Testsuite for the HAL management console","archived":false,"fork":false,"pushed_at":"2021-06-07T16:28:58.000Z","size":3291,"stargazers_count":0,"open_issues_count":6,"forks_count":16,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T12:52:37.834Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hal.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-02T11:54:36.000Z","updated_at":"2019-04-16T10:29:54.000Z","dependencies_parsed_at":"2022-08-18T21:20:30.708Z","dependency_job_id":null,"html_url":"https://github.com/hal/testsuite","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hal%2Ftestsuite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hal","download_url":"https://codeload.github.com/hal/testsuite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248792906,"owners_count":21162462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-07T05:47:27.545Z","updated_at":"2025-04-13T22:37:11.687Z","avatar_url":"https://github.com/hal.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\n# ⚠️ This is a legacy testsuite! For latest WildFly HAL tests see https://github.com/hal/testsuite.next\n---\n\n# Testsuite\nSelenium testsuite for the HAL management console. It uses [Drone](https://docs.jboss.org/author/display/ARQ/Drone) \nand [Graphene](https://docs.jboss.org/author/display/ARQGRA2/Home) Arquillian extensions.\n\n## Prerequisites\n\n* JDK 8 or higher\n* Maven 3.0.4 or higher\n* Firefox browser (tested on 31.2.0 esr version, will probably not run with far older or younger versions)\n* Wildfly (10 or higher) or EAP (7 or higher)\n* To setup WildFly/EAP for HAL RBAC tests please follow [RBAC.md](RBAC.md) instructions.\n\nYou can download it here:\n\u003chttp://wildfly.org/downloads/\u003e or \u003chttp://www.jboss.org/products/eap/download/\u003e\n\nCurrently it's necessary to unsecure the management http-interface to be able to run testsuite.\n### How to unsecure management http-interface using CLI\n\n#### Standalone\n\n```\n/core-service=management/management-interface=http-interface:undefine-attribute(name=security-realm)\n:reload\n```\n\n#### Domain\n\n```\n/host=master/core-service=management/management-interface=http-interface:undefine-attribute(name=security-realm)\n/host=master:reload\n```\n\n## How to run tests\n\n`mvn test -P{module},{server.mode} -Djboss.dist=${path_to_server_home} -Darq.extension.webdriver.firefox_binary=${path_to_firefox_binary}\n -Djbeap2168workaround`\n\n### Required profile (-P) parameters\n\nCan be one of those:\n\n| Profiles                                         | Explanation                                                        |\n|--------------------------------------------------|--------------------------------------------------------------------|\n| `-Pbasic,standalone`                             | run basic tests against standalone mode                            |\n| `-Pbasic,domain`                                 | run basic tests against domain mode                                |\n| `-Prbac,standalone`                              | run RBAC related tests against standalone mode                     |\n| `-Prbac,domain`                                  | run RBAC related tests against domain mode                         |\n| `-P[basic,rbac],[domain,standalone],serverCheck` | run tests against given mode and at the end of every test class run, \u003cul\u003e\u003cli\u003etake snapshot of server xml configuration file,\u003c/li\u003e\u003cli\u003echeck if server requires reload or restart,\u003c/li\u003e\u003cli\u003ein domain mode check if running states of servers don't change after test class run\u003c/li\u003e\u003c/ul\u003e          |\n| `-Ptransactions,[domain,standalone]`             | run tests related to prepared transactions in messaging subsystem against standalone or domain mode, [see more in modules README](transactions/README.md) |\n\n\n\n### Required jboss.dist parameter\n\nPath to server home folder. Server is expected to be already manually started. \nIn case of standalone mode standalone-full-ha configuration is expected. \nE.g. `-Djboss.dist=/home/user/workspace/wildfly/build/target/wildfly-9.0.0.Alpha2-SNAPSHOT/`\n\n### Optional arq.extension.webdriver.firefox_binary parameter\n\nPath to Firefox binary file. If not provided system default firefox will be used.\nE.g. `-Darq.extension.webdriver.firefox_binary=/home/user/apps/firefox-31.2.0esr/firefox`\n\n### Optional take.screenshot.after.each.test parameter\n\nIf screenshot should be made after each test. Default is `false`.\nE.g. `-Dtake.screenshot.after.each.test=true`\n\n### Optional federation.already.enabled parameter\n\nIf PicketLink federation subsystem should be enabled  for related tests \n(otherwise it is assumed the subsystem is already configured and should not be added before tests and removed after them)\nE.g. `-Dfederation.already.enabled=true`\n\n### Optional propagate.to.model.timeout\n\nSometimes the model resource change is not yet propagated fast enough\neven if in GUI the change seems to be already persisted.\nThis parameter means how long to wait for GUI change to be propagated to model in milis.\nDefault value is 500.\n\n### Optional jbeap2168workaround\n\nUntil https://issues.jboss.org/browse/JBEAP-2168 is fixed you can use this optional parameter to switch on workaround\n to re-navigate up to 2 times again if navigation seems to be frozen.\nE.g. `-Djbeap2168workaround`\n\n### Optional elytronSecurity\nRun only Elytron related tests.\n\n### Optional picketSecurity\nRun only PicketBox and PicketLink related tests.\n\n### Optional noSecurity\nRun tests except of Elytron, PicketBox and Picketlink related ones.\n\n## Modules\n\n### common\n\nShould contain all common abstraction like UI navigation, test categories, DMR abstraction etc.\nIt's intentioned to be able to used as a dependency of external testsuites as well.\n\n### basic\n\nShould contain majority of tests which don't require special configuration.\n\n### rbac\n\nShould contain RBAC related tests. To setup WildFly/EAP for HAL RBAC tests please follow [RBAC.md](RBAC.md) instructions.\n\n## Tips\n\n* If you want tests to be run on background use vncserver. E.g. \n\n`vncserver :10 -geometry 1920x1080`\n\n`export DISPLAY=:10`\n\n\n## Known issues\n\n* No sreenshots on test failure neither test error currently (It seems Arquillian unlike Surefire thinks they passed).\n* Multiple aliases for tested IP address (usually 127.0.0.1) in hosts file has to be avoided - see [related Selenium issue](https://github.com/seleniumhq/selenium-google-code-issue-archive/issues/3280)\n\n## Problems?\n\nPing us on IRC freenode.net#wildfly-management\n[Issue tracking](https://issues.jboss.org/browse/HAL/)\n\nHave fun.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Ftestsuite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhal%2Ftestsuite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhal%2Ftestsuite/lists"}