Skip to content

Instantly share code, notes, and snippets.

View ryangurn's full-sized avatar
🏠
Working from home (nothing new)

Ryan Gurnick ryangurn

🏠
Working from home (nothing new)
View GitHub Profile
@ryangurn
ryangurn / Starting
Created August 2, 2016 20:44
Hello!
# How to Add
When you want to add a test to the behat system there are **6** steps.
1. First launch the browser and go to the domain that the behat gui is on.
2. Then click on the `Home` button on the top left.
3. Then click on the `+ Create` button in the top right hand side.
4. Then enter a name in the `Name` input.
5. Then click on the `Browse` button to upload a feature template. **When you upload a file please make sure that it has the correct variables, otherwise you will get errors.**
6. Thats it.
# Execute Tests
@ryangurn
ryangurn / behat-phantomjs-webdriver.md
Created July 1, 2016 23:38 — forked from callado4/behat-phantomjs-webdriver.md
Instructions on how to make behat (with mink) use the phantomjs webdriver to run headless browser tests

Making behat use phantomjs for the tests

If you want to run it on phantomjs (a headless browser) you can add this profile to your behat.yml and you need phantomjs >= 1.8.0

phantomjs:
    extensions:
        Behat\MinkExtension\Extension:
            base_url: http://dev.local
            goutte: ~
            selenium2:
 wd_host: "http://localhost:8643/wd/hub" 
PHP Warning: require(/home/ubuntu/src/github.com/mygameface/Gameface/vendor/php-activerecord/php-activerecord/ActiveRecord.php): failed to open stream: No such file or directory in /home/ubuntu/src/github.com/mygameface/Gameface/vendor/composer/autoload_real.php on line 58
PHP Stack trace:
PHP 1. {main}() /home/ubuntu/src/github.com/mygameface/Gameface/artisan:0
PHP 2. require() /home/ubuntu/src/github.com/mygameface/Gameface/artisan:16
PHP 3. require() /home/ubuntu/src/github.com/mygameface/Gameface/bootstrap/autoload.php:17
PHP 4. ComposerAutoloaderInit8e93ef0635dcbf7b325056683d1db7b4::getLoader() /home/ubuntu/src/github.com/mygameface/Gameface/vendor/autoload.php:7
PHP 5. composerRequire8e93ef0635dcbf7b325056683d1db7b4() /home/ubuntu/src/github.com/mygameface/Gameface/vendor/composer/autoload_real.php:49
PHP Fatal error: require(): Failed opening required '/home/ubuntu/src/github.com/mygameface/Gameface/vendor/php-activerecord/php-activerecord/ActiveRecord.php' (include_path='/home/ubuntu/src/g
@ryangurn
ryangurn / dabblet.css
Created January 11, 2012 23:31
Untitled
<?php
echo "hello";
?>