Skip to content

Commit

Permalink
Update UI screenshots after core change (#85)
Browse files Browse the repository at this point in the history
* Update UI screenshots after core change

* remove no longer needed hack to hide shaddow
  • Loading branch information
sgiehl authored Jan 19, 2024
1 parent 6a47456 commit 407ccc0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/UI/CustomVariables_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,10 @@ describe("CustomVariables", function () {
await page.waitForNetworkIdle();

pageWrap = await page.$('.pageWrap');
await page.evaluate(function () {
$('#secondNavBar').css('visibility', 'hidden'); // hide navbar so shadow isn't shown on screenshot
});
expect(await pageWrap.screenshot()).to.matchImage('manage');
});

it('should be visible in the menu', async function() {
await page.evaluate(function () {
$('#secondNavBar').css('visibility', 'visible'); // show navbar again
});
expect(await page.screenshotSelector('li:contains(Diagnostic)')).to.matchImage('link_in_menu');
});
});
Binary file modified tests/UI/expected-ui-screenshots/CustomVariables_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 407ccc0

Please sign in to comment.