Skip to content
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

一部テストがHEADFULでしか通らない #8375

Open
mousu-a opened this issue Feb 27, 2025 · 0 comments
Open

一部テストがHEADFULでしか通らない #8375

mousu-a opened this issue Feb 27, 2025 · 0 comments
Labels

Comments

@mousu-a
Copy link
Contributor

mousu-a commented Feb 27, 2025

概要

タイトルの通りになります。以下テストが自分の環境ではHEADFULでないと通りませんでした。最新のmainは取り込んでいます。
具体的には10回以上単体(ヘッドレス)で回しても通りませんでした。HEADFULで回すと1回で通りました。

  • rails test test/system/page/tags_test.rb:98
  • rails test test/system/questions_test.rb:123
  • rails test test/system/questions_test.rb:137

rails test test/system/page/tags_test.rb:98は、ayu-0505さんの環境ではHEADFULでなくとも通ったようなので、環境による問題の可能性が高そうです💦

関係があるかも?

haunted-blogの初期セットアップ後のテスト実行時、予定していない検証エラー・検証失敗が発生する

再現手順

  1. 上記テストをヘッドレスで回す。
  2. テストが通らないことを確認する。
  3. 上記テストをHEADFULで回す。
  4. テストが通ることを確認する。

期待される振る舞い

ヘッドレスで全てのテストが通るようになって欲しい。

スクリーンショット

Image

rails test test/system/page/tags_test.rb:98
Image

rails test test/system/questions_test.rb:123
Image

rails test test/system/questions_test.rb:137
Image

環境

  • OS: [M1 macOS 14.7.1]
  • ブラウザ: [chrome]
  • バージョン: [133]

関連Issue

Ref: #関連Issue番号

足りない情報などあればツッコミいただければと思います🙇‍♂️

@mousu-a mousu-a added the バグ label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant