Skip to content

Commit

Permalink
Capture the whole error page scren #8182
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Jun 25, 2015
1 parent a2234cf commit 66511ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/UI/specs/UIIntegration_spec.js
Expand Up @@ -335,7 +335,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?

// Do not allow API response to be displayed
it('should not allow to widgetize an API call', function (done) {
expect.screenshot('widgetize_apidisallowed').to.be.captureSelector('#content', function (page) {
expect.screenshot('widgetize_apidisallowed').to.be.capture(function (page) {
page.load("?" + widgetizeParams + "&" + generalParams + "&moduleToWidgetize=API&actionToWidgetize=index&method=SitesManager.getImageTrackingCode&piwikUrl=test");
}, done);
});
Expand Down

0 comments on commit 66511ac

Please sign in to comment.