Codeception / Codeception/lib-innerbrowser

Repeat latest request in functional test?

Abierto
#33 3 comentarios 0 reacciones 1 asignado Reclamado por @TavoNiievez Ver en GitHub
Lenguaje dominante
PHP
Estrellas
87
Forks
20
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.