Skip to content

Commit

Permalink
add wait
Browse files Browse the repository at this point in the history
  • Loading branch information
jitendrapurohit committed Dec 18, 2023
1 parent 94da84a commit 017eb98
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/src/FunctionalJavascript/AttachmentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public function testSubmitWebform() {

// Ensure all files are loaded on the form.
foreach ($this->fileParams as $name => $file) {
$this->getSession()->wait(1000);
$this->assertSession()->pageTextContains($file['name']);
}

Expand Down

0 comments on commit 017eb98

Please sign in to comment.