Repository navigation
XCL-179 E2E のログアウトの確認に答える処理を、helpers.ts の 1 か所にまとめる - #261
Merged
Merged
Conversation
Contributor
Code reviewNo issues found. Checked for bugs and AGENTS.md / CLAUDE.md compliance. 範囲: 全体 |
Contributor
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.
概要
ログアウトの確認のダイアログに答える処理が
e2e/auth.spec.tsとe2e/profile.spec.tsに重なって書かれていたので、e2e/helpers.tsにまとめ、両方から使う。変更内容
pressSignOut(ログアウトを押し、確認に答える) とsignOut(設定のタブを開いてログアウトする) をe2e/auth.spec.tsからe2e/helpers.tsに移したe2e/profile.spec.tsの独自のダイアログ処理をsignOutに置き換えた。これで profile 側も、ダイアログが出たことをexpect.pollで確かめるようになる受け入れ条件
e2e/helpers.tsに、確認のダイアログに答えてログアウトする関数があるe2e/auth.spec.tsとe2e/profile.spec.tsが、その関数を使い、重なった処理がないe2e / e2eが通る動作確認
pnpm lintpnpm typecheckpnpm testpnpm format:checkリスクの確認
.env*、キー、トークン) を含めていない人が確認すること