Select Inspector

This commit is contained in:
Nathan Bierema 2021-08-30 20:25:01 -04:00
parent e8288f5cfb
commit 552654a93e
2 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,9 @@ describe('Chrome extension', function () {
});
it("should contain inspector monitor's component", async () => {
await driver
.findElement(webdriver.By.xpath('//button[text()="Inspector"]'))
.click();
const val = await driver
.findElement(webdriver.By.xpath('//div[contains(@class, "inspector-")]'))
.getText();

View File

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