just wait half a second

This commit is contained in:
Nathan Bierema 2021-08-30 21:24:53 -04:00
parent 7b080a5b39
commit 16096d736b

View File

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