Repository navigation
#440 サインインの画面のボタンを、jQuery の ready の前でも送れるようにした(適合性テストのぶれの原因) - #442
Merged
Merged
Conversation
…るようにした(両版の Login.cshtml)。ready の前に押すと何も起きず、適合性テストの自動操作のブラウザが落ちていた。 ボタンは type="button" で、送信するのはハンドラだけだったが、ハンドラを $(function) の中で付けていた。jQuery 3 は ready のハンドラをタイマーで後から呼ぶので、画面を受けてすぐ押すと送られなかった(RT-440.1 は ready を遅らせて測る。直す前は両版で落ちた)。 Tested-with: e2e
… -FlakyLimit)を外した。文書の「自動操作のぶれ」を、分かった原因に合わせた。 サインインの画面を直した版(ci/440)で、全 56 の組・1726 モジュールの 1 回目の差が 0 件だった(直す前は 174 件)。QUALITY.md 4 節に、ボタンの送信を ready の後のハンドラに任せない観点を足した。 Tested-with: manual
…しの負荷で、遅れの後に押したことがあった)。TESTCASES.md を作り直した。#440 を閉じる。 前提は「ready を止める差し込みが効いていること」にした(直した後の net48 版のサインインの画面には、ready のハンドラが 1 つも無い)。直す前の画面では両版とも落ち、直した後は通る。適合性テストは ci/440 で 2 回回し、全 56 の組・1726 モジュールの 1 回目の差が 0 件(直す前は 174 件)。 Expectation-Change: RT-440.1 の「ready が動く前に押した」(押すまでが遅れより短い)の検証を消した。ready を時間で遅らせず止める形にしたので、時間の前提が無くなった。前提の検証は「ready を止める差し込みが効いている」に置き換えた(#440) Found-By: test-failure (#439 の CI で、適合性テストの自動操作のぶれとして) Tested-with: e2e, manual Reviewed-with: quality-reviewer (claude-sonnet-5-5) Reviewed-with: opentouryo-expectation-reviewer (claude-sonnet-5-5)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
6th_agent の 3 コミットを develop に取り込む。
変更内容
Login.cshtml(サインインの画面):通常のサインインと ID 連携のボタンのハンドラを、jQuery の ready($(function))の中ではなく、スクリプトが動いた時点で付ける($(document).on("click", …)の委譲)type="button"で、送信するのはこのハンドラだけ。jQuery 3 は ready のハンドラをタイマーで後から呼ぶので、画面を受けてすぐ押すと何も起きなかった(適合性テストの自動操作のブラウザが、CI の OIDC の群で 1 回目に 1〜2 割落ちていた)RT-440.1(WebUI・両版):jQuery の ready のハンドラを止めた画面で、ボタンを押してサインインの画面から移ること。TESTCASES.mdを作り直したcontainer/CTS/RunPlans.ps1:回し直しの既定を 8 回から 2 回にし、残ったぶれを警告に留める規則(-FlakyLimit)を外した(適合性テスト(Conformance Suite)を GitHub Actions で回す #439 で入れた当座の手当て)container/CTS/README.md・root/14_TESTING.md5 節・QUALITY.md2 節(合否)・4 節(観点:ボタンの送信を、ready の中で付けるハンドラだけに任せていないか)。CompareResults.ps1・RunTestPlan.ps1・conformance.ymlはコメントだけ期待値の変更が 1 件ある(e54c8c76 の
Expectation-Change:):RT-440.1の最初の版の、時間の前提の検証(「ready が動く前に押した」)を消した。ready を時間で遅らせず止める形にしたため。検証
conformance.yml、全 10 群・56 の組・1726 モジュール):実験用ブランチci/440(消した)で 2 回回した(run 46097519721・46104480162。2 回目は a1ab34f と同じ木)RT-440.1:直す前の画面では両版とも落ち、直した後は通る-Launch -UpdateTestCases):成功 1291・失敗 0・Skip 10(ID 連携のコンテナあり)RunPlans.ps1:基準と同じなら通り、残った差は 2 回回し直した後に落ちる(警告にしない)quality-reviewer):判定後の重大度「高」は無し。期待値の変更の突き合わせ(opentouryo-expectation-reviewer):すべて「合う」。詳細は 適合性テストを CI で回すと、ブラウザの自動操作(WebRunner)の Verify Complete のぶれが手元より多い #440 の完了コメントCheckExpectationChange.ps1 -Range origin/develop..HEAD -CheckGenerated:exit 0conformance.ymlと E2E は走らない(どちらも develop 宛ての PR を契機にしていない)利用者への影響
サインインの画面で、読み込みの途中(jQuery の ready の前)にサインインと ID 連携のボタンを押しても、送られるようになる(これまでは何も起きなかった。遅い回線や、読み込みの直後に押したとき)。送る値・検証・サーバの処理は変えていない。それ以外は無し。
チェック
Login.cshtml・.ps1)の更新履歴に 1 行追記した。新規のSignInBeforeReadyTests.csにヘッダ コメントを付けた🤖 Generated with Claude Code