{"id":20334938,"url":"https://github.com/mdb/polymer-testing-box","last_synced_at":"2025-03-04T13:28:17.699Z","repository":{"id":32492772,"uuid":"36073370","full_name":"mdb/polymer-testing-box","owner":"mdb","description":"A ready-to-go headless Ubuntu box for running Google Polymer web-component-tester tests against Firefox and Chrome","archived":false,"fork":false,"pushed_at":"2017-02-18T14:18:50.000Z","size":9,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T16:36:30.627Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"peterbourgon/g2s","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mdb.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}},"created_at":"2015-05-22T13:20:54.000Z","updated_at":"2018-12-08T23:49:40.000Z","dependencies_parsed_at":"2022-09-11T03:40:55.149Z","dependency_job_id":null,"html_url":"https://github.com/mdb/polymer-testing-box","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/mdb%2Fpolymer-testing-box","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fpolymer-testing-box/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fpolymer-testing-box/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mdb%2Fpolymer-testing-box/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mdb","download_url":"https://codeload.github.com/mdb/polymer-testing-box/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241854618,"owners_count":20031467,"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-11-14T20:38:37.716Z","updated_at":"2025-03-04T13:28:17.671Z","avatar_url":"https://github.com/mdb.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# polymer-testing-box\n\nA ready-to-go headless Ubuntu box for running Polymer [web-component-tester](https://github.com/Polymer/web-component-tester)\nin Chrome and Firefox headlessly via Xvfb.\n\nThis also provides Flash support via Google Chrome, which ships with the Flash Pepper plugin.\n\n## Technologies\n\n* Node.js, bower, web-component-tester\n* Firefox, Google Chrome\n* Xvfb\n\n## Getting started\n\nInstall [Vagrant](https://www.vagrantup.com) \u0026 [ansible](http://www.ansible.com).\n\n1. `vagrant up` to provision the box with the ansible playbook\n2. `vagrant ssh` to shell into the box\n3. `cd /vagrant` to enter the directory syncd to your host machine\n4. `git clone https://github.com/PolymerElements/iron-ajax.git` to clone a Polymer web component\n5. `cd iron-ajax`\n5. `git checkout 1.3.0` to check out an official release with passing tests\n6. `bower install`\n7. `xvfb-run wct` to run web-component-tester in Firefox \u0026 Chrome.\n\n## Bonus - debug from your Mac via VNC\n\nThe Vagrant box has no GUI, but your Mac does! Connect to the Vagrant box from\nyour Mac via VNC to observe and debug.\n\nInstall \u0026 run x11vnc on the vagrant box\n\n1. `vagrant ssh`\n2. `sudo apt-get install x11vnc`\n3. `x11vnc -display :0 \u0026`\n\nInstall and run Tiger VNC Viewer on your Mac\n\n1. `brew install Caskroom/cask/tigervnc-viewer`\n2. start Tiger VNC viewer on `localhost:5901`\n\nRun the tests on the Vagrant box and watch from Tiger VNC Viewer:\n\n```\nDISPLAY=:0 xvfb-run wct\n```\n\n## Next Steps\n\nDeploy to AWS? Digital Ocean? OpenStack?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fpolymer-testing-box","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdb%2Fpolymer-testing-box","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdb%2Fpolymer-testing-box/lists"}