Skip to content

Commit

Permalink
Avoid menu shadow to be displayed in notifications UI test (#21464)
Browse files Browse the repository at this point in the history
  • Loading branch information
sgiehl authored Nov 6, 2023
1 parent fc5624d commit 35f012c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tests/UI/specs/UIIntegration_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ describe("UIIntegrationTest", function () { // TODO: Rename to Piwik?
it('should load the notifications page correctly', async function() {
await page.goto("?" + generalParams + "&module=ExampleUI&action=notifications&idSite=1&period=day&date=yesterday");
await page.evaluate(function () {
$('#header').hide();
$('#secondNavBar').css('visibility', 'hidden'); // hide navbar so shadow isn't shown
});

const pageWrap = await page.$('.pageWrap');
Expand Down

0 comments on commit 35f012c

Please sign in to comment.