Skip to content

Instantly share code, notes, and snippets.

View fbrnc's full-sized avatar

Fabrizio Branca fbrnc

View GitHub Profile
View fix-sample-data.php
* Drop this into the shell directory in the Magento root and run without any arguments.
require_once 'abstract.php';
* Clean up the 1.6.1 sample data to work with the 1.8 CE url key constraints.
fbrnc / gist:4550079
Last active September 25, 2017 11:53 — forked from michalochman/gist:3175175
Make Behat/Mink create a screenshot when a test fails
View gist:4550079
class FeatureContext extends MinkContext {
* Take screenshot when step fails.
* Works only with Selenium2Driver.
* @AfterStep