Skip to content

Commit

Permalink
CI: Update extension button selector (#3003)
Browse files Browse the repository at this point in the history
  • Loading branch information
zoe-translates authored Apr 3, 2023
1 parent 2371723 commit b3dc7f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/pull-request-check/selenium-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,10 @@ var allPassed = false;

// No API to retrieve extension ID. Hacks, sigh.
await driver.get("chrome://system/");
await driver.wait(until.elementLocated({id: 'extensions-value-btn'}), 60*1000);
await driver.wait(until.elementLocated({id: 'btn-extensions-value'}), 60*1000);
// Chrome 89+ has the extension list expanded by default
try {
let extBtn = await driver.findElement({css: '#extensions-value-btn'});
let extBtn = await driver.findElement({css: '#btn-extensions-value'});
await extBtn.click();
} catch (e) {}
let contentElem = await driver.findElement({css: '#content'});
Expand Down

0 comments on commit b3dc7f9

Please sign in to comment.