Resize the window to click the center of body in test
This commit is contained in:
@@ -370,6 +370,7 @@ describe('browser/settings.html', function desc() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it('should disappear on click background', async () => {
|
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.
|
await this.app.client.
|
||||||
click('body').
|
click('body').
|
||||||
waitForVisible(modalTitleSelector, 10000, true);
|
waitForVisible(modalTitleSelector, 10000, true);
|
||||||
|
Reference in New Issue
Block a user