diff options
author | sgiehl <stefan@matomo.org> | 2022-03-03 16:31:48 +0300 |
---|---|---|
committer | sgiehl <stefan@matomo.org> | 2022-03-03 16:31:48 +0300 |
commit | ad24eda71cc6326dd2feadfa8dbb00811013d127 (patch) | |
tree | 651f581342e74f91a5b6272a2e536470d1617cec | |
parent | 01e4a90e1908b9a6b5a3581be717855f71d8c95c (diff) |
add / update UI testsgoalcompare
-rw-r--r-- | tests/UI/specs/Comparison_spec.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/UI/specs/Comparison_spec.js b/tests/UI/specs/Comparison_spec.js index ef2989f3f7..39bd8e0e58 100644 --- a/tests/UI/specs/Comparison_spec.js +++ b/tests/UI/specs/Comparison_spec.js @@ -241,12 +241,18 @@ describe("Comparison", function () { expect(await dialog.screenshot()).to.matchImage('segmented_visitorlog'); }); - it('should show the goals table correctly when comparing segments and period', async () => { + it('should show the goals overview table correctly when comparing segments and period', async () => { await page.goto(goalsTableUrl); await page.waitForNetworkIdle(); expect(await page.screenshot({ fullPage: true })).to.matchImage('goals_table'); }); + it('should show a specific goals table correctly when comparing segments and period', async () => { + await page.goto(goalsTableUrl + '&idGoal=1'); + await page.waitForNetworkIdle(); + expect(await page.screenshot({ fullPage: true })).to.matchImage('goals_table_specific'); + }); + it('should load a widgetized sparklines visualization correctly', async () => { await page.goto(visitOverviewWidget); await page.waitForNetworkIdle(); |