{"id":21480462,"url":"https://github.com/codewithmmak/protractor-jasmine-javascript","last_synced_at":"2025-07-15T12:32:00.063Z","repository":{"id":39588864,"uuid":"163294182","full_name":"codewithmmak/protractor-jasmine-javascript","owner":"codewithmmak","description":"This is sample Test Automation framework designed using Protractor, Jasmine and JavaScript","archived":false,"fork":false,"pushed_at":"2024-07-31T19:57:30.000Z","size":288,"stargazers_count":4,"open_issues_count":8,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-07-31T23:56:31.418Z","etag":null,"topics":["bdd","jasmine","javascript","protractor","tdd"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codewithmmak.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":"2018-12-27T12:50:37.000Z","updated_at":"2023-02-20T18:56:50.000Z","dependencies_parsed_at":"2024-05-12T06:19:49.289Z","dependency_job_id":"fb852220-c80f-48fc-b693-12c3e3692eb6","html_url":"https://github.com/codewithmmak/protractor-jasmine-javascript","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/codewithmmak%2Fprotractor-jasmine-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fprotractor-jasmine-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fprotractor-jasmine-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codewithmmak%2Fprotractor-jasmine-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codewithmmak","download_url":"https://codeload.github.com/codewithmmak/protractor-jasmine-javascript/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226038782,"owners_count":17564046,"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":["bdd","jasmine","javascript","protractor","tdd"],"created_at":"2024-11-23T12:15:14.121Z","updated_at":"2024-11-23T12:15:14.810Z","avatar_url":"https://github.com/codewithmmak.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Protractor, Jasmine and JavaScript](./images/protractor-jasmine-javascript.png?raw=true \"Protractor, Jasmine and JavaScript\")\r\n\r\n# Protractor, Jasmine and JavaScript Test Automation Examples\r\nThis is sample Test Automation framework designed using Protractor, Jasmine and JavaScript. And in this framework we will see some basic working examples for learning.\r\n\r\n## Features\r\n* This automation framework is designed using Protractor and Jasmine.\r\n* JavaScript is used as programming language.\r\n* Reporting is implemented using protractor-beautiful-reporter npm module. This generates the report in html and json. Also it captures the screenshots.\r\n\r\n## Framework Structure\r\n```\r\n├───images                          # This folder contains sample report image\r\n├───page-objects                    # This folder contains page object, page helper and page contants\r\n│   ├───common\r\n│   └───pages\r\n│       ├───common\r\n│       └───super-calculator\r\n├───temp                            # This folder contains JS file which are generated after compiling TypeScript files\r\n├───test-results                    # This folder contains test result (includes html report and screenshots)\r\n└───test-suites                     # This folder contains spec/test files\r\n```\r\n\r\n## To Get Started\r\n\r\n### Pre-requisites\r\n* Download and install Chrome or Firefox browser.\r\n* Download and install Node.js.\r\n* Optional - Download and install any Text Editor like Visual Code/Sublime/Brackets\r\n\r\n### Setup Scripts \r\n* Clone the repository into a folder\r\n* Install Protractor: `npm install -g protractor`\r\n* Update necessary binaries of webdriver-manager: `webdriver-manager update` or `npm install -g webdriver-manager`\r\n* Go to Project root directory and install Dependency: `npm install`\r\n* All the dependencies from package.json and ambient typings would be installed in node_modules folder.\r\n\r\n### How to write Test\r\n* Add new spec under test-suite folder\r\n* Name the file as \u003ctestname\u003e.spec.ts (e.g. super-calculator.spec.ts)\r\n* Create folder under page-objects/pages as \u003cpage-name\u003e (e.g. super-calculator)\r\n* Under page folder create constant, helper and page object file.\r\n    * \u003cpage-name\u003e.constants.ts (e.g. super-calculator.constants.ts)\r\n    * \u003cpage-name\u003e.helper.ts (e.g. super-calculator.helper.ts)\r\n    * \u003cpage-name\u003e.po.ts (e.g. super-calculator.po.ts)\r\n\r\n### How to Run Test\r\n* Run complete Test Suite: `npm test`\r\n\r\n### How to Run Test for single Module\r\n* Run Test Module: `protractor config\\SignUpUserManagement.js`\r\n\r\n### How to Update local npm packages\r\n* Go to Project root directory and run command: `npm update`\r\n\r\n### Sample Test Results\r\n![Protractor, Jasmine and JavaScript Test Result](./images/test-results.png?raw=true \"Protractor, Jasmine and JavaScript Test Result\")\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fprotractor-jasmine-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodewithmmak%2Fprotractor-jasmine-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodewithmmak%2Fprotractor-jasmine-javascript/lists"}