From 62d6a393d4cfbbbc1dbfdcf8f4e17f104e2f6756 Mon Sep 17 00:00:00 2001 From: srosse <stephane.rosse@frentix.com> Date: Tue, 18 Jun 2019 08:58:12 +0200 Subject: [PATCH] no-jira: move to the slider before sliding it (selenium) --- src/test/java/org/olat/selenium/page/qti/QTI21Page.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/org/olat/selenium/page/qti/QTI21Page.java b/src/test/java/org/olat/selenium/page/qti/QTI21Page.java index 6c7df797016..298f9069cc1 100644 --- a/src/test/java/org/olat/selenium/page/qti/QTI21Page.java +++ b/src/test/java/org/olat/selenium/page/qti/QTI21Page.java @@ -546,9 +546,7 @@ public class QTI21Page { public QTI21Page moveToVerticalSlider() { By interactionBy = By.id("itemBody"); OOGraphene.waitElement(interactionBy, browser); - if(browser instanceof FirefoxDriver) { - OOGraphene.scrollTo(interactionBy, browser); - } + OOGraphene.scrollTo(interactionBy, browser); return this; } -- GitLab