{"id":29670415,"url":"https://github.com/percona/pmm-ui-tests","last_synced_at":"2026-04-07T04:32:00.453Z","repository":{"id":36962748,"uuid":"358213150","full_name":"percona/pmm-ui-tests","owner":"percona","description":"PMM UI end-to-end tests","archived":false,"fork":false,"pushed_at":"2026-03-20T09:01:25.000Z","size":4244,"stargazers_count":4,"open_issues_count":14,"forks_count":4,"subscribers_count":16,"default_branch":"main","last_synced_at":"2026-03-21T01:41:49.606Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/percona.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-04-15T10:08:46.000Z","updated_at":"2026-03-19T14:33:47.000Z","dependencies_parsed_at":"2026-03-12T17:04:05.581Z","dependency_job_id":null,"html_url":"https://github.com/percona/pmm-ui-tests","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/percona/pmm-ui-tests","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percona%2Fpmm-ui-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percona%2Fpmm-ui-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percona%2Fpmm-ui-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percona%2Fpmm-ui-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/percona","download_url":"https://codeload.github.com/percona/pmm-ui-tests/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/percona%2Fpmm-ui-tests/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31500397,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-07-22T19:36:10.787Z","updated_at":"2026-04-07T04:32:00.441Z","avatar_url":"https://github.com/percona.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PMM UI end-to-end tests\nPercona Monitoring and Management UI automated tests. Designed to cover \"End to End\" scenarios.\n\n\n## Getting Started\n\n* Install Node.js 12+ version and make sure npx is included\n* Install project dependencies: `npm ci`\n* Install \"playwright\" browser driver, ex: `sudo npx playwright install-deps`\n* build TS definitions: `npx codeceptjs def pr.codecept.js`\n\nthis is it! tests are good to go on specified PMM server.\n\n### Getting PMM server ready\n  * **Run tests upon local PMM server:**  \n execute command in the Project Root folder to start default PMM server: `docker-compose up -d`  \n Or one of the offered configurations:\n    * `docker-compose -f docker-compose-ami-db-setup.yml up -d`\n    * `docker-compose -f docker-compose-mongodb-ssl.yml up -d`\n    * `docker-compose -f docker-compose-mongo-replica.yml up -d`\n    * `docker-compose -f docker-compose-mysql-ssl.yml up -d`\n    * `docker-compose -f docker-compose-postgresql-ssl.yml up -d`\n\n \n  * **Setup environment for backup management tests:**  \n    run `bash -x testdata/backup-management/mongodb/setup-replica-and-pbm-local.sh`.\n    This will launch docker compose with PMM Server, PMM Client, and set up replica set with 3 Percona MongoDB instance\n      \n  * **Run tests upon remote PMM server:**  \n    set desired instance URL in _**\"PMM_UI_URL\"**_ local environment variable    \n    ex: create `.env` file with the following line `PMM_UI_URL=http://myPmmServer.com`\n\n### Running tests:\nExecute command in the Project Root folder\n* **run all in single thread tests:** `npx codeceptjs run -c pr.codecept.js`\n* **run all tests in parallel threads:** `npx codeceptjs run-multiple parallel -c pr.codecept.js`\n* **run desired \"classes\":** `npx codeceptjs run -c pr.codecept.js tests/verifyMysqlDashboards_test.js`   \n* **run desired groups/tags:** `npx codeceptjs run -c pr.codecept.js --steps --grep @settings`\n\n### Test report\n* Allure report in docker(no additional requirements)\n   1. run allure server: `docker-compose -f docker-compose-allure.yml up -d`\n   2. open test report in browser: http://localhost:5252/\n\n\n* Allure report by **allure-commandline** tool\n   1. Allure requires Java 8 or higher\n   2. install allure-commandline: `npm install -g allure-commandline --save-dev`\n   3. aggregate report: `allure serve tests/output/allure`\n\n\n* HTML report Local(mochawesome):  \n  1. run tests with `-R mocha-multi` flag  \n     ex: `npx codeceptjs run -c pr.codecept.js --grep @backup -R mocha-multi` \n  2. open report file: `/tests/output/result.html`  \n     or reports for each parallel thread `/tests/output/parallel_chunk1_..._1/result.html`\n    \n## **Available Command Line Arguments:**\n `--steps`  enables the step-by-step output of running tests to the console, ex:\n\n    `npx codeceptjs run-multiple parallel -c pr.codecept.js --steps`\n\n  `--debug`  enables a more detailed output to the console, ex:\n\n    `npx codeceptjs run-multiple parallel -c pr.codecept.js --debug`\n\n `--verbose`  enables the very detailed output information to the console, ex:\n\n    `npx codeceptjs run-multiple parallel -c pr.codecept.js --verbose`\n\n `--grep \"@tag\"` runs only tests marked by specified tags. The following tags are available:\n\n    @ami-upgrade            Groups tests for the \"pmm-ami-upgrade\" Job\n    @backup                 Backup Management functionality tests\n    @bm-mongo               Backup Management functionality tests for MongoDB\n    @bm-mongo               Backup Management functionality tests for MySQL \n    @dashboards             Dashboards functionality, check that graphs are not empty\n                                (e.g. Data from exporters is displayed at those dashboards)\n    @grafana-pr             Executed in Github Actions for PRs in percona-platform/grafana repository\n    @fb-alerting                     Integrated Alerting functionality tests\n    @instances              Remote Instances addition functionality \n                                and checking that data appears from exporters\n    @inventory              Inventory functionality, removing nodes, services, etc.\n    @not-ovf                Tests with this tag are excluded from execution for OVF image tests\n    @nightly                executed on a nightly Job, mostly related to Dashboards. Includes tests \n                                to verify Metrics, Custom Filters and Navigation between Dashboards.\n    @pmm-demo               Performs basic Sanity on PMM-Demo, ensures all expected Services are still running \n    @pmm-upgrade\t        upgrade testing Scenarios to verify UI Upgrade for docker based PMM Server\n    @pre-upgrade\t        upgrade testing Scenarios to verify Docker way Upgrade. Executed BEFORE the upgrade\n    @post-upgrade\t        upgrade testing Scenarios to verify Docker way Upgrade. Executed AFTER the upgrade\n    @post-client-upgrade    executed in the \"pmm-upgrade\" Job after\"pmm-client\" has been updated\n    @qan\t                Query Analytics(QAN) functionality tests\n    @settings               PMM Settings functionality tests\n    @stt                    Security Checks (STT) functionality tests\n    @perf-testing           UI performance tests for PMM\n    @docker-configuration  Tests containing different docker configuration (env variables, ports, volumes etc.)\n    @pmm-ami                legacy/deprecated\n    @not-ui-pipeline        legacy/deprecated\n    @not-pr-pipeline        legacy/deprecated\n    @cli                    cli related tests\n    @fb-alerting            alerting related tests executed on FB\n    @advisors-fb            advisors related tests executed on FB\n    @bm-fb                  backup management related tests executed on FB\n    @fb-instances           remote instances related tests executed on FB\n    @fb-settings            settings related tests executed on FB\n\n\n## Contributing\n\nFor the specific contributions guidelines, please see [CONTRIBUTING.md](CONTRIBUTING.md) in the project root directory. \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona%2Fpmm-ui-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpercona%2Fpmm-ui-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona%2Fpmm-ui-tests/lists"}