{"id":21674368,"url":"https://github.com/drunomics/playwright-drupal-utils","last_synced_at":"2026-02-12T13:42:16.242Z","repository":{"id":63425673,"uuid":"550986754","full_name":"drunomics/playwright-drupal-utils","owner":"drunomics","description":null,"archived":false,"fork":false,"pushed_at":"2025-03-12T14:09:31.000Z","size":76,"stargazers_count":3,"open_issues_count":2,"forks_count":1,"subscribers_count":9,"default_branch":"1.x","last_synced_at":"2025-04-11T18:57:24.001Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/drunomics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-13T16:45:37.000Z","updated_at":"2024-12-10T10:57:24.000Z","dependencies_parsed_at":"2023-12-03T09:33:32.496Z","dependency_job_id":"bb5da500-a9eb-4830-9522-56ded752b710","html_url":"https://github.com/drunomics/playwright-drupal-utils","commit_stats":{"total_commits":31,"total_committers":6,"mean_commits":5.166666666666667,"dds":0.3870967741935484,"last_synced_commit":"57916897499280360e82def8c4c7bbcec0074cb9"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fplaywright-drupal-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fplaywright-drupal-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fplaywright-drupal-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drunomics%2Fplaywright-drupal-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drunomics","download_url":"https://codeload.github.com/drunomics/playwright-drupal-utils/tar.gz/refs/heads/1.x","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514543,"owners_count":21116978,"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":"2024-11-25T13:44:14.971Z","updated_at":"2026-02-12T13:42:16.215Z","avatar_url":"https://github.com/drunomics.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# drunomics Playwright Drupal utils\n\n## Dependencies:\n\n- Drush\n\n## Overview:\n\nThe package provides:\n\n* Various drush commands in the PlaywrightDrushCommands class useful for testing with playwright. The class is autoloaded and ready to use when package is installed.\n\n* Test helpers and commands\n\n  * The functions in `./tests/helpers/drupal-commands` are reusable helpers for communicating with drupal API in tests.\n\n  * `./tests/helpers/ldp-test` holds a fixture, an extension of playwright test which carries additional variables suitable for testing decoupled projects with diverse origins.\n\n  * `./tests/helpers/test-methods` is a collection of reusable and often used helper functions, for example logging in and out of the site, headers check etc.\n\n  * `./tests/helpers/a11y-helper` is a helper for running accessibility checks using axe-core.\n\n### Setup\n\n* Add this package to your project's dev dependencies.\n* Add package type \"playwright-helper\" to \"installer-types\" section of your composer.json\n* Adjust the package installation location by adjusting installer-paths in your composer.json. The package needs to be installed in the directory with your playwright installation (location of your package.json). \n* Require the helpers in your test files e.g. `const helpers = require(\"../playwright-drupal-utils/tests/helpers/test-methods\");`\n\n\n## License\n\n* Drush Extension is licensed under [GPLv3 or later](src/LICENSE)\n* JavaScript code is licensed under [MIT](tests/LICENSE)\n\n## Credits\n \n  developed by drunomics GmbH, hello@drunomics.com\n  Please refer to the commit log individual contributors.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrunomics%2Fplaywright-drupal-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrunomics%2Fplaywright-drupal-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrunomics%2Fplaywright-drupal-utils/lists"}