{"id":15145533,"url":"https://github.com/prestashop/qanightlyresults","last_synced_at":"2025-10-19T16:32:11.831Z","repository":{"id":36087587,"uuid":"189603832","full_name":"PrestaShop/QANightlyResults","owner":"PrestaShop","description":"A script to browse test reports and display some stats. For PrestaShop E2E tests.","archived":false,"fork":false,"pushed_at":"2024-10-28T14:39:29.000Z","size":5904,"stargazers_count":3,"open_issues_count":1,"forks_count":8,"subscribers_count":14,"default_branch":"develop","last_synced_at":"2024-10-29T17:04:21.357Z","etag":null,"topics":["dashboard","hacktoberfest","nightly-builds","tool"],"latest_commit_sha":null,"homepage":"https://nightly.prestashop-project.org/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrestaShop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2019-05-31T14:04:29.000Z","updated_at":"2024-10-28T14:39:25.000Z","dependencies_parsed_at":"2023-11-08T11:35:08.633Z","dependency_job_id":"e6647184-d455-4613-adb3-9ed05ad2c9e7","html_url":"https://github.com/PrestaShop/QANightlyResults","commit_stats":{"total_commits":418,"total_committers":12,"mean_commits":"34.833333333333336","dds":0.6507177033492824,"last_synced_commit":"d66fb23a3629985731bb28b72342dc9fa238e630"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2FQANightlyResults","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2FQANightlyResults/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2FQANightlyResults/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2FQANightlyResults/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrestaShop","download_url":"https://codeload.github.com/PrestaShop/QANightlyResults/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237172108,"owners_count":19266614,"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":["dashboard","hacktoberfest","nightly-builds","tool"],"created_at":"2024-09-26T11:40:32.907Z","updated_at":"2025-10-19T16:32:10.388Z","avatar_url":"https://github.com/PrestaShop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# QANightlyResults\n\n[![Github Action PHP](https://github.com/PrestaShop/QANightlyResults/actions/workflows/php.yml/badge.svg)](https://github.com/PrestaShop/QANightlyResults/actions/workflows/php.yml)\n[![Coverage Status](https://coveralls.io/repos/github/PrestaShop/QANightlyResults/badge.svg?branch=develop)](https://coveralls.io/github/PrestaShop/QANightlyResults?branch=develop)\n\nQANightlyResults is a Symfony app, acting as a backend (via a JSON API) to handle and browse tests reports records.\n\nYou can use any frontend app you want to consume this API. We use a [Vue app](https://github.com/PrestaShop/nightly-board).\n\nIts purpose is to :\n1. store results of tests in a database\n2. let people browse a report of a test execution\n3. display some statistics about test failures\n\n### Configuration\n\nYou can create a `.env.local` file at the root of the project. You can also pass the values via environment variables. \n\nHere are the main ones:\n\n| Variables         |                                          |\n|-------------------|------------------------------------------|\n| DATABASE_URL      | DSN for MySQL Server                     |\n| QANB_TOKEN        | Token to add JSON data through the Hook  |\n\n## Usage\n\nInstall dependencies with a `composer install`.\n\nCreate a database with a `php bin/console doctrine:schema:update --dump-sql --force`.\n\n## Web server configuration\n\nSet up a vhost that points to the `/public` folder (example in the `vhost.conf` file).\n\n## Inserting new data\n\nUse the hook provided in the `Hook` controller. \nYou need to call one of these URLs with the method `GET`: \n- `BASE_URL/hook/reports/import` (for a Mocha Import)\n- `BASE_URL/import/report/playwright` (for a Playwright Import)\n\nYou can add these parameters in the query:\n- `token`: the token set in the environment variable `QANB_TOKEN` (e.g.: `IpBzOmwXQUrW5Hn`)\n- `filename` : the complete filename to look for in the Google Cloud Storage (e.g.: `2019-07-22-develop.json`). The \nname must follow this pattern: `/[0-9]{4}-[0-9]{2}-[0-9]{2}-(.*)?\\.json/`\n\nOptional:\n- `force`: a special parameter used to force insert when a similar entry is found (criterias are :browser, campaign, date and version)\n- `browser`: to specify the browser. Possible values are 'chromium' (default), 'firefox', and 'edge'.\n- `campaign`: to specify the campaign. Possible values are 'functional' (default), 'sanity', 'e2e', and 'regression'.\n\nEG : `api.mysite.com/hook/reports/import?token=IpBzOmwXQUrW5Hn\u0026filename=2019-07-22-develop.json`\nEG : `api.mysite.com/import/report/playwright?token=IpBzOmwXQUrW5Hn\u0026filename=2019-07-22-develop.json`\n\nThe files in the Google Cloud Storage might be huge, so be sure your server is properly configured to handle large files.\n\nFiles will be taken from `https://storage.googleapis.com/prestashop-core-nightly/reports/`.\n\n\n## Containers\n\nIf you're working with docker, we have you covered.\n\n```\ndocker-compose up -d\n```\n\nAnd you should have the application running locally.\n\nThough, we're not providing any DB at this time, so you'll have to:\n\n- Have your DB running \n- Edit the compose credentials about your DB\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Fqanightlyresults","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprestashop%2Fqanightlyresults","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Fqanightlyresults/lists"}