Codeception / Codeception/lib-innerbrowser

Repeat latest request in functional test?

オープン
#33 コメント 3 件 リアクション 0 件 担当者 1 名 @TavoNiievez が担当を希望しています GitHub で見る
主要言語
PHP
スター
87
フォーク
20
PR マージ指標
30日以内にマージされた PR はありません

説明

Is there a way to just resend the very same request again in a functional test?

My scenario:
I'm submitting a POST-form, and I want to see what happens if I submit it again (i.e. the user presses F5 and confirms the browser dialog that the same data will be submitted again).
In my case, I can't just use `$I->submitForm()` again, cause on the new page the form isn't there anymore ;-) Well, special case - I have to admit...

But while thinking about that, it occured to me that a way to just repeat the same request would be a nice feature, wouldn't it?

* Codeception version: 2.3.7

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。