Skip to content
Snippets Groups Projects
Commit 94103761 authored by srosse's avatar srosse
Browse files

no-jira: enhance more selenium tests for Firefox

parent d6d9620c
No related branches found
No related tags found
No related merge requests found
......@@ -20,7 +20,6 @@
package org.olat.selenium.page.qpool;
import org.olat.ims.qti21.model.QTI21QuestionType;
import org.olat.selenium.page.NavigationPage;
import org.olat.selenium.page.graphene.OOGraphene;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
......@@ -127,6 +126,7 @@ public class QuestionPoolPage {
By assessmentItemBy = By.cssSelector("ul.o_sel_assessment_item_config");
OOGraphene.waitElement(assessmentItemBy, browser);
OOGraphene.scrollTop(browser);
return this;
}
......@@ -174,7 +174,7 @@ public class QuestionPoolPage {
}
public QuestionPoolPage clickToolbarBack() {
browser.findElement(NavigationPage.toolbarBackBy).click();
OOGraphene.clickBreadcrumbBack(browser);
OOGraphene.waitBusy(browser);
By tableBy = By.cssSelector("div.o_table_flexi.o_rendertype_classic");
......
......@@ -45,7 +45,7 @@ public class RepositoryAccessPage {
browser.findElement(allUsersBy).click();
OOGraphene.waitBusy(browser);
By guestsBy = By.xpath("//div[contains(@class,'o_sel_repositoryentry_access_guest')]//label[input[@name='entry.access.guest' and @value='on']]");
By guestsBy = By.xpath("//div[contains(@class,'o_sel_repositoryentry_access_guest')]//label/input[@name='entry.access.guest' and @value='on']");
OOGraphene.waitElement(guestsBy, browser);
if(access == UserAccess.guest) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment