Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
chore(typo): resolve typo in src/progress.ts (#4041)
Thomas Chaplin2df642525423
diff --git a/src/server/progress.ts b/src/server/progress.tsindex 12cb53cd31..1d0d177eee 100644--- a/src/server/progress.ts+++ b/src/server/progress.ts@@ -58,7 +58,7 @@ export class ProgressController {private _state: 'before' | 'running' | 'aborted' | 'finished' = 'before';private _deadline: number = 0;private _timeout: number = 0;- private _logRecordring: string[] = [];+ private _logRecording: string[] = [];private _listener?: (result: ProgressResult) => Promise<void>;constructor() {@@ -88,7 +88,7 @@ export class ProgressController {aborted: this._abortedPromise,log: message => {if (this._state === 'running')- this._logRecordring.push(message);+ this._logRecording.push(message);debugLogger.log(this._logName, message);},timeUntilDeadline: () => this._deadline ? this._deadline - monotonicTime() : 2147483647, // 2^31-1 safe setTimeout in Node.@@ -117,10 +117,10 @@ export class ProgressController {await this._listener({startTime,endTime: monotonicTime(),- logs: this._logRecordring,+ logs: this._logRecording,});}- this._logRecordring = [];+ this._logRecording = [];return result;} catch (e) {this._aborted();@@ -131,15 +131,15 @@ export class ProgressController {await this._listener({startTime,endTime: monotonicTime(),- logs: this._logRecordring,+ logs: this._logRecording,error: e,});}rewriteErrorMessage(e,e.message +- formatLogRecording(this._logRecordring) ++ formatLogRecording(this._logRecording) +kLoggingNote);- this._logRecordring = [];+ this._logRecording = [];throw e;}}