{"id":15019401,"url":"https://github.com/trademe/tractor","last_synced_at":"2026-03-10T00:33:43.861Z","repository":{"id":25670247,"uuid":"29106074","full_name":"TradeMe/tractor","owner":"TradeMe","description":"A UI around Protractor to help write E2E tests for Angular applications without needing to know JavaScript","archived":false,"fork":false,"pushed_at":"2022-07-20T01:07:40.000Z","size":9876,"stargazers_count":25,"open_issues_count":16,"forks_count":17,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-06-30T11:08:31.232Z","etag":null,"topics":["angular","e2e","javascript","protractor","testing","tractor"],"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/TradeMe.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}},"created_at":"2015-01-11T21:06:09.000Z","updated_at":"2024-11-02T04:26:34.000Z","dependencies_parsed_at":"2022-07-12T16:08:11.568Z","dependency_job_id":null,"html_url":"https://github.com/TradeMe/tractor","commit_stats":null,"previous_names":[],"tags_count":79,"template":false,"template_full_name":null,"purl":"pkg:github/TradeMe/tractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TradeMe%2Ftractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TradeMe%2Ftractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TradeMe%2Ftractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TradeMe%2Ftractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TradeMe","download_url":"https://codeload.github.com/TradeMe/tractor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TradeMe%2Ftractor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268618172,"owners_count":24279241,"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","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["angular","e2e","javascript","protractor","testing","tractor"],"created_at":"2024-09-24T19:53:26.080Z","updated_at":"2026-03-10T00:33:43.818Z","avatar_url":"https://github.com/TradeMe.png","language":"JavaScript","readme":"# tractor    \n\nA UI around [Protractor](http://angular.github.io/protractor/) to help write E2E tests for [Angular](https://angular.io/) applications without needing to know JavaScript\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/TradeMe/tractor.svg)](https://greenkeeper.io/)\n[![npm version](https://img.shields.io/npm/v/@tractor/cli.svg)](https://www.npmjs.com/package/@tractor/cli)\n[![Code Climate](https://codeclimate.com/github/TradeMe/tractor/badges/gpa.svg)](https://codeclimate.com/github/TradeMe/tractor)\n[![Test Coverage](https://codeclimate.com/github/TradeMe/tractor/coverage.svg)](https://codeclimate.com/github/TradeMe/tractor/coverage)\n[![lerna](https://img.shields.io/badge/maintained%20with-lerna-cc00ff.svg)](https://github.com/TradeMe/tractor)\n\nThis repository contains the code for the underlying infrastructure of tractor, as well as some [plugins](https://www.npmjs.com/org/tractor-plugins) that contain the main functionality.\n\n## Install\n\nTo install the cli, add `@tractor/cli` as a dev dependency to your Angular application:\n\n```sh\nnpm install @tractor/cli -D\n```\n\nThat will install the CLI, which can then be used inside your application.\n\n## Setup\n\nTo get started, you'll need to run the following:\n\n```sh\n./node_modules/.bin/tractor init\n```\n\nThe initialisation can be configured with a `tractor.conf.js` file (described in the Config section).\n\nOnce everything has been initialised, you need to start the `tractor` application from the root directory of your app with:\n\n```sh\n./node_modules/.bin/tractor start\n```\n\nThe app should then be available running at [http://localhost:4000](http://localhost:4000). The port can be configured in the `tractor.conf.js` file.\n\n## Config\n\nIf you want to change the port that `tractor` runs at, or the different environments you can target, you need to add a `tractor.conf.js` file in the root of your app directory. It might look something like the following:\n\n```javascript\nmodule.exports = {\n    port: number,                // defaults to 4000\n    environments: Array\u003cstring\u003e  // a list of URLs for the environments to run the tests in\n};\n```\n\nThe `tractor.conf.js` file is also used to configure any plugins you have installed.\n\n## Development\n\nTo set up development:\n\n```sh\nyarn # install dependencies and initialise workspaces\nlerna run build # build and test all the packages\n```\n\n[More information on `yarn` workspaces](https://yarnpkg.com/en/docs/workspaces).\n\n[More information on `lerna`](https://lernajs.io/).\n\nYou can use `lerna` to run commands across all packages, or groups of packages:\n\n```sh\nlerna run test # run unit test in all packages\nlerna run compile --scope=\"@tractor-plugins/*\" # runs JavaScript compiler in all @tractor-plugin packages\nlerna run test:e2e:ci --scope=\"@tractor/ui\" # run end-to-end tests in the @tractor/ui package only\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrademe%2Ftractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrademe%2Ftractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrademe%2Ftractor/lists"}