Skip to content

Commit

Permalink
Update UI screenshots after core change (#162)
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 4406a8d commit 25b7533
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/UI/CustomAlerts_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@ describe("CustomAlerts", function () {
var generalParams = 'idSite=1&period=year&date=2012-08-09';

async function screenshotPageWrap() {
await page.evaluate(function () {
$('#secondNavBar').css('visibility', 'hidden'); // hide navbar so shadow isn't shown on screenshot
});
const pageWrap = await page.$('.pageWrap');
const screenshot = await pageWrap.screenshot();
await page.evaluate(function () {
$('#secondNavBar').css('visibility', 'visible'); // show navbar again
});
return screenshot;
}

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/UI/expected-ui-screenshots/CustomAlerts_edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/UI/expected-ui-screenshots/CustomAlerts_list.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified tests/UI/expected-ui-screenshots/CustomAlerts_list_triggered.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 25b7533

Please sign in to comment.