Skip to content

Commit

Permalink
fix variant browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
apriltuesday committed Dec 19, 2024
1 parent 2d6cea5 commit d40a85b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion tests/acceptance/variant_browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -746,7 +746,7 @@ function safeClick(driver, element) {
})
},
config.wait()
).then(function () {driver.executeScript("arguments[0].click();", element)})
).then(function () { element.click(); })
}

function clickSubmit(driver) {
Expand Down
1 change: 0 additions & 1 deletion tests/acceptance/variant_browser_bottom_panel_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ module.exports = {
populationTab:function(driver){
var populationTabXPath = "//div[contains(@id,'VariantPopulationPanel')]//div//span[text()]";
var elementToFind = driver.findElement(By.xpath(populationTabXPath));
driver.executeScript("arguments[0].scrollIntoView(true);", elementToFind);
elementToFind.then(function(webElement) {
driver.wait(until.elementLocated(By.xpath(populationTabXPath)), config.wait()).then(function(text) {
driver.findElements(By.xpath("//div[contains(@id,'VariantPopulationPanel')]//div[contains(@class,'x-accordion-item')]")).then(function(rows){
Expand Down

0 comments on commit d40a85b

Please sign in to comment.