Skip to content

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

@mousu-a

Description

@mousu-a

概要

タイトルの通りになります。以下テストが自分の環境では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番号

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions