Skip to content

Commit

Permalink
Test Drupal with HTTPS
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiu-cristea committed Dec 6, 2023
1 parent aad200f commit 3f21a05
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
17 changes: 17 additions & 0 deletions behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -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"
1 change: 1 addition & 0 deletions features/d8.feature
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 3f21a05

Please sign in to comment.