{"id":20640589,"url":"https://github.com/yyvess/playwright-mocha","last_synced_at":"2025-03-09T11:08:32.954Z","repository":{"id":146154678,"uuid":"340857751","full_name":"yyvess/playwright-mocha","owner":"yyvess","description":"Howto run end-to-end testing with Playwright \u0026 Mocha","archived":false,"fork":false,"pushed_at":"2021-02-21T11:47:49.000Z","size":761,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T08:37:21.115Z","etag":null,"topics":["automation","browser","integration-testing","mocha","playwright","test","testing"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/yyvess.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-02-21T08:58:25.000Z","updated_at":"2024-11-13T07:14:50.000Z","dependencies_parsed_at":"2023-04-24T14:02:20.330Z","dependency_job_id":null,"html_url":"https://github.com/yyvess/playwright-mocha","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yyvess%2Fplaywright-mocha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yyvess%2Fplaywright-mocha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yyvess%2Fplaywright-mocha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yyvess%2Fplaywright-mocha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yyvess","download_url":"https://codeload.github.com/yyvess/playwright-mocha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242679514,"owners_count":20168163,"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":["automation","browser","integration-testing","mocha","playwright","test","testing"],"created_at":"2024-11-16T15:30:01.313Z","updated_at":"2025-03-09T11:08:32.935Z","avatar_url":"https://github.com/yyvess.png","language":"JavaScript","readme":"# 🎭 Test automation with Playwright \u0026 Mocha \n\nHowto run end-to-end testing with Playwright \u0026 Mocha\n\n[![asciicast](https://asciinema.org/a/392786.svg)](https://asciinema.org/a/392786?autoplay=1)\n\n## Prerequisite\n\n* Install node [Node](https://nodejs.org/en/download/)\n\n## Initalize the project\n\n* Clone this project\n```\ngit clone https://github.com/yyvess/playwright-mocha.git\ncd playwright-mocha\n```\n\n* Run npm install to download project dependancies\n```\nnpm install\n```\n\n## Usage\n\n### Run tests on headless mode with Chromium\n```    \nnpm test\n```\n\n### Run test on headless mode with Firefox\n\n```    \nnpm run test:firefox\n```\n\n### Run tests on 'head' mode\nRun tests with browser visible\n```\nnpm run test:head\n```\n\n### Run tests with watch mode\nRerun tests on file changes.\n```\nnpm run test:watch\n```\n\n### Run your test on Github Actions\n[main.yml](https://github.com/yyvess/playwright-mocha/blob/main/.github/workflows/main.yml)\n\n### Record your tests\n\n* [Record videos](https://playwright.dev/docs/videos?_highlight=record)\n* [Take screenshoots](https://playwright.dev/docs/screenshots/#Screenshots)\n[![Watch the record](captures/screenshot.png)](captures/videos.webm?raw=true)\n\n## External documentation \n\n* [Playwright](https://playwright.dev/)\n* [Mocha](https://mochajs.org/)\n* [Chai expect](https://www.chaijs.com/api/bdd/)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyyvess%2Fplaywright-mocha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyyvess%2Fplaywright-mocha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyyvess%2Fplaywright-mocha/lists"}