All Questions
12
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/...
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", "...
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 ...
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/...
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/...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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": ...