{"id":22800010,"url":"https://github.com/dadi/publish-functional-tests","last_synced_at":"2025-03-30T19:17:43.741Z","repository":{"id":151392710,"uuid":"153092293","full_name":"dadi/publish-functional-tests","owner":"dadi","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-23T22:29:20.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-05T21:53:43.253Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/dadi.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":"2018-10-15T10:08:36.000Z","updated_at":"2019-01-16T06:45:52.000Z","dependencies_parsed_at":"2023-07-16T11:31:36.054Z","dependency_job_id":null,"html_url":"https://github.com/dadi/publish-functional-tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadi%2Fpublish-functional-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadi%2Fpublish-functional-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadi%2Fpublish-functional-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dadi%2Fpublish-functional-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dadi","download_url":"https://codeload.github.com/dadi/publish-functional-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365644,"owners_count":20765549,"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-12-12T07:10:47.622Z","updated_at":"2025-03-30T19:17:43.072Z","avatar_url":"https://github.com/dadi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# publish-test\n\nFunctional Test Suite for Publish\n\n## Install\n\n`npm i`\n\n## Run tests\n\n`npm test`\n\nTests are set up in `package.json` to run in parallel in order to speed total execution time up\n\n`\"test\": \"./node_modules/.bin/codeceptjs run-multiple parallel --steps --plugins allure\"`\n\nAll tests can be run at once using the above, or individual features can be run on their own by changing the command to:\n\n`\"test\": \"./node_modules/.bin/codeceptjs run --steps --plugins allure\"`\n\nAnd pointing to the relevant test in the `codecept.json` file\n\ne.g. `\"tests\": \"./test/features/sign*/*_test.js\"` will run all tests in the `sign_in_page` folder\n\nBy default tests are run headless but the chromium browser can be displayed by setting `\"show\": true,` in `codecept.json`\n\nEach test in a feature is standalone and independent of others so they can be run in any order.\n\n## Environment\n\nThe environment tests are to be run against can be set in the `url` field of `codecept.json`\n\n```\n{\n  \"output\": \"./test/output\",\n  \"helpers\": {\n    \"Puppeteer\": {\n      \"url\": \"http://publish-develop.eb.dev.dadi.technology\",\n      .....\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadi%2Fpublish-functional-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdadi%2Fpublish-functional-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdadi%2Fpublish-functional-tests/lists"}