Skip to content

Commit

Permalink
fix ui test
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl committed Jul 29, 2020
1 parent d2c1e25 commit 9007a0f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/UI/CustomJs_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ describe("CustomJs", function () {
await page.click('button[type=submit]');
await page.waitForNetworkIdle();
await page.waitFor(250);
await page.evaluate(function() {
$('textarea').css('resize', 'none');
});

pageWrap = await page.$('.pageWrap');
expect(await pageWrap.screenshot()).to.matchImage('manage');
Expand Down
Binary file modified tests/UI/expected-screenshots/CustomJs_manage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9007a0f

Please sign in to comment.