Skip to content

Commit

Permalink
Merge pull request #615 from openeuropa/EWPP-4041
Browse files Browse the repository at this point in the history
EWPP-4041: Test typed_link patch.
  • Loading branch information
nagyad authored Apr 17, 2024
2 parents 417f8f7 + e2a959b commit 59c42d6
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 15 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"drupal/field_group": "~3.2",
"drupal/inline_entity_form": "^1.0-rc15",
"drupal/token": "^1.10",
"drupal/typed_link": "2.0.1",
"drupal/typed_link": "^2.1",
"drush/drush": "^12.4",
"friends-of-behat/service-container-extension": "^1.0",
"mikey179/vfsstream": "^1.6",
Expand Down
1 change: 1 addition & 0 deletions tests/features/call_proposals.feature
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ Feature: Call for proposals content creation and editing.
And I fill in "Office" with "Call for proposals contact office" in the "Call for proposals contact" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "Call for proposals contact social link email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Contact image" in the "Call for proposals contact" region
And I fill in "Caption" with "Call for proposals contact caption" in the "Call for proposals contact" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "Call for proposals contact" region
Expand Down
30 changes: 16 additions & 14 deletions tests/features/event.feature
Original file line number Diff line number Diff line change
Expand Up @@ -181,20 +181,21 @@ Feature: Event content creation
| Facebook |
| Livestream |
And I should have the following options for the "Link type" select:
| Email |
| Facebook |
| Flickr |
| Google+ |
| Instagram |
| Linkedin |
| Pinterest |
| RSS |
| Storify |
| X |
| Yammer |
| YouTube |
| Telegram |
| Mastodon |
| - Select - |
| Email |
| Facebook |
| Flickr |
| Google+ |
| Instagram |
| Linkedin |
| Pinterest |
| RSS |
| Storify |
| X |
| Yammer |
| YouTube |
| Telegram |
| Mastodon |

@javascript @av_portal
@batch1
Expand Down Expand Up @@ -301,6 +302,7 @@ Feature: Event content creation
And I fill in "Office" with "Event contact office" in the "Event contact" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "Event contact social link email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Contact image" in the "Event contact" region
And I fill in "Caption" with "Event contact caption" in the "Event contact" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "Event contact" region
Expand Down
1 change: 1 addition & 0 deletions tests/features/news.feature
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Feature: News content creation
And I fill in "Office" with "News contact office" in the "News contact" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "News contact social link email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Contact image" in the "News contact" region
And I fill in "Caption" with "News contact caption" in the "News contact" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "News contact" region
Expand Down
2 changes: 2 additions & 0 deletions tests/features/organisation.feature
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Feature: Organisation content creation
And I fill in "Fax number" with "0488779035" in the "Organisation contact" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "Email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Contact image" in the "Organisation contact" region
And I fill in "Caption" with "Contact caption" in the "Organisation contact" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "Organisation contact" region
Expand All @@ -80,6 +81,7 @@ Feature: Organisation content creation
And I fill in "Use existing media" with "My Document 1" in the "Organisation chart" region
And I fill in "URL" with "http://example.com"
And I fill in "Link text" with "Staff search"
And I select "Email" from "Link type"
And I fill in "Persons" with "Jane Doe"
And I press "Save"
Then I should see "Organisation My organisation has been created."
Expand Down
1 change: 1 addition & 0 deletions tests/features/person.feature
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ Feature: Person content creation
And I fill in "Office" with "Person contact office" in the "Person contacts" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "Person contact social link email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Contact image" in the "Person contacts" region
And I fill in "Caption" with "Person contact caption" in the "Person contacts" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "Person contacts" region
Expand Down
1 change: 1 addition & 0 deletions tests/features/project.feature
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ Feature: Project content creation
And I fill in "Office" with "Project contact office" in the "Project contact" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "Project contact social link email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Contact image" in the "Project contact" region
And I fill in "Caption" with "Project contact caption" in the "Project contact" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "Project contact" region
Expand Down
1 change: 1 addition & 0 deletions tests/features/publication.feature
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Feature: Publication content creation
And I fill in "Office" with "Publication contact office" in the "Publication contact" region
And I fill in "URL" with "mailto:[email protected]" in the "Contact social media links" region
And I fill in "Link text" with "Publication contact social link email" in the "Contact social media links" region
And I select "Email" from "Link type" in the "Contact social media links" region
And I fill in "Media item" with "Sample image" in the "Publication contact" region
And I fill in "Caption" with "Publication contact caption" in the "Publication contact" region
And I fill in "Press contacts" with "http://example.com/press_contacts" in the "Publication contact" region
Expand Down

0 comments on commit 59c42d6

Please sign in to comment.