diff --git a/tests/behat/behat.screenshot.yml b/tests/behat/behat.screenshot.yml deleted file mode 100644 index c84ea04c8..000000000 --- a/tests/behat/behat.screenshot.yml +++ /dev/null @@ -1,8 +0,0 @@ -default: - extensions: - Bex\Behat\ScreenshotExtension: - screenshot_taking_mode: failed_steps - image_drivers: - local: - screenshot_directory: '../tests/screenshots' - clear_screenshot_directory: true diff --git a/tests/behat/behat.travis.yml b/tests/behat/behat.travis.yml deleted file mode 100644 index 1545e0e81..000000000 --- a/tests/behat/behat.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -default: - autoload: - '': %paths.base%/bootstrap - suites: - default: - contexts: - - '\Drupal\DrupalExtension\Context\DrupalContext' - - '\Drupal\DrupalExtension\Context\MinkContext' - - '\Drupal\DrupalExtension\Context\MessageContext' - - '\Drupal\DrupalExtension\Context\DrushContext' - paths: - features: %paths.base%/features - extensions: - Behat\MinkExtension: - base_url: 'http://127.0.0.1:8080' - goutte: ~ - selenium2: - wd_host: 'http://localhost:4444/wd/hub' - browser: chrome - javascript_session: selenium2 - browser_name: chrome - Drupal\DrupalExtension: - blackbox: ~ - api_driver: 'drupal' - drush: - alias: 'local' - root: 'docroot' - drupal: - drupal_root: 'docroot' diff --git a/tests/behat/behat.yml b/tests/behat/behat.yml deleted file mode 100644 index 4b849ab81..000000000 --- a/tests/behat/behat.yml +++ /dev/null @@ -1,57 +0,0 @@ -default: - autoload: [ %paths.base%/bootstrap ] - gherkin: - filters: - # Allow skipping tests by tagging them with "@skipped" - tags: "~@skipped" - suites: - default: - paths: [ %paths.base%/features ] - contexts: - - FeatureContext - - Drupal\DrupalExtension\Context\DrupalContext - - Drupal\DrupalExtension\Context\MinkContext - - Drupal\DrupalExtension\Context\MarkupContext - - Drupal\DrupalExtension\Context\MessageContext - - IntegratedExperts\BehatScreenshotExtension\Context\ScreenshotContext - - extensions: - Behat\MinkExtension: - goutte: ~ - base_url: http://nginx:8080 - files_path: %paths.base%/fixtures - browser_name: chrome - selenium2: - wd_host: "http://chrome:4444/wd/hub" - capabilities: { "browser": "chrome", "version": "*", "marionette": true, "extra_capabilities": { "chromeOptions": { "w3c": false } } } - javascript_session: selenium2 - # Provides integration with Drupal APIs. - Drupal\DrupalExtension: - blackbox: ~ - api_driver: drupal - drush_driver: drush - drupal: - drupal_root: web - drush: - root: web - selectors: - message_selector: '.messages' - error_message_selector: '.messages.error' - success_message_selector: '.messages.status' - warning_message_selector: '.messages.warning' - # Allows to capture HTML and JPG screenshots (based on the driver used). - IntegratedExperts\BehatScreenshotExtension: - dir: %paths.base%/screenshots - fail: true - purge: false - # Show explicit fail information and continue the test run. - IntegratedExperts\BehatFormatProgressFail\FormatExtension: ~ - -p0: - gherkin: - filters: - tags: "@p0&&~@skipped" -p1: - gherkin: - filters: - tags: "@p1&&~@skipped" diff --git a/tests/behat/bootstrap/.gitkeep b/tests/behat/bootstrap/.gitkeep deleted file mode 100644 index e69de29bb..000000000 diff --git a/tests/behat/bootstrap/FeatureContext.php b/tests/behat/bootstrap/FeatureContext.php deleted file mode 100644 index 684dd92f8..000000000 --- a/tests/behat/bootstrap/FeatureContext.php +++ /dev/null @@ -1,24 +0,0 @@ - - [And|*] there is agent - [When|*] I erase agent 's memory - [Then|*] there should be agent - [But|*] there should not be agent - - [Scenarios|Examples]: - | agent1 | agent2 | - | D | M | diff --git a/tests/behat/features/ui/home.feature b/tests/behat/features/ui/home.feature deleted file mode 100644 index 93afede36..000000000 --- a/tests/behat/features/ui/home.feature +++ /dev/null @@ -1,13 +0,0 @@ -Feature: Home Page - Ensure the home page is rendering correctly - - Background: - Given I am an anonymous user - When I visit "/" - - @api @javascript - Scenario: View the homepage content - And I should see "Welcome to GovCMS" - - Scenario: Check the homepage meta tag. - Then the response should contain "" diff --git a/tests/behat/features/user/user.feature b/tests/behat/features/user/user.feature deleted file mode 100644 index 106df05ca..000000000 --- a/tests/behat/features/user/user.feature +++ /dev/null @@ -1,11 +0,0 @@ -Feature: User - govCMS site user testing - - @api @javascript - Scenario: Create user - Given users: - | name | mail | - | Tim Junior | tim.junior@example.com | - And I am logged in as a user with the "Administer users" permission - When I visit "admin/people" - Then I should see the text "Tim Junior" diff --git a/tests/behat/files/autotest.jpg b/tests/behat/files/autotest.jpg deleted file mode 100644 index 3069afe9e..000000000 Binary files a/tests/behat/files/autotest.jpg and /dev/null differ diff --git a/tests/behat/files/autotest.pdf b/tests/behat/files/autotest.pdf deleted file mode 100644 index e1acc6bfb..000000000 Binary files a/tests/behat/files/autotest.pdf and /dev/null differ diff --git a/tests/behat/files/autotest.rtf b/tests/behat/files/autotest.rtf deleted file mode 100644 index d6551f394..000000000 --- a/tests/behat/files/autotest.rtf +++ /dev/null @@ -1,7 +0,0 @@ -{\rtf1\ansi\ansicpg1252\cocoartf1404\cocoasubrtf470 -{\fonttbl\f0\fswiss\fcharset0 Helvetica;} -{\colortbl;\red255\green255\blue255;} -\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 -\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 - -\f0\fs24 \cf0 govCMS Automated Testing!} \ No newline at end of file