{"id":21301462,"url":"https://github.com/minddocdev/node-puppeteer-e2e","last_synced_at":"2025-03-15T18:25:23.328Z","repository":{"id":118795293,"uuid":"191369656","full_name":"minddocdev/node-puppeteer-e2e","owner":"minddocdev","description":"Docker Image with Node.js, and Puppeteer for automated E2E testing","archived":false,"fork":false,"pushed_at":"2019-10-24T09:05:09.000Z","size":14,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T08:13:02.713Z","etag":null,"topics":["docker"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/minddocdev.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":"2019-06-11T12:43:49.000Z","updated_at":"2019-12-01T23:20:03.000Z","dependencies_parsed_at":"2023-04-24T21:17:20.190Z","dependency_job_id":null,"html_url":"https://github.com/minddocdev/node-puppeteer-e2e","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/minddocdev%2Fnode-puppeteer-e2e","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fnode-puppeteer-e2e/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fnode-puppeteer-e2e/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/minddocdev%2Fnode-puppeteer-e2e/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/minddocdev","download_url":"https://codeload.github.com/minddocdev/node-puppeteer-e2e/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243772200,"owners_count":20345600,"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":["docker"],"created_at":"2024-11-21T15:46:02.529Z","updated_at":"2025-03-15T18:25:23.296Z","avatar_url":"https://github.com/minddocdev.png","language":"Dockerfile","readme":"# `node-puppeteer-e2e`\n\n\u003e Docker Slim Image with Node.js, and Puppeteer for automated e2e testing\n\nThis Docker image is created to easily execute automated end-to-end tests with Puppeteer in a container or in your CI pipeline.\n\nIt has Node.js, NPM, Yarn, and Puppeteer installed:\n\n```sh\n$ docker run -it minddocdev/node-puppeteer-e2e\nminddocdev@a43b9787b9c2:/app$ npm --version\n6.9.0\nminddocdev@a43b9787b9c2:/app$ node --version\nv10.16.0\n```\n\n[![Build Status on the master branch](https://travis-ci.org/minddocdev/node-puppeteer-e2e.svg?branch=master)](https://travis-ci.org/minddocdev/node-puppeteer-e2e)\n\n## Docker Hub\n\n### `docker pull`\n\nYou can pull the image from Docker Hub using the `docker pull minddocdev/node-puppeteer-e2e` command.\nWe are using [automated build set up](https://docs.docker.com/docker-hub/builds/#create-an-automated-build).\n\n```sh\ndocker pull minddocdev/node-puppeteer-e2e\n```\n\n### `docker run`\n\nTo jump into the container's `bash` shell, run `docker run -it minddocdev/node-puppeteer-e2e`.\n\nIf you want to load a volume, you can execute:\n\n```sh\n$ docker run --rm --workdir /app --volume \"$PWD:/app\" --interactive --tty minddocdev/node-puppeteer-e2e /bin/bash\n## Or using shorthand flags\n$ docker run -w /app -v \"$PWD:/app\" -it minddocdev/node-puppeteer-e2e /bin/bash\n## Install dependencies and run tests with npm\nroot@c0ff3e:/app# npm i \u0026\u0026 npm t\n```\n\nIt's also likely that you don't want to jump into `bash`, because you understand already how things work and you just want to execute your e2e test suite.\n\nTo run the tests using one npm script (for example, if you have `npm install` in your `pretest` script), run:\n\n```sh\ndocker run --rm -w /app -v \"$PWD:/app\" -t minddocdev/node-puppeteer-e2e npm test\n```\n\nIf your end-to-end test suite requires multiple commands being executed, you should use:\n\n```sh\ndocker run --rm -v \"$PWD:/app\" -t node-puppeteer-e2e /bin/bash -c \"npm install \u0026\u0026 npm test \u0026\u0026 echo 'Yuppiee'\"\n```\n\n### `docker build`\n\nYou can also build the image yourself. Checkout the repository\n\n```sh\ngit clone https://github.com/mind-doc/node-puppeteer-e2e.git\ncd node-puppeteer-e2e\ndocker build -t minddocdev/node-puppeteer-e2e:latest .\ndocker images minddocdev/node-puppeteer-e2e\n```\n\n## Links\n\n- [Docker Hub `minddocdev/node-puppeteer-e2e`](https://hub.docker.com/r/minddocdev/node-puppeteer-e2e/)\n- [GitHub `mind-doc/node-puppeteer-e2e`](https://github.com/minddocdev/node-puppeteer-e2e)\n- [Travis CI](https://travis-ci.org/minddocdev/node-puppeteer-e2e)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fnode-puppeteer-e2e","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminddocdev%2Fnode-puppeteer-e2e","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminddocdev%2Fnode-puppeteer-e2e/lists"}