Cypress 测试用例失败并在 <mat-form-field> <mat-input> 中的有效输入类型文本上显示错误

问题描述

我正在尝试在 Angular mat-form-field 中测试表单验证,但是每次 cypress [mat-form-field & mat-input ] 通过关于类型有效输入文本的验证错误消息,我已经附上了两张图片,您可以在其中检查它是否正常工作,但在 cypress 测试用例中显示验证错误

提前致谢

ma​​t-form-field

LOCK TABLES

my-cypress-testcase

LOCK TABLES certificates WRITE;
-- your select and insert queries
UNLOCK TABLES;

cypress testcase

normal test in browser

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)