Skip to main content

All Questions

0 votes
1 answer
5k views

How to create multiple html reports in playwright for multiple spec files ? Kindly assist

I'm fairly new to Playwright, and I'm stuck and unable to generate HTML reports. I'm using basic playwright report (index.html) which gets updated every time in run a different spec file. Also if I ...
Vishwa nathan's user avatar
1 vote
0 answers
1k views

How can I use Cypress to crawl a website for links?

I understand that Cypress is designed for e2e testing and is not a generic browser automation tool. However, I'm wondering if it's possible to use Cypress to log into a website and crawl through it ...
dearamerican's user avatar
0 votes
2 answers
512 views

Wrong API on file-upload using Cypress.io for E2E testing

I am testing a portal with Cypress.io, which has a file upload functionality. But my file always failed to upload because the API call is going wrong. Correct API Call: ** POST 200 /etl/v1.0.0/...
Suyash Nande's user avatar
1 vote
2 answers
35 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
78 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
565 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
618 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
237 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
2 votes
1 answer
2k views

How to write xpath with contains ID using TestCafé?

Need to take the dynamic ID using "contains" keyword in TestCafé selector. html: <div id="content-body-14269002-17290547"> xpath: //div[contains(@id,"content-body")] I would like to write ...
gomathi subramanian's user avatar
0 votes
1 answer
92 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
  • 467
0 votes
2 answers
521 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
939 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
2 answers
622 views

What is the correct way to perform TestCafe assertions

I am basically stuck between a rock and sort of a hard place. I’m writing some automation scripts using TestCafe and I need some help on best practices. Basically I would like to know the best way to ...
Roosevelt H's user avatar
0 votes
1 answer
308 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
205 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,629

15 30 50 per page