Skip to main content

All Questions

1 vote
2 answers
33 views

Test with same action but different contexts

I'm working in a company as a QA intern, we do end to end testing with browser automation. We have lots of tests scenarios that looks like that : (we use cucumber) Given I am logged in When I go to my ...
Florent Bouisset's user avatar
1 vote
1 answer
72 views

Contribute to TestCafe repo for features/fixes

I want to take a stab at contributing code to TestCafe for bugs/issues. Can anyone of the contributers help me with setting up my machine? How do you get started? (apart from forking the repo) Are ...
Manoj's user avatar
  • 103
1 vote
1 answer
528 views

Assert a URL redirection when second URL can not be resolved in TestCafe

I want to assert that the next URL gets resolved. It's a URL generated by SendGrid and changes one you search it in the browser. The problem is that to access the second you need access to our VPN. ...
Patrick Vibild's user avatar
0 votes
1 answer
609 views

How to typetext in textarea which have dynamic element?

I want to input text in textarea, but unable to find the element since the id is dynamic, and if I use class, element is visible. Here's Snippet Code of the element, here's the UI. I wrote this on my ...
Herawati Manurung's user avatar
0 votes
1 answer
227 views

TestCafe - Report Path

Is possible to use relative path for Reporters? When i checked documentation of TestCafe i found this for screenshot but there is no pathPatern for reporters. { "screenshots": { "...
Karel Junek's user avatar
0 votes
1 answer
89 views

re-initialize global configuration when rerunning TestCafe test in live mode

When using TestCafe in live mode (not using live runner) when it runs on detecting code change it doesn't reload my global variables. In my test code I have a config page that I use to setup initial ...
colinbes's user avatar
  • 447
0 votes
2 answers
497 views

How to click element in parent class using TestCafe?

I want to typetext on textarea with parent class that marked on this following img Snippet code I want to use that class because id on textarea is dynamic element and will change every loaded. That's ...
Herawati Manurung's user avatar
1 vote
0 answers
871 views

TestCafe using --ssl command throws Mac verify failure error

When I run the following command testcafe --ssl pfx=path/to/file.pfx safari mytestfile.js, I always immediately get a mac verify failure error message in the terminal window. I created my .pfx file ...
TallKU's user avatar
  • 179
0 votes
1 answer
304 views

Testcafe typeText on IOS devices does not work on third party iframe

I have some problems using typeText on IOS devices and testcafé. The same script works on desktop browsers, android browsers but not IOS. I have tried hosted real devices on Browserstack Automate and ...
Håkan Norström's user avatar
0 votes
0 answers
199 views

How `Cache-Control` header of a server affects TestCafe server

I have always used http-server (npm package) to serve my static files with their -c-1 flag to disable caching. But it seems like TestCafe doesn't like that. It can see the webpage you are serving only ...
AJ Meyghani's user avatar
  • 4,449
2 votes
1 answer
215 views

When testing end to end integration testing using TestCafe how to manage waiting for email receipt

With system under test, when adding a new user their initial password is emailed to them. I could split my test into multiple sections with manual intervention but this is less than ideal. ...
colinbes's user avatar
  • 447
1 vote
0 answers
50 views

Apart from the need to inject 'test' and 'fixture' as globals, does TestCafe really need to compile test code itself?

Just curious from a technical perspective: what is TestCafe doing in the compilation step apart from injecting the test and fixture functionality into the module? How much re-architecting would need ...
David Sampson's user avatar
0 votes
1 answer
59 views

Correct way to select the Selector

In my TestCafe script I try to select 3 inputs. They are: <div> <div class="InputHeaderContainer cl-input-header-container"> <div class="cl-input-header-text">Korpushöhe (ohne ...
ingo's user avatar
  • 846
1 vote
2 answers
3k views

TestCafe RequestLogger - How to implement for every request in the test framework

We are trying to track down a network issue in our company which causes a Browser Disconnect General Error. I want to use RequestLogger timestamp to help us highlight when this intermittent issue ...
Benny Meade's user avatar
2 votes
1 answer
127 views

How can I open a menu using a keyboard shortcut?

We have a shortcut menu that if the user presses the . key, a shortcut menu opens. How can I mimic the user's behavior? From the docs, the t.keyPress works only on inputs and cannot be initiated out ...
doron's user avatar
  • 1,528

15 30 50 per page