-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indicate that the cdpPort option can't be used in concurrency mode #4029
Comments
It looks like you enable two conflicting options: |
Ok, it seems to work! I'm impatient to be able to use concurrency and CdpPort, thanks for your help. |
If you don't mind, could you please clarify why do you want to explicitly configure the CDP port in concurrency mode? |
Yes of course! In some test, we need to download files to check their content. Since we have a lot of tests, we use concurrency mode to speed up. |
We decided to raise an error if the same |
OK! It's technically possible to use concurrency and cdpPort to communicate with browsers? If yes, do you will plan it in your roadmap? |
Could you please clarify why you have to manually configure CDP ports? Please note that in concurrency mode each browser needs a dedicated port. It means that if you want to run 4 browsers concurrently, you have to handle 4 different ports. I think this is quite inconvenient, so that's why I am so curious about your use case. |
I've modified the example from #3127 a little. Now it will allow you to use the concurrency option. Please refer to https://gist.github.com/AlexKamaev/8c1eb8a5fb638fa366b44447f6d7c5a4 |
Hi, sorry for the response delay but your solution doesn't solve my problem :/ |
The problem with file downloading in Headless Chrome is fixed in |
Well, I'm still having the same error with the last version. I remove all workaround, update to |
Specifying |
Ok! You right, I forget it and it works perfectly. Thank you for supporting this feature! |
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open. |
We're closing this issue after a prolonged period of inactivity. If it still affects you, please create a new issue with up-to-date information. Thank you. |
What is your Test Scenario?
Just testing the google search webpage. I make the test failed to see If the screenshot on fail works.
What is the Current behaviour?
3 screenshots are in the screenshot folder for the 2nd test (3 retires x 1 test). No screenshot is taken for the 1st and 3rd, plus I've got the error below. BUT I can take a screenshot if there is only ONE test. It only happens if there is more than one test.
What is the Expected behaviour?
I should have 9 screenshots (3 retries x 3 tests) in the screenshot directory and no error on the console.
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example): http://google.com/
Your complete test code (or attach your test files):
Your complete configuration file (if any):
Your complete test report:
Screenshots:
Steps to Reproduce:
Your Environment details:
"testcafe-reporter-allure": "^1.0.5",
The text was updated successfully, but these errors were encountered: