Skip to content

👍 playtest-gauge-browserの@AfterScenarioでスクリーンショットを撮るのをやめたい #34

Description

@naoki-tomita

what?

playtest-gauge-browserの@AfterScenarioでスクリーンショットを撮るのをやめる
あるいは、スクリーンショットを撮るタイミングを改善する(できるかわからないけど)

why?

自分達のテストコード内でブラウザーを閉じる処理を書いている。(@AfterScenarioでやっている)
結果、以下の順序で処理が行われてしまう。

  1. ブラウザーを閉じる(私たちの@AfterScenario処理)
  2. スクリーンショットを撮ろうとする(playtestの@AfterScenario処理)

結果、ブラウザーを閉じてしまっているので、スクリーンショットが取得できずエラーとなる。
テストが成功していても失敗扱いになってしまう。

これを改善します。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions