New Feature

Validating that page assets are cached

It’s not just HTML elements that need to be tested, and sometimes not even testing that images or CSS files are being tested. Sometimes you need to test things like server configurations. Magium’s position is that there are a wealth of different areas where browser testing can benefit your organization. Validating browser testing configurations isContinue Reading “Validating that page assets are cached”


ChromeDriver hangs with Selenium Server and Xvfb

I have spent several hours working on an issue while running Selenium Server under Xvfb with ChromeDriver.  There would basically be a 30 second timeout when connecting to Selenium Server from WebDriver with this being the exception: 1) Tests\Magium\AbstractTestCase\CoreAssertionTest::testElementDisplayed Facebook\WebDriver\Exception\WebDriverCurlException: Curl error thrown for http POST to /session with params: {“desiredCapabilities”:{“browserName”:”chrome”,”platform”:”ANY”}} Operation timed out after 30001 milliseconds with 0Continue Reading “ChromeDriver hangs with Selenium Server and Xvfb”

authentication New Feature twitter

Browser Testing Twitter OAuth Accounts

I added a Twitter OAuth integration in @magiumlib so you can easily do authentication automation. — Kevin Schroeder (@kpschrade) April 6, 2016 This is a simple library to help browser tests perform OAuth logins to Twitter. To install composer require magium/twitter To use: use MagiumTwitterActionsAuthenticateTwitter; class TwitterTest extends MagiumAbstractTestCase { public function testLogin() {Continue Reading “Browser Testing Twitter OAuth Accounts”

admin Good To Know Instructions

Logging in to the Magento Admin UI

Logging in to the admin UI is fairly simple, but there are a few things you need to do ahead of time. The actual functionality looks like this: class LoginTest extends MagiumMagentoAbstractMagentoTestCase { public function testLogin() { $this->getAction(MagiumMagentoActionsAdminLoginLogin::ACTION)->login(); } } That is all that is needed to log in… from the perspective of an action.Continue Reading “Logging in to the Magento Admin UI”

Database Mongo Performance

Excluding fields in the mongodb/mongodb library

I am using the mongodb/mongodb library for a project of mine.  The API seems fairly different from the old PECL library and it also came with some other, albeit unexpected, baggage. My understanding of the library is that it is intended to be a replacement for the existing PECL library and that it intends to strike aContinue Reading “Excluding fields in the mongodb/mongodb library”


Micro-Webinar: Using the Instruction Navigator in Magium – March 23, 2016: 12:00 EDT

On Wednesday, March 23, 2016 I will be hosting a 15 minute micro-webinar on how to use the instruction navigator. The instruction navigator is used to navigate around your Magento site when you need a series of clicks and/or mouse moves. A good example of this is navigating to the customer login screen. This 15Continue Reading “Micro-Webinar: Using the Instruction Navigator in Magium – March 23, 2016: 12:00 EDT”