Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/UI/specs/Comparison_spec.js')
-rw-r--r--tests/UI/specs/Comparison_spec.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/UI/specs/Comparison_spec.js b/tests/UI/specs/Comparison_spec.js
index 18236a03e5..220ed48a7a 100644
--- a/tests/UI/specs/Comparison_spec.js
+++ b/tests/UI/specs/Comparison_spec.js
@@ -145,7 +145,7 @@ describe("Comparison", function () {
});
it('should show the correct percentages and tooltip during comparison', async () => {
- const element = await page.jQuery('span.ratio:visible:eq(3)');
+ const element = await page.jQuery('span.ratio:visible:eq(1)');
await element.hover();
const tooltip = await page.waitFor('.ui-tooltip', { visible: true });
expect(await tooltip.screenshot()).to.matchImage('totals_tooltip');