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
fix(testrunner): sourcemapify stack traces for test errors (#1409)
Andrey Lushnikova9ab9b0dc08f
diff --git a/utils/testrunner/TestRunner.js b/utils/testrunner/TestRunner.jsindex ee25255e6c..8730a623b0 100644--- a/utils/testrunner/TestRunner.js+++ b/utils/testrunner/TestRunner.js@@ -253,6 +253,8 @@ class TestWorker {await this._testPass._willStartTestBody(this, test);this._runningTestCallback = test._userCallback;test.error = await test._userCallback.run(this._state, test);+ if (test.error && test.error.stack)+ await this._testPass._runner._sourceMapSupport.rewriteStackTraceWithSourceMaps(test.error);this._runningTestCallback = null;if (!test.error)test.result = TestResult.Ok;