Questions tagged [testcafe]
TestCafe and TestCafe Studio - end-to-end testing, simplified. Questions from users of the open-source TestCafe and TestCafe Studio community edition subscribers.
testcafe
1,871
questions
0
votes
0
answers
19
views
Is there a way to do concurrent tests with distinct empty profiles?
I have some tests that involve switching between different user roles to validate that they can (and can't) access appropriate things in my web application.
I've noticed that when I try to run with ...
0
votes
0
answers
16
views
TestCafe > TypeScript> ReferenceError: aut_fe_e2e_core_1 is not defined" How to fix this
TestCafe > TypeScript> while execution got below error " An error occurred in ClientFunction code: ReferenceError: aut_fe_e2e_core_1 is not defined"
seems this is a package error
how ...
0
votes
1
answer
22
views
How to Select the 1st option from dropdown in testcafe
I am trying to select the first option from a dropdown in my private webpage.
What I am trying to do is to click on the dropdown and select the very first option available without knowing its value. ...
0
votes
0
answers
36
views
Testcafe how to test dynamic url popup window that is dependat on previous tab still being opened
I am testing a payment checkout. The normal flow is that you press a button with a dynamic url (href="javascript;:"), a popup window opens up, you enter the payment details and accept, when ...
0
votes
0
answers
50
views
AppleScript encounters "Not authorized to send Apple events to System Events" on MacOS virtual machine
I'm running an automated test in Sauce Labs on MacOS 13 with the latest Chrome version available. The test I'm running gets the user's audio. I've included Chrome's fake device flags (https://webrtc....
0
votes
0
answers
116
views
Testcafe 3+ throws 'Uncaught Object was thrown. ...Throw error instead.' using typeText on a field that already has text
We use Testcafe for frontend test automation on a Vue app. After upgrading to version 3.6 from 2.6.1, the typeText method throws an obscure error when typing text into a field that is auto-populated ...
0
votes
1
answer
14
views
Generate Test Cafe Studio Report
After executing a test in studio, I am able to click on the export report Icon but it creates a json report which is not readable. What recommendation do you have that can help generate a human ...
1
vote
1
answer
113
views
How to prevent "Check your saved passwords" and "Save password?" dialog popups on Chrome during TestCafe test?
Environment: Testcafe 3.6.0 Chrome Version 125.0.6422.112 (Official Build) (64-bit) on Fedora 40 and AlmaLinux 8
What command line parameters can I pass to Chrome, or perhaps by using the Runner ...
0
votes
0
answers
58
views
How can I test the file upload in Typo3-backend with Testcafe?
I am trying to test a file upload in the Typo3 backend with Testcafe. The problem is that there is no input field with the attribute type=“file”. The file upload is Typo3 standard and initially looks ...
0
votes
0
answers
43
views
How to run Testcafe 3.5 with chrome headless=new with the testrunner API?
We are using Testcafe v3.5 with Gherkin Testcafe library which works great.
I want to experiment with the new Chrome Headless that can be started with the option
chromium --headless=new.
But we use ...
1
vote
1
answer
102
views
Dynamic data are not available in test files - testcafe - 3.6.0
I want to set project config which is unique in every test run, by creating new environment instance before tests run.
It will contains for expample, base url to web page, api url e.t.c.
I will use it ...
1
vote
1
answer
81
views
Is there a way to handle a Chrome popup to allow for a shared clipboard?
We are trying to copy and paste some text for some of our functionality and there is Chrome popup that keeps coming up and preventing further action right before the text can be pasted. It's the allow ...
1
vote
1
answer
26
views
TestCafe expect text to equal one of the following
I'm writing a test where if the user clicks a button, there should only be 2 scenarios (texts) that could happen.
For example
await t
.click('button')
.expect(Selector('div#result')....
1
vote
0
answers
57
views
TestCafe usage with Docker - Socket Hang Up - Cannot establish one or more browser connections Errors
I am trying to run TestCafe tests inside docker container.
I am able to run my tests with npm run testrunner locally. Inside Docker container, I get different errors on different tries.
The errors I ...
0
votes
1
answer
55
views
How to use TestCafe inside docker container?
I am trying to run TestCafe tests inside a docker container.
Tests are working as excepted with runner or cli locally without container. When I try to run inside docker container, this error appears:
...