Then the page should load the tracking script

Assert that the page on screen (a landing page, a public form) loads the site's tracking script (/mtc.js), which counts the visit and recognises the visitor, or does not.

Examples

Then the page should load the tracking script
Then the page should not load the tracking script
And the page should load the tracking script
Then the page should load the tracking script
But the page should not load the tracking script

Pattern

Then(/^the page should( not)? load the tracking script$/, …)

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