Having trouble with API test public function loginAsRegisteredUser(ApiTester $I) { $I->wantTo('Login as registered user'); $I->sendPOST('/action.php?ap=V4&p=Customer&c=Customer&a=login',['customer' => ['email' => $this-> ...
When it comes to Codeception acceptance tests, I find myself needing to verify various behaviors both with and without Javascript. Currently, I am able to execute all tests with Javascript enabled using Selenium, and without javascript using PhpBrowser. ...
My predicament revolves around a certain checkbox that lacks any distinguishing attributes for identification. Despite my attempts with xpath, I have not been able to successfully interact with it. Below, you will find the complete HTML code snippet where ...
My Selenium test is failing when trying to set a cookie, despite reducing the code to its simplest form. It seems that setting cookies is not working at all in this case. /** * Test if we can set simple cookies * * @param \AcceptanceTester $i * ...
When running acceptance tests with Codeception using WebDriver and a Docker Selenium standalone server, I encountered an error that resulted in the following log message: [Selenium browser Logs] 13:59:52.345 SEVERE - https://ssl.google-analytics.com/ga ...
Currently, I am conducting acceptance testing using webdriver and codeception. This is a relatively new area for me, so your patience is much appreciated. My current challenge involves switching to a child window that pops up after clicking a button: < ...
Currently, I am using Codeception in conjunction with Selenium Webdriver and encountering a WebCurlException Error once I execute codecept.phar. Here are the steps I've taken: 1. I initiated the selenium stand alone server jar file via the command prompt ...
After following the Codeception Quick Start instructions diligently, I proceeded to run the initial example test using PhpBrowser... # Codeception Test Suite Configuration # # [further comments omitted] # actor: AcceptanceTester modules: enabled: ...
I need to verify whether the Verisign logo images are loading correctly $I->seeElement('DIV#security IMG.verisign'); However, my current test is passing even when the image is not loaded (e.g. for a 404 error if the file name of the source is incorrec ...