Skip to content

Commit 0aa899d

Browse files
committed
Update remotedev-app and fix tests
1 parent 70c28cd commit 0aa899d

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"redux": "^3.5.2",
8080
"redux-devtools": "^3.3.1",
8181
"redux-devtools-instrument": "^1.3.3",
82-
"remotedev-app": "^0.9.0",
82+
"remotedev-app": "^0.10.0-beta",
8383
"remotedev-slider": "^1.1.1",
8484
"remotedev-utils": "0.0.1"
8585
}

test/chrome/extension.spec.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@ describe('Chrome extension', function() {
5757
it('should get actions list', async () => {
5858
this.driver.executeScript('window.open(\'http://zalmoxisus.github.io/examples/router/\')');
5959

60-
await this.driver.wait(() => (
61-
this.driver.findElement(webdriver.By.xpath('//div[contains(@class, "actionListRows-")]'))
62-
.getText().then((val) => {
63-
return actionsPattern.test(val);
64-
})
65-
), 15000, 'it doesn\'t match actions pattern');
60+
await this.driver.wait(this.driver
61+
.findElement(webdriver.By.xpath('//div[contains(@class, "actionListRows-")]'))
62+
.getText().then((val) => {
63+
return actionsPattern.test(val);
64+
}), 15000, 'it doesn\'t match actions pattern');
6665
});
6766
});

test/utils/e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const switchMonitorTests = {
2323

2424
'should switch back to Inspector Monitor': async function() {
2525
await this.driver.findElement(webdriver.By.xpath('//div[text()="Chart"]')).click();
26-
await delay(500); // Wait till menu is fully opened
26+
await delay(1000); // Wait till menu is fully opened
2727
await this.driver.findElement(webdriver.By.xpath('//div[text()="Inspector"]')).click();
2828
await delay(1500); // Wait till menu is closed
2929
}

0 commit comments

Comments
 (0)