Then the page should link to the external site "https://example.org"

Assert that the page links to an address outside the wiki (an external link).

Examples

Then the page should link to the external site "https://example.org"
Then the page should not link to the external site "https://example.com"
And the page should link to the external site "https://example.org/"
Then the page should link to the external site "https://example.org/docs"
And the page should not link to the external site "https://example.net"

Pattern

Then(/^the page should( not)* link to the external site "([^"]*)"$/, …)

Part of @webship-js/mediawiki-steps (github.com/webship/mediawiki-steps), a step pack for Webship-js 2.0.x.