Skip to content

Commit

Permalink
Dump body (tests)
Browse files Browse the repository at this point in the history
  • Loading branch information
olleharstedt committed Aug 18, 2022
1 parent b5bf75a commit 8c3f30f
Showing 1 changed file with 4 additions and 0 deletions.
Expand Up @@ -152,6 +152,10 @@ public function testMassiveActions(): void
$massiveAction->click();
$massiveActionResend = $web->findElement(WebDriverBy::cssSelector('#failedEmailActions [data-action="resend"]'));
$massiveActionResend->click();

$body = $this->web->findElement(WebDriverBy::tagName('body'));
var_dump($body->getText());

$web->wait(20)->until(WebDriverExpectedCondition::visibilityOfElementLocated(WebDriverBy::cssSelector('#massive-actions-modal-failedemail-grid-resend-1 #preserveResend')));
$massiveActionResendPreserve = $web->findElement(WebDriverBy::cssSelector('#massive-actions-modal-failedemail-grid-resend-1 #preserveResend'));
$massiveActionResendPreserve->click();
Expand Down

0 comments on commit 8c3f30f

Please sign in to comment.