{"id":18179315,"url":"https://github.com/iamcharankumar/playwright_test_framework","last_synced_at":"2025-04-01T19:31:30.028Z","repository":{"id":255322854,"uuid":"849221279","full_name":"iamcharankumar/playwright_test_framework","owner":"iamcharankumar","description":"Automated end-to-end testing framework built with Playwright and Java, tailored for any website. Designed for scalability and maintainability, this framework covers critical test scenarios with robust assertions and clean, modular code. Perfect for those looking to speed up their test automation journey or enhance their Playwright skills!","archived":false,"fork":false,"pushed_at":"2025-03-25T17:02:43.000Z","size":184,"stargazers_count":13,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T17:48:04.314Z","etag":null,"topics":["chrome-devtools-protocol","codecov-badge","discord-integration","jacoco","java-17","maven-pom","parallelization","playwright-java","testng-framework","web-performance-analytics","web-test-automation"],"latest_commit_sha":null,"homepage":"","language":"Java","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/iamcharankumar.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":"2024-08-29T07:43:56.000Z","updated_at":"2025-03-25T17:02:43.000Z","dependencies_parsed_at":"2024-11-08T19:18:43.239Z","dependency_job_id":"f409f7bd-17e0-4fc7-ae8b-b50f2d3bd497","html_url":"https://github.com/iamcharankumar/playwright_test_framework","commit_stats":null,"previous_names":["iamcharankumar/playwright_test_framework"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamcharankumar%2Fplaywright_test_framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamcharankumar%2Fplaywright_test_framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamcharankumar%2Fplaywright_test_framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamcharankumar%2Fplaywright_test_framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamcharankumar","download_url":"https://codeload.github.com/iamcharankumar/playwright_test_framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246644096,"owners_count":20810687,"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":["chrome-devtools-protocol","codecov-badge","discord-integration","jacoco","java-17","maven-pom","parallelization","playwright-java","testng-framework","web-performance-analytics","web-test-automation"],"created_at":"2024-11-02T18:08:51.299Z","updated_at":"2025-04-01T19:31:25.017Z","avatar_url":"https://github.com/iamcharankumar.png","language":"Java","readme":"# ABOUT\n\nAutomated end-to-end testing framework built with Playwright and Java, tailored for any website. Designed\nfor scalability and maintainability, this framework covers critical test scenarios with robust assertions and clean,\nmodular code. Perfect for those looking to speed up their test automation journey or enhance their Playwright skills!\n\n# STEPS FOR THE TEST EXECUTION\n\n1. `git clone https://github.com/iamcharankumar/playwright_test_framework.git`\n2. `cd playwright_test_framework`\n3. `git pull`\n4. `mvn clean test -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E -Dtestng.parallel=methods\n   -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n**SUPPORTED BROWSERS**\n\n- Chrome `-Dbrowser=chrome` (default value is `chrome`)\n- Firefox `-Drunmode=firefox`\n- Microsoft Edge `-Drunmode=msedge`\n\n**SUPPORTED RUN MODES**\n\n- local `-Drunmode=local` (default value is `local`)\n- headless `-Drunmode=headless`\n\n# REPORTPORTAL INTEGRATION\n\n- To integrate your test reports with the open source tool - [**Reportportal**](https://reportportal.io/docs/), please\n  refer to\n  this [section](https://github.com/iamcharankumar/web_test_framework?tab=readme-ov-file#steps-for-integrating-testng--report-portal)\n  in my java-selenium framework repo for installation as well as the integration.\n\n# INTEGRATE DISCORD MESSAGE SERVICE\n\n- To send test reports from Reportportal to any Discord Message Channel, please refer to\n  this [section](https://github.com/iamcharankumar/web_test_framework?tab=readme-ov-file#steps-for-integrating-test-reports-report-portal-url-with-discord-message-service)\n  and all the classes in\n  this [package](https://github.com/iamcharankumar/web_test_framework/tree/master/src/main/java/io/saucelabs/portal/qa/services/discord)\n  of the same java-selenium framework repo.\n\n# EXTRAS\n\n- Below is the maven commands combo that will help you to cover all the supported browsers and runmodes.\n- These maven commands (no testng.xml required) are executed with the respective groups and thread counts.\n  The listeners [screenshot, retry, etc] are configured in \"pom.xml\" under \"\u003c property \u003e\" tag.\n\n#### CHROME LOCAL \u0026 HEADLESS\n\n`mvn clean test -Drunmode=local -Dbrowser=chrome -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n`mvn clean test -Drunmode=headless -Dbrowser=chrome -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n### MS EDGE LOCAL \u0026 HEADLESS\n\n`mvn clean test -Drunmode=local -Dbrowser=msedge -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n`mvn clean test -Drunmode=headless -Dbrowser=msedge -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n### WEBKIT LOCAL \u0026 HEADLESS\n\n`mvn clean test -Drunmode=local -Dbrowser=webkit -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E \n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n`mvn clean test -Drunmode=headless -Dbrowser=webkit -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E \n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n### FIREFOX LOCAL \u0026 HEADLESS\n\n`mvn clean test -Drunmode=local -Dbrowser=firefox -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n`mvn clean test -Drunmode=headless -Dbrowser=firefox -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n\n### DEFAULT RUN\n\n`mvn clean test -Dgroups=SWAG_LABS_SMOKE,SWAG_LABS_REGRESSION,SWAG_LABS_E2E\n-Dtestng.parallel=methods -DthreadPoolSize=3 -Ddataproviderthreadcount=3`\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamcharankumar%2Fplaywright_test_framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamcharankumar%2Fplaywright_test_framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamcharankumar%2Fplaywright_test_framework/lists"}