smoke: slow windows

This commit is contained in:
Joao Moreno 2017-09-26 08:01:39 +02:00
parent a5210bcbda
commit 055d9274d2

View file

@ -12,7 +12,8 @@ import { SpectronApplication } from './application';
*/
export class SpectronClient {
private readonly retryCount = 50;
// windows is kinda slow
private readonly retryCount = process.platform === 'win32' ? 100 : 50;
private readonly retryDuration = 100; // in milliseconds
constructor(public spectron: Application, private application: SpectronApplication) {