🔧 Change le nom du bouton
This commit is contained in:
parent
bb5721f911
commit
7cada3dd07
@ -180,7 +180,7 @@ class Actions
|
|||||||
$this->addPageDebug('add-2', $crawler);
|
$this->addPageDebug('add-2', $crawler);
|
||||||
// TODO need to check if we're in the good page
|
// TODO need to check if we're in the good page
|
||||||
// Let's validate
|
// Let's validate
|
||||||
$form = $crawler->selectButton('Valider mon annonce')->form();
|
$form = $crawler->selectButton('Valider')->form();
|
||||||
$crawler = $this->account->getClient()->submit($form, ['accept_rule' => 1]);
|
$crawler = $this->account->getClient()->submit($form, ['accept_rule' => 1]);
|
||||||
$this->addPageDebug('add-validation', $crawler);
|
$this->addPageDebug('add-validation', $crawler);
|
||||||
// TODO return if it's the validation page or not
|
// TODO return if it's the validation page or not
|
||||||
|
Loading…
Reference in New Issue
Block a user