diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 54f4aa06..7575dd68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,3 +41,5 @@ jobs: run: docker-compose exec -T php vendor/bin/behat -fprogress --strict - name: behat --profile=drupal run: docker-compose exec -T php cat && docker-compose exec -T php vendor/bin/behat -fprogress --profile=drupal --strict + - name: behat --profile=drupal_https + run: docker-compose exec -T php cat && docker-compose exec -T php vendor/bin/behat -fprogress --profile=drupal_https --strict diff --git a/behat.yml.dist b/behat.yml.dist index 5ea3c2e6..94ecae88 100644 --- a/behat.yml.dist +++ b/behat.yml.dist @@ -55,3 +55,20 @@ drupal: main content: "#main" selectors: error_message_selector: '.messages--error' + +drupal_https: + suites: + default: + contexts: + - FeatureContext + - Drupal\DrupalExtension\Context\DrupalContext + - Drupal\DrupalExtension\Context\MinkContext + filters: + tags: "@https" + extensions: + Drupal\MinkExtension: + base_url: https://proxy + Drupal\DrupalExtension: + api_driver: "drupal" + drupal: + drupal_root: "/var/www/html/drupal" diff --git a/features/d8.feature b/features/d8.feature index f5879453..946a0dfa 100644 --- a/features/d8.feature +++ b/features/d8.feature @@ -4,6 +4,7 @@ Feature: DrupalContext As a developer I need to use the step definitions of this context + @https Scenario: Target links within table rows Given I am logged in as a user with the "administrator" role When I am at "admin/structure/types"