From 35063b6ccf944d81e78c358bbc15a175f99c1362 Mon Sep 17 00:00:00 2001 From: Ariel Gold Date: Thu, 5 Mar 2015 14:23:02 -0800 Subject: [PATCH] Add behat.yml and behat.local.yml.sample * Configure Behat & Mink with default profile * Use Goutte and Selenium browser drivers * Test against test-withrobots.pantheon.io * Copy behat.local.yml.sample to behat.local.yml and add posswords outside of Git version control --- behat.local.yml.example | 9 +++++++++ behat.yml | 12 ++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 behat.local.yml.example create mode 100644 behat.yml diff --git a/behat.local.yml.example b/behat.local.yml.example new file mode 100644 index 0000000..3700f2b --- /dev/null +++ b/behat.local.yml.example @@ -0,0 +1,9 @@ +# Local configuration. +default: + context: + parameters: + wp_users: + editor-qa: + 'password for editor-qa' + another-user: + 'password for another-user' diff --git a/behat.yml b/behat.yml new file mode 100644 index 0000000..f5a1b09 --- /dev/null +++ b/behat.yml @@ -0,0 +1,12 @@ +# behat.yml +default: + extensions: + Behat\MinkExtension\Extension: + base_url: http://test-withrobots.pantheon.io + goutte: ~ + selenium2: ~ + show_cmd: "/Applications/Firefox.app/Contents/MacOS/firefox %s" + + +imports: + - behat.local.yml