Resize the window to click the center of body in test

This commit is contained in:
Yuya Ochiai
2018-05-24 01:22:16 +09:00
parent 11b5bc16c2
commit 0a673bc0cd

View File

@@ -370,6 +370,7 @@ describe('browser/settings.html', function desc() {
});
it('should disappear on click background', async () => {
await this.app.browserWindow.setSize(1024, 768); // Resize the window to click the center of <body>
await this.app.client.
click('body').
waitForVisible(modalTitleSelector, 10000, true);