From dc7cc5f5809bf929b577fddb727129dd5694fa52 Mon Sep 17 00:00:00 2001 From: Kamil Kokot Date: Fri, 29 Jan 2016 13:31:58 +0100 Subject: [PATCH] [Behat] Removed javascript & javascript_cached suites --- etc/behat/profiles.yml | 3 -- etc/behat/profiles/cached.yml | 2 +- etc/behat/profiles/default.yml | 21 ++++++++++++-- etc/behat/profiles/javascript.yml | 24 ---------------- etc/behat/profiles/javascript_cached.yml | 28 ------------------- .../contact_request_management.feature | 2 +- features/contact/contact_requesting.feature | 2 +- .../contact/contact_topic_management.feature | 2 +- 8 files changed, 22 insertions(+), 62 deletions(-) delete mode 100644 etc/behat/profiles/javascript.yml delete mode 100644 etc/behat/profiles/javascript_cached.yml diff --git a/etc/behat/profiles.yml b/etc/behat/profiles.yml index 5223edb4cc..59f128fd06 100644 --- a/etc/behat/profiles.yml +++ b/etc/behat/profiles.yml @@ -3,7 +3,4 @@ imports: - profiles/default.yml - - profiles/javascript.yml - - profiles/cached.yml - - profiles/javascript_cached.yml diff --git a/etc/behat/profiles/cached.yml b/etc/behat/profiles/cached.yml index 30fbcfa7ca..13e75c8f9f 100644 --- a/etc/behat/profiles/cached.yml +++ b/etc/behat/profiles/cached.yml @@ -10,4 +10,4 @@ cached: gherkin: filters: - tags: "~@javascript && ~@contact" + tags: "~@ignore" diff --git a/etc/behat/profiles/default.yml b/etc/behat/profiles/default.yml index 24262b93bf..bde30645a8 100644 --- a/etc/behat/profiles/default.yml +++ b/etc/behat/profiles/default.yml @@ -4,18 +4,33 @@ default: formatters: pretty: - verbose: true - paths: false + verbose: true + paths: false snippets: false extensions: Lakion\Behat\MinkDebugExtension: directory: etc/build clean_start: false + screenshot: true Behat\MinkExtension: + base_url: http://localhost:8080/ sessions: default: symfony2: ~ + javascript: + selenium2: ~ + selenium2: + capabilities: + browserName: chrome + browser: chrome + version: "" + chrome: + switches: + - "start-fullscreen" + - "no-sandbox" + browser_name: chrome + show_auto: false Behat\Symfony2Extension: kernel: class: TestKernel @@ -28,4 +43,4 @@ default: gherkin: filters: - tags: "~@javascript && ~@contact" + tags: "~@ignore" diff --git a/etc/behat/profiles/javascript.yml b/etc/behat/profiles/javascript.yml deleted file mode 100644 index 0beab88f6c..0000000000 --- a/etc/behat/profiles/javascript.yml +++ /dev/null @@ -1,24 +0,0 @@ -# This file is part of the Sylius package. -# (c) Paweł Jędrzejewski - -javascript: - extensions: - Lakion\Behat\MinkDebugExtension: - screenshot: true - Behat\MinkExtension: - base_url: http://localhost:8080/ - selenium2: - capabilities: - browserName: chrome - browser: chrome - version: "" - chrome: - switches: - - "start-fullscreen" - - "no-sandbox" - browser_name: chrome - show_auto: false - - gherkin: - filters: - tags: "@javascript && ~@contact" diff --git a/etc/behat/profiles/javascript_cached.yml b/etc/behat/profiles/javascript_cached.yml deleted file mode 100644 index 24d59bc25b..0000000000 --- a/etc/behat/profiles/javascript_cached.yml +++ /dev/null @@ -1,28 +0,0 @@ -# This file is part of the Sylius package. -# (c) Paweł Jędrzejewski - -javascript_cached: - extensions: - Lakion\Behat\MinkDebugExtension: - screenshot: true - Behat\MinkExtension: - base_url: http://localhost:8080/ - selenium2: - capabilities: - browserName: chrome - browser: chrome - version: "" - chrome: - switches: - - "start-fullscreen" - - "no-sandbox" - browser_name: chrome - show_auto: false - Behat\Symfony2Extension: - kernel: - env: test_cached - debug: false - - gherkin: - filters: - tags: "@javascript && ~@contact" diff --git a/features/contact/contact_request_management.feature b/features/contact/contact_request_management.feature index 5408324ee1..e138eb10e8 100644 --- a/features/contact/contact_request_management.feature +++ b/features/contact/contact_request_management.feature @@ -1,4 +1,4 @@ -@contact +@contact @ignore Feature: Contact requests management In order to improve customer support As a store owner diff --git a/features/contact/contact_requesting.feature b/features/contact/contact_requesting.feature index 792d3e57d1..e3031910c8 100644 --- a/features/contact/contact_requesting.feature +++ b/features/contact/contact_requesting.feature @@ -1,4 +1,4 @@ -@contact +@contact @ignore Feature: Contact requesting In order to get help from customer support As a visitor diff --git a/features/contact/contact_topic_management.feature b/features/contact/contact_topic_management.feature index 9270cd3acf..2b63638a91 100644 --- a/features/contact/contact_topic_management.feature +++ b/features/contact/contact_topic_management.feature @@ -1,4 +1,4 @@ -@contact +@contact @ignore Feature: Contact topics management In order to improve customer support As a store owner