ATFでのクライアントエラー対処法

 この記事を転載

概要

申請フローの自動テストを作成中に承認ボタンまわりでクライアントエラーが発出。

エラーコード

This step failed because the client error 'TypeError: Cannot read properties of null (reading 'value')' was detected on the page being tested. See failing Test Logs. To ignore these errors in the next test run, use 'Add all client errors to warning/ignored list' links.

対処法

client side-UI Actionではよくテストエラーするのでwarningに変更していいです、と公式に対応が書いてあったので、その通りにして対応。
Open a existing code してから ignore error and take warning を設定
以下二つのドキュメントが上記の説明となる。

参考リンク

Identify and resolve client errors
Allow client errors from the test logs

補足:通用しなかった対処法

open a existing code はプラットフォームでの挙動なので、
open service portal pageにしたら承認ボタンのタップができず、うまく動作しなかった。
なので、上記のignoreが現状では動くソリューションとして書きおくこととする。

Next Post Previous Post
No Comment
Add Comment
comment url