This commit is contained in:
Nathan Bierema 2021-08-30 21:23:01 -04:00
parent 552654a93e
commit 7b080a5b39
2 changed files with 1 additions and 3 deletions

View File

@ -46,6 +46,7 @@ describe('Chrome extension', function () {
await driver await driver
.findElement(webdriver.By.xpath('//button[text()="Inspector"]')) .findElement(webdriver.By.xpath('//button[text()="Inspector"]'))
.click(); .click();
await delay(1000);
const val = await driver const val = await driver
.findElement(webdriver.By.xpath('//div[contains(@class, "inspector-")]')) .findElement(webdriver.By.xpath('//div[contains(@class, "inspector-")]'))
.getText(); .getText();

View File

@ -91,9 +91,6 @@ describe('DevTools panel for Electron', function () {
}); });
it('should contain INIT action', async () => { it('should contain INIT action', async () => {
await driver
.findElement(webdriver.By.xpath('//button[text()="Inspector"]'))
.click();
const element = await driver.wait( const element = await driver.wait(
webdriver.until.elementLocated( webdriver.until.elementLocated(
webdriver.By.xpath('//div[contains(@class, "actionListRows-")]') webdriver.By.xpath('//div[contains(@class, "actionListRows-")]')