unknown error: $ is not defined
Closed this issue · 3 comments
kappakp88 commented
Running a cest file with seeElement
getting this error as soon as it hits the seeElement, when I remove the module the test runs successfully
codeception v2.3.3
unknown error: $ is not defined
\vendor\facebook\webdriver\lib\remote\HttpCommandExecutor.php:320
\vendor\facebook\webdriver\lib\remote\RemoteWebDriver.php:535
\vendor\facebook\webdriver\lib\remote\RemoteWebDriver.php:296
\vendor\hyperia\highlight-ception\src\HighlightCeption.php:70
\vendor\hyperia\highlight-ception\src\HighlightCeption.php:142
kappakp88 commented
turns out this is a local issue with the page I am on not having jquery
kappakp88 commented
reopening issue, tested with simpleCept.php inside the test directory and got the same error, i fixed the error by replacing the $ with jQuery.