checkout New Feature shipping

Validating Individual Shipping Methods

Out of the box Magium will select the first shipping method on the screen. But there might be some times when you need to validate a particular shipping method, or force an error to be thrown if a shipping method does not exist. ’tis now easy to do. use MagiumMagentoAbstractMagentoTestCase; class ShippingTest extends AbstractMagentoTestCase {Continue Reading “Validating Individual Shipping Methods”

assertions New Feature Performance

Asserting page load times in Magento with Magium

Validating SLAs (Service Level Agreements) is often part of executing browser tests. With Magium you can now include page timings as part of your test. Say, for example, that part of your SLA is that a page must be rendered in less than 5 seconds. This is done by using the TTFBLoadedLessThan, DOMPageLoadedLessThan or DOMContentLoadedLessThanContinue Reading “Asserting page load times in Magento with Magium”

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”

authentication New Feature twitter

Browser Testing Twitter OAuth Accounts

I added a Twitter OAuth integration in @magiumlib so you can easily do authentication automation. pic.twitter.com/NjHvvRDG9G — 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”