Closed christian-fischer closed 7 months ago
Hello @christian-fischer,
We can't reproduce the issue on our machines ( windows 10-11 / nodeJS 18-20 / Edge 122.0.2365.52-59 / testcafe 3.2 - 3.5).
Could you please try to reproduce the issue on other machines?
Perhaps, you can specify details that can help us reproduce the problematic behavior.
Hi @PavelMor25 when I tried reproducing this, it only happened occasionally - so I had to execute the command several times to get one failing run due to the described issue. I'm not sure how edge determines when to show this modal dialog or not - maybe there are pre-requisites regarding the windows-account?
As testcafe controls the profile in native automation, maybe it's possible to set some edge policy? The HideFirstRunExperience policy sounds promising in this regard to suppress this modal dialog.
Hello @christian-fischer,
TestCafe runs Edge with a custom user profile to which we add some properties:
fre
: This property stores information about whether the user has seen the offer to use Microsoft Edge features and capabilities. The value of has_user_seen_fre
indicates whether the user has seen this information.
profiles
: This property holds information about user profiles. In this case, the edge_implicitly_signed_in
property indicates automatic sign-in to the Microsoft Edge account for the specified account type.
You can also try to view the profile file created by TestCafe and check if these properties are indeed present there.
Therefore, on launching Edge, this window should not be displayed. Unfortunately, since we cannot reproduce the issue at the moment, we are unable to assist you further.
This issue was automatically closed because there was no response to our request for more information from the original author. Currently, we don't have enough information to take action. Please reach out to us if you find the necessary information and are able to share it. We are also eager to know if you resolved the issue on your own and can share your findings with everyone.
What is your Scenario?
Using Edge with native automation enabled.
What is the Current behavior?
Occassionally [1] immediately after testcafe starts Edge, a modal appears regarding some profile setup/signin (see screenshot). This subsequently fails the testrun, as not even the
http://localhost:4300/browser/connect/*
url is loaded, due to the modal blocking the browser.[1] sometimes as frequent as every second run, other times as rarely as every ~20th run
What is the Expected behavior?
I expect no modal to appear and that Edge loads the page I want to test.
What is the public URL of the test page? (attach your complete example)
Issue happens before the test page is even loaded. So for testing purposes using any page is fine, i.e. https://testcafe.io
What is your TestCafe test code?
Your complete configuration file
Your complete test report
Screenshots
Steps to Reproduce
testcafe edge edge.test.js -L
TestCafe version
3.2.0
Node.js version
18.12.0
Command-line arguments
testcafe edge edge.test.js
Browser name(s) and version(s)
Edge 122.0.2365.52
Platform(s) and version(s)
Windows 11 23H2
Other
No response