-
Notifications
You must be signed in to change notification settings - Fork 659
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
TypeError: Cannot read properties of undefined (reading 'numericFieldValidator') #7758
Comments
I did not manage to reproduce the issue. I tried to run your tests using the two different machines with the following configurations:
Please try updating the TestCafe version to the latest one. If this does not help, please modify your example so that we can reproduce the issue on our side. |
Sorry to hear that. I believe it could've been the speed of the test. I've updated I tried running the tests using following configurations:
As a result, I was able to see the error in the browser console. |
I managed to reproduce the issue. Thank you for sharing the example. As a workaround, I recommend using the Native Automation mode. Please refer to the following help topic: https://testcafe.io/documentation/404237/guides/intermediate-guides/native-automation-mode |
Thanks for your reply. I tried adding |
@rawat9 |
Thanks for your reply. Unfortunately it won't be possible to share our project. We will consider looking into your suggestion i.e with |
@AlexKamaev Is there a workaround for this too temporarily until fixed? |
Hi @rawat9, We are actively working on the Native Automation mode. However, as you mentioned, this mode does not support testing in multiple windows yet. At present, we cannot give you any precise estimates on when this will be implemented in Native Automation. I recommend that separate your TestCafe tasks into two:
|
fixed in #7758 |
What is your Scenario?
The error on the browser console when form dialog is opened, however the test passes.
Project dependencies:
Angular
v15.2.9ngx-formly
v6.1.7testcafe
v2.6.0Note: The issue didn't occur with
ngx-formly v5.12.7
. Only withversions > 6.x.x
What is the Current behavior?
The error on the browser console when form dialog is opened.
What is the Expected behavior?
There is no error on the browser console and the test still passes.
What is your public website URL? (or attach your complete example)
We created a test project for testcafe team to reproduce the bug.
Link: https://github.com/rawat9/test
What is your TestCafe test code?
Your complete configuration file
Your complete test report
No response
Screenshots
Steps to Reproduce
npm run start
)npm run test
)TestCafe version
2.6.0
Node.js version
18.16.0
Command-line arguments
--config-file=e2e/.testcaferc.js
Browser name(s) and version(s)
Chrome 114.0.0.0
Platform(s) and version(s)
macOS Ventura 13
Other
No response
The text was updated successfully, but these errors were encountered: