I am learning Behat with Drupal 8 and I'm stuck on trying to test a paragraph bundle (field_related_content
) which has a title and description field, the title is an entity reference field to content type marine_notices
. Currently I have the below, but the results are 'No link to Post Title', am I missing something?
@api
Scenario: Reference site pages from within a "marine_notices" node
Given "marine_notices" content:
| title |
| Post title |
When I am viewing a "marine_notices" content:
| title | Post title |
| field_related_content | Post title - <front> |
Then I should see the link "Post title"