提交 e4e4374e 编写于 作者: S Sandeep Somavarapu

Use number for screenshot names

上级 0e87cb0a
......@@ -146,7 +146,7 @@ export class SpectronClient {
while (true) {
if (trial > this.retryCount) {
await this.application.screenshot.capture(timeoutMessage || ('' + this.captureIndex++));
await this.application.screenshot.capture('' + this.captureIndex++);
throw new Error(`${timeoutMessage}: Timed out after ${this.retryCount * this.retryDuration} seconds.`);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册