Category : testcafe

TestCafe docker image is having only chromium,firefox. I want use same image to run tests on chrome & tried to build docker image by installing chrome browser using testcafe base image (linux/amd64). But running into issues. docker run -v ${PWD}/tests:/tests -it testcafe/testcafe chromium,firefox tests/shared/abc.js https://devexpress.github.io/testcafe/documentation/guides/advanced-guides/use-testcafe-docker-image.html#test-in-docker-containers apt-get is the package manager for Ubuntu and other Debian-based distros, ..

Read more

Hello I am dockerizing my testcafe project and my package.json has a dependency to install msnodesqlv8. Looks like my docker file is failing , what am i doing wrong here? [email protected] install /app/node_modules/deasync > node ./build.js `linux-x64-node-14` exists; testing Binary is fine; exiting > [email protected] install /app/node_modules/msnodesqlv8 > prebuild-install || node-gyp rebuild prebuild-install WARN install ..

Read more

I am new to docker! and i am trying dockerize my testcafe automation project. it looks like my dockerfile is failing at npm install with below error,what am i doing wrong here? [email protected] install /app/node_modules/deasync > node ./build.js `linux-x64-node-14` exists; testing Binary is fine; exiting > [email protected] install /app/node_modules/msnodesqlv8 > prebuild-install || node-gyp rebuild prebuild-install ..

Read more

I am new to docker! and i am trying dockerize my testcafe automation project. it looks like my dockerfile is failing at npm install with below error,what am i doing wrong here? [email protected] install /app/node_modules/deasync > node ./build.js `linux-x64-node-14` exists; testing Binary is fine; exiting > [email protected] install /app/node_modules/msnodesqlv8 > prebuild-install || node-gyp rebuild prebuild-install ..

Read more

I am trying to build a docker image that lifts the angular application with nginx and in turn runs the tests using testcafe. I have: FROM node:10-alpine as builder WORKDIR /project COPY package*.json ./ COPY . . RUN $(npm bin)/ng build –prod –output-path=dist FROM nginx:1.13.8-alpine COPY nginx.conf /etc/nginx/conf.d/default.conf WORKDIR /usr/share/nginx/html COPY –from=builder /project/dist . FROM ..

Read more

Setup: Specific runner (Gitlab runner configured on EC2) TestCafe job using docker image: e2e: image: name: testcafe/testcafe entrypoint: [‘/bin/sh’, ‘-c’] stage: e2e only: – develop tags: – myrunner dependencies: [] script: – <my_script_here> runner config: [runners.docker] tls_verify = false image = "node:12-slim" privileged = true disable_entrypoint_overwrite = false oom_kill_disable = false disable_cache = false volumes ..

Read more