Add SPA session validation and buglist, update migration docs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-12-03 21:28:08 +00:00
parent 9be3dfc14e
commit cff287e870
24169 changed files with 10223 additions and 7120 deletions

10
node_modules/playwright/lib/runner/failureTracker.js generated vendored Normal file → Executable file
View File

@@ -22,13 +22,13 @@ __export(failureTracker_exports, {
});
module.exports = __toCommonJS(failureTracker_exports);
class FailureTracker {
constructor(_config, options) {
this._config = _config;
constructor(config, options) {
this._failureCount = 0;
this._hasWorkerErrors = false;
this._topLevelProjects = [];
this._pauseOnError = options?.pauseOnError ?? false;
this._pauseAtEnd = options?.pauseAtEnd ?? false;
this._config = config;
this._pauseOnError = !!options?.pauseOnError;
this._pauseAtEnd = !!options?.pauseAtEnd;
}
onRootSuite(rootSuite, topLevelProjects) {
this._rootSuite = rootSuite;
@@ -45,7 +45,7 @@ class FailureTracker {
return this._pauseOnError;
}
pauseAtEnd(inProject) {
return this._pauseAtEnd && this._topLevelProjects.includes(inProject);
return this._topLevelProjects.includes(inProject) && this._pauseAtEnd;
}
hasReachedMaxFailures() {
return this.maxFailures() > 0 && this._failureCount >= this.maxFailures();