Skip to main content

All Questions

0 votes
1 answer
191 views

Testcafe docker run shows error on specifying global request hook in .testcaferc.js file

I get an error The hook (object) is not of expected type (RequestHook subclass). I notice this error when I run the test using the testcafe docker image. I use the command: docker run -v //c/...
msilori's user avatar
  • 39
1 vote
1 answer
2k views

ERROR Cannot find the browser. "chrome" is neither a known browser alias, nor a path to an executable file. Type "testcafe -h"

FROM node:14-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app COPY . . RUN npm install chromedriver RUN npm install EXPOSE 80 EXPOSE 4444 CMD ["npm", "run", "...
Zuli's user avatar
  • 11
0 votes
0 answers
155 views

Few tests fail only docker instance

I have around 60 test cases which runs in sequential. When the test reaches 50 plus then the remaining test cases fail at application log in page itself. Not sure what is happening in the docker.the ...
vpkreads cox's user avatar
0 votes
1 answer
1k views

How to add chrome browser to TestCafe docker image?

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/...
Kiran Kumar's user avatar
0 votes
1 answer
443 views

testcafe/testcafe- base alpine image fails to run msnodesqlv8 in docker

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/...
TS0306's user avatar
  • 177
4 votes
2 answers
1k views

Testcafe through Docker does not find test files

I like to run testcafe test through docker but i receive following error: sudo docker run -u root -v ${PWD}:/e2e -it testcafe/testcafe chromium e2e/*.js ERROR TestCafe could not find the test files ...
meanimal's user avatar
0 votes
0 answers
449 views

How to get reports from testcafe docker image?

I created an docker image based on the testcafe image. But the xunit and html reports are not being generated, is there some way of doing it? FROM testcafe/testcafe USER root RUN npm install -g ...
Willian Dallastella's user avatar
0 votes
1 answer
1k views

How to run testcafe from local on chrome docker image

I don't want to install chrome to run testcafe and want to use a chrome docker image. Step1: docker run -d -p 4444:4444 selenium/standalone-chrome Step2: docker container ls CONTAINER ID ...
Saurabh Shrivastava's user avatar
0 votes
0 answers
192 views

Testcafe is not reporting to slack when working on a container

I started running my E2E test on azure cointainer instances. The code is reporting to my slack channel without any issue when working on local but for some reason it wont send any report to slack ...
Patrick Vibild's user avatar
1 vote
1 answer
641 views

TestCafe docker- unable to run tests using runner class

I have all my tests running in a docker container and it works fine. Since I have a few test files which need concurrent tests and a file which doesn't need a concurrent test that is the reason I need ...
Psdet's user avatar
  • 689
2 votes
1 answer
1k views

How to run TestCafe runner class with Docker

I am new to TestCafe and want to run my testcases with runner class in Docker container. I am able to run single testcase through Docker. But when i want to run with runner class, i am not able to ...
aakash garg's user avatar
2 votes
2 answers
2k views

Chromium hangs using the TestCafe Docker image

Attempting to run Chromium headless inside the testcafe/testcafe Docker image causes the browser to hang, no matter what options I've used. Here's what I have at the moment: "browsers": { "path": ...
G M's user avatar
  • 41