mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-21 21:49:55 +03:00
Select Inspector
This commit is contained in:
parent
e8288f5cfb
commit
552654a93e
|
@ -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();
|
||||
|
|
|
@ -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-")]')
|
||||
|
|
Loading…
Reference in New Issue
Block a user