All Questions
61
questions
3
votes
1
answer
148
views
Feedback of test runs in Testcafe
If I run a bunch of tests inside Testcafe, it may need a couple of times. Is it possible to add a function/callback to get the current test/step that Testcafe is processing?
3
votes
1
answer
681
views
TestCafe runs tests twice
I am using TestCafe for some time now and never had a problem. A few days ago TestCafe started to run my tests twice, producing a lot of problems. I couldn't find the issue on https://github.com/...
3
votes
1
answer
2k
views
TestCafe does not write in text input field
I'm using TestCafe for test automation of a web application based on the Wicket framework. I try to type text into a text input field ... well, actually it is a dropdown list, where a text input field ...
2
votes
1
answer
1k
views
How to run multiple tests under same fixture with same browser session
I am trying to test multiple features in one test.js file with each feature implemented as a test. All these tests can be run only after login to the portal. Testcafe closes the browser after the ...
2
votes
1
answer
1k
views
Is there a way to abort a test suite in TestCafe if a test in the middle fails?
I have a series of tests that are dependent on a step in the middle (such as creating an account). The API that I'm using for this is a kind of brittle (which is a separate problem), and sometimes ...
1
vote
1
answer
931
views
master runner in testcafe for several other runners?
I have several runners which are using promise.race to complete the testcase at a particular time
Say I have runner1.js, runner2.js runner3.js, how do I create a master runner so that I can run all ...
2
votes
1
answer
507
views
testcafe - unable to click disabled input
The site I'm writing automation tests for has disabled input fields that become enabled when a user clicks on them. I've spent a good day or so attempting to make testcafe click on an element within ...
1
vote
1
answer
585
views
Error while executing test: ERROR Cannot prepare tests due to an error
While executing tests on TestCafe using CLI, I am getting below error:
ERROR Cannot prepare tests due to an error.
at Object.<anonymous> (C:\Users\xxxx\Documents\TestCafe_Framework\tests\Test....
1
vote
1
answer
637
views
How can I test two different test groups concurrently?
I'm trying concurrently run my tests except for tests that include login.
I've tried to separate tests into two groups (with login and without login). These two groups run in parallel. Tests without ...
3
votes
1
answer
601
views
Quarantine mode for the fixture or test
Is it possible to run some tests in quarantine mode and run others without the mode?
For example, we have some lightweight tests and we don't need 3 tries for them, but for others it can be necessary
4
votes
1
answer
164
views
Use copied text in Testcafe Naviagation to change URL
I select some text with
t.selectText(Selector('#neededURL'), 0, 60) [can copy it if needed]
and want to use this text in navigateTo function, how can i do this?
3
votes
1
answer
257
views
Clicking anchor tags does not navigate to target destinations
Issue:
Clicking some anchor elements in a mobile device using Chrome's device emulator fails to navigate to target links.
Here I'm trying to test the behavior of switching the style of product cells ...
4
votes
1
answer
468
views
Testcafe - display steps while running tests
How do I display step by step information while running the test? Currently runs the command
testcafe chrome .\test\customer.js
Generally speaking, need to see more info as to whats executed.
4
votes
1
answer
367
views
How to make testcafe wait until a fixture is done executing before moving to the next fixture when using concurrency?
I want to run testcafe tests concurrently BUT only executing against 1 file at a time.
In other words, I want to wait for all the tests of a specific fixture to be done executing before the tests from ...
1
vote
1
answer
387
views
TestCafe Click Spawned Pop Up to Save CSV File
I can't find any way to click "Save" on a pop up that spawns during a test. TestCafe needs to click the "Save" button so I can obtain the CSV file.
I've tried searching for a way to do this in the ...