Skip to main content

All 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?
ingo's user avatar
  • 846
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/...
Stefan Strathmeier's user avatar
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 ...
thomasreuter.vf's user avatar
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 ...
Lalitha Padubidri's user avatar
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 ...
ElectricProphet's user avatar
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 ...
TS0306's user avatar
  • 177
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 ...
Zepher's user avatar
  • 21
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....
Rishi's user avatar
  • 13
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 ...
Benas.S's user avatar
  • 45
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
Maksim's user avatar
  • 260
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?
Dmitrii Didenko's user avatar
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 ...
J.Y.'s user avatar
  • 31
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.
xelber's user avatar
  • 4,517
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 ...
Gurkirat Singh's user avatar
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 ...
rom's user avatar
  • 616

15 30 50 per page
1
2 3 4 5