Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion plugins/Dashboard/tests/UI/Dashboard_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,13 @@ describe("Dashboard", function () {
await page.waitForNetworkIdle();
await page.evaluate(() => { // give table headers constant width so the screenshot stays the same
$('.dataTableScroller').css('overflow-x', 'scroll');
$('[widgetid="widgetRssWidgetrssChangelog"] .widgetContent').html(
'<div style="padding:10px 15px;"><ul class="rss"><li>' +
'<div class="rss-description">Changed to something static for tests</div>' +
'</li></ul></div>'
);
});
await page.waitForTimeout(500);
await page.waitForTimeout(100);
pageWrap = await page.$('.pageWrap');
expect(await pageWrap.screenshot()).to.matchImage('dashboard4');
});
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