Skip to content

Commit

Permalink
Fixing the wrong screenshot from the previous commit + fixing UI test
Browse files Browse the repository at this point in the history
  • Loading branch information
mnapoli committed May 10, 2015
1 parent e28888b commit f46da76
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/UI/expected-ui-screenshots
10 changes: 10 additions & 0 deletions tests/UI/specs/Morpheus_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ describe("Morpheus", function () {

var url = "?module=Morpheus&action=demo";

before(function () {
// Enable development mode
testEnvironment.configOverride = {
Development: {
enabled: true
}
};
testEnvironment.save();
});

it("should show all UI components and CSS classes", function (done) {
expect.screenshot('load').to.be.capture(function (page) {
page.load(url);
Expand Down

0 comments on commit f46da76

Please sign in to comment.