aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAjay <[email protected]>2022-09-05 00:32:04 -0400
committerAjay <[email protected]>2022-09-05 00:32:04 -0400
commitc06b7857f8ba4da4862533416b0ffb157f06044a (patch)
tree15cb774535f332227f65942108607e64925405f5
parente798cfdfe3c7caf836e030678c70caaedae9297e (diff)
downloadSponsorBlock-5.0.1.tar.gz
SponsorBlock-5.0.1.zip
Move to controls to make info button visible in selenium test5.0.1
-rw-r--r--test/selenium.test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/selenium.test.ts b/test/selenium.test.ts
index 600408a9..6a0db09a 100644
--- a/test/selenium.test.ts
+++ b/test/selenium.test.ts
@@ -202,6 +202,8 @@ async function muteSkipSegment(driver: WebDriver, startTime: number, endTime: nu
async function toggleWhitelist(driver: WebDriver): Promise<void> {
const popupButton = await driver.findElement(By.id("infoButton"));
+ const rightControls = await driver.findElement(By.css(".ytp-right-controls"));
+ await driver.actions().move({ origin: rightControls }).perform();
if ((await popupButton.getCssValue("display")) !== "none") {
await driver.actions().move({ origin: popupButton }).perform();
await popupButton.click();