diff options
Diffstat (limited to 'tests/UI/specs/Comparison_spec.js')
-rw-r--r-- | tests/UI/specs/Comparison_spec.js | 2 |
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'); |