This should include internal page links and external links. The test will create a new page to be the target of the internal link.

CommentFileSizeAuthor
#1 panopoly-linkit-test-2287253-1.patch4.91 KBcboyden

Comments

cboyden’s picture

StatusFileSize
new4.91 KB

The attached patch adds tests for Linkit internal and external links. It uses the Drupal API to create a target node for the link. To accomplish that, it sets the API driver to 'drupal' in both behat.travis.yml and behat.template.yml. Local users will need to set the correct path to Drupal root in their behat.yml in order to run API tests.

The test passes on Travis.

cboyden’s picture

Status: Active » Needs review
dsnopek’s picture

Status: Needs review » Fixed

Thanks, @cboyden! Code looks great, test passed for me. Committed! :-)

  • Commit 8ca8cab on 7.x-1.x authored by cboyden, committed by dsnopek:
    Issue #2287253 by cboyden: Add a Behat test for Linkit.
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.