Skip to content

Commit

Permalink
Update AccountContext.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmachell committed Nov 13, 2024
1 parent 5f5208f commit f45f2af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/smoke/context/AccountContext.php
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public function iAmSignedIn(): void

public function scriptsWork(): void
{
if(!$this->ui->getSession()->evaluateScript("return useAnLPALoaded")){
if(!$this->ui->getSession()->evaluateScript("return window.useAnLPALoaded")){
throw new ExpectationException(
'Javascript did not parse without errors',
$this->ui->getMink()->getSession()->getDriver()
Expand Down

0 comments on commit f45f2af

Please sign in to comment.