Enhance refactor commands with controller-aware Route() updates and fix code quality violations
Add semantic token highlighting for 'that' variable and comment file references in VS Code extension Add Phone_Text_Input and Currency_Input components with formatting utilities Implement client widgets, form standardization, and soft delete functionality Add modal scroll lock and update documentation Implement comprehensive modal system with form integration and validation Fix modal component instantiation using jQuery plugin API Implement modal system with responsive sizing, queuing, and validation support Implement form submission with validation, error handling, and loading states Implement country/state selectors with dynamic data loading and Bootstrap styling Revert Rsx::Route() highlighting in Blade/PHP files Target specific PHP scopes for Rsx::Route() highlighting in Blade Expand injection selector for Rsx::Route() highlighting Add custom syntax highlighting for Rsx::Route() and Rsx.Route() calls Update jqhtml packages to v2.2.165 Add bundle path validation for common mistakes (development mode only) Create Ajax_Select_Input widget and Rsx_Reference_Data controller Create Country_Select_Input widget with default country support Initialize Tom Select on Select_Input widgets Add Tom Select bundle for enhanced select dropdowns Implement ISO 3166 geographic data system for country/region selection Implement widget-based form system with disabled state support 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
44
node_modules/playwright/lib/runner/testRunner.js
generated
vendored
Executable file → Normal file
44
node_modules/playwright/lib/runner/testRunner.js
generated
vendored
Executable file → Normal file
@@ -51,8 +51,7 @@ var import_reporters = require("./reporters");
|
||||
var import_tasks = require("./tasks");
|
||||
var import_lastRun = require("./lastRun");
|
||||
const TestRunnerEvent = {
|
||||
TestFilesChanged: "testFilesChanged",
|
||||
RecoverFromStepError: "recoverFromStepError"
|
||||
TestFilesChanged: "testFilesChanged"
|
||||
};
|
||||
class TestRunner extends import_events.default {
|
||||
constructor(configLocation, configCLIOverrides) {
|
||||
@@ -63,8 +62,6 @@ class TestRunner extends import_events.default {
|
||||
this._queue = Promise.resolve();
|
||||
this._watchTestDirs = false;
|
||||
this._populateDependenciesOnList = false;
|
||||
this._recoverFromStepErrors = false;
|
||||
this._resumeAfterStepErrors = /* @__PURE__ */ new Map();
|
||||
this.configLocation = configLocation;
|
||||
this._configCLIOverrides = configCLIOverrides;
|
||||
this._watcher = new import_fsWatcher.Watcher((events) => {
|
||||
@@ -74,9 +71,9 @@ class TestRunner extends import_events.default {
|
||||
});
|
||||
}
|
||||
async initialize(params) {
|
||||
(0, import_utils.setPlaywrightTestProcessEnv)();
|
||||
this._watchTestDirs = !!params.watchTestDirs;
|
||||
this._populateDependenciesOnList = !!params.populateDependenciesOnList;
|
||||
this._recoverFromStepErrors = !!params.recoverFromStepErrors;
|
||||
}
|
||||
resizeTerminal(params) {
|
||||
process.stdout.columns = params.cols;
|
||||
@@ -98,6 +95,12 @@ class TestRunner extends import_events.default {
|
||||
const executables = import_server.registry.defaultExecutables();
|
||||
await import_server.registry.install(executables, false);
|
||||
}
|
||||
async loadConfig() {
|
||||
const { config, error } = await this._loadConfig(this._configCLIOverrides);
|
||||
if (config)
|
||||
return config;
|
||||
throw new Error("Failed to load config: " + (error ? error.message : "Unknown error"));
|
||||
}
|
||||
async runGlobalSetup(userReporters) {
|
||||
await this.runGlobalTeardown();
|
||||
const reporter = new import_internalReporter.InternalReporter(userReporters);
|
||||
@@ -232,6 +235,7 @@ class TestRunner extends import_events.default {
|
||||
...this._configCLIOverrides,
|
||||
repeatEach: 1,
|
||||
retries: 0,
|
||||
timeout: params.timeout,
|
||||
preserveOutputDir: true,
|
||||
reporter: params.reporters ? params.reporters.map((r) => [r]) : void 0,
|
||||
use: {
|
||||
@@ -265,16 +269,15 @@ class TestRunner extends import_events.default {
|
||||
const testIdSet = new Set(params.testIds);
|
||||
config.preOnlyTestFilters.push((test) => testIdSet.has(test.id));
|
||||
}
|
||||
const configReporters = await (0, import_reporters.createReporters)(config, "test", true);
|
||||
const configReporters = params.disableConfigReporters ? [] : await (0, import_reporters.createReporters)(config, "test", true);
|
||||
const reporter = new import_internalReporter.InternalReporter([...configReporters, userReporter]);
|
||||
const stop = new import_utils.ManualPromise();
|
||||
const tasks = [
|
||||
(0, import_tasks.createApplyRebaselinesTask)(),
|
||||
(0, import_tasks.createLoadTask)("out-of-process", { filterOnly: true, failOnLoadErrors: false, doNotRunDepsOutsideProjectFilter: true }),
|
||||
(0, import_tasks.createLoadTask)("out-of-process", { filterOnly: true, failOnLoadErrors: !!params.failOnLoadErrors, doNotRunDepsOutsideProjectFilter: params.doNotRunDepsOutsideProjectFilter }),
|
||||
...(0, import_tasks.createRunTestsTasks)(config)
|
||||
];
|
||||
const testRun = new import_tasks.TestRun(config, reporter);
|
||||
testRun.failureTracker.setRecoverFromStepErrorHandler(this._recoverFromStepError.bind(this));
|
||||
const testRun = new import_tasks.TestRun(config, reporter, { pauseOnError: params.pauseOnError, pauseAtEnd: params.pauseAtEnd });
|
||||
const run = (0, import_tasks.runTasks)(testRun, tasks, 0, stop).then(async (status) => {
|
||||
this._testRun = void 0;
|
||||
return status;
|
||||
@@ -282,24 +285,6 @@ class TestRunner extends import_events.default {
|
||||
this._testRun = { run, stop };
|
||||
return { status: await run };
|
||||
}
|
||||
async _recoverFromStepError(stepId, error) {
|
||||
if (!this._recoverFromStepErrors)
|
||||
return { stepId, status: "failed" };
|
||||
const recoveryPromise = new import_utils.ManualPromise();
|
||||
this._resumeAfterStepErrors.set(stepId, recoveryPromise);
|
||||
if (!error?.message || !error?.location)
|
||||
return { stepId, status: "failed" };
|
||||
this.emit(TestRunnerEvent.RecoverFromStepError, stepId, error.message, error.location);
|
||||
const recoveredResult = await recoveryPromise;
|
||||
if (recoveredResult.stepId !== stepId)
|
||||
return { stepId, status: "failed" };
|
||||
return recoveredResult;
|
||||
}
|
||||
async resumeAfterStepError(params) {
|
||||
const recoveryPromise = this._resumeAfterStepErrors.get(params.stepId);
|
||||
if (recoveryPromise)
|
||||
recoveryPromise.resolve(params);
|
||||
}
|
||||
async watch(fileNames) {
|
||||
this._watchedTestDependencies = /* @__PURE__ */ new Set();
|
||||
for (const fileName of fileNames) {
|
||||
@@ -325,11 +310,13 @@ class TestRunner extends import_events.default {
|
||||
async stopTests() {
|
||||
this._testRun?.stop?.resolve();
|
||||
await this._testRun?.run;
|
||||
this._resumeAfterStepErrors.clear();
|
||||
}
|
||||
async closeGracefully() {
|
||||
(0, import_utils.gracefullyProcessExitDoNotHang)(0);
|
||||
}
|
||||
async stop() {
|
||||
await this.runGlobalTeardown();
|
||||
}
|
||||
async _loadConfig(overrides) {
|
||||
try {
|
||||
const config = await (0, import_configLoader.loadConfig)(this.configLocation, overrides);
|
||||
@@ -372,6 +359,7 @@ async function resolveCtDirs(config) {
|
||||
};
|
||||
}
|
||||
async function runAllTestsWithConfig(config) {
|
||||
(0, import_utils.setPlaywrightTestProcessEnv)();
|
||||
const listOnly = config.cliListOnly;
|
||||
(0, import_gitCommitInfoPlugin.addGitCommitInfoPlugin)(config);
|
||||
(0, import_webServerPlugin.webServerPluginsForConfig)(config).forEach((p) => config.plugins.push({ factory: p }));
|
||||
|
||||
Reference in New Issue
Block a user