diff --git a/tests/UI/specs/Installation_spec.js b/tests/UI/specs/Installation_spec.js index 6aca4b0b78c25205e53c2b1e0e51d016824f3089..0fae3a9e894e4dca52068fc5dd16abf6e059865a 100644 --- a/tests/UI/specs/Installation_spec.js +++ b/tests/UI/specs/Installation_spec.js @@ -86,8 +86,19 @@ describe("Installation", function () { }, done); }); + var pageUrl, pageUrlDe; + + it("should fail when incorrect information is entered in the superuser configuration page", function (done) { + expect.screenshot("superuser_de").to.be.capture(function (page) { + pageUrl = page.getCurrentUrl(); + pageUrlDe = pageUrl + '&language=de' + page.load(pageUrlDe); + }, done); + }); + it("should fail when incorrect information is entered in the superuser configuration page", function (done) { expect.screenshot("superuser_fail").to.be.capture(function (page) { + page.load(pageUrl); page.click('.btn'); }, done); });