From f45f2afb1eff68054e9db576034b08b87f41c929 Mon Sep 17 00:00:00 2001 From: Matt Machell Date: Wed, 13 Nov 2024 18:02:25 +0000 Subject: [PATCH] Update AccountContext.php --- tests/smoke/context/AccountContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/smoke/context/AccountContext.php b/tests/smoke/context/AccountContext.php index bf99e2cf3d..70969d6843 100644 --- a/tests/smoke/context/AccountContext.php +++ b/tests/smoke/context/AccountContext.php @@ -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()