Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nativeAutomation: Rename proxyless internal #7613

Merged
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactor: code style
  • Loading branch information
Artem-Babich committed Apr 6, 2023
commit e7151a7c970ad78b31486f38fa9ae27769c658f2
18 changes: 9 additions & 9 deletions src/client/automation/move.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,15 +259,15 @@ export default class MoveAutomation {
let iframeUnderCursor: boolean | null = null;

const msg: any = {
cmd: MOVE_REQUEST_CMD,
startX: x,
startY: y,
endX: endPoint.x,
endY: endPoint.y,
modifiers: this.modifiers,
speed: this.speed,
shouldRender: this.cursor.shouldRender,
nativeAutomationMove: nativeAutomationMove,
cmd: MOVE_REQUEST_CMD,
startX: x,
startY: y,
endX: endPoint.x,
endY: endPoint.y,
modifiers: this.modifiers,
speed: this.speed,
shouldRender: this.cursor.shouldRender,
nativeAutomationMove,
};

return Promise.resolve()
Expand Down
6 changes: 3 additions & 3 deletions src/client/driver/driver-link/iframe/child.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ import sendConfirmationMessage from '../send-confirmation-message';

export default class ChildIframeDriverLink {
constructor (driverWindow, driverId, dispatchNativeAutomationEventUrls) {
this.driverWindow = driverWindow;
this.driverIframe = domUtils.findIframeByWindow(driverWindow);
this.driverId = driverId;
this.driverWindow = driverWindow;
this.driverIframe = domUtils.findIframeByWindow(driverWindow);
this.driverId = driverId;
this.iframeAvailabilityTimeout = 0;
this.dispatchNativeAutomationEventUrls = dispatchNativeAutomationEventUrls;
}
Expand Down
2 changes: 1 addition & 1 deletion src/client/driver/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -1919,7 +1919,7 @@ export default class Driver extends serviceUtils.EventEmitter {
nativeAutomation,
});

this.nativeDialogsTracker = new NativeDialogTracker(this.contextStorage, { nativeAutomation: nativeAutomation, dialogHandler });
this.nativeDialogsTracker = new NativeDialogTracker(this.contextStorage, { nativeAutomation, dialogHandler });
this.statusBar = new testCafeUI.StatusBar(this.runInfo.userAgent, this.runInfo.fixtureName, this.runInfo.testName, this.contextStorage);
this.selectorInspectorPanel = new testCafeUI.SelectorInspectorPanel(this.statusBar);

Expand Down
6 changes: 3 additions & 3 deletions src/runner/bootstrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@ export default class Bootstrapper {
this.appInitDelay = void 0;
this.tsConfigPath = void 0;
this.clientScripts = [];
this.disableMultipleWindows = false;
this.nativeAutomation = false;
this.compilerOptions = void 0;
this.disableMultipleWindows = false;
this.nativeAutomation = false;
this.compilerOptions = void 0;
this.debugLogger = debug(DEBUG_SCOPE);
this.warningLog = new WarningLog(null, WarningLog.createAddWarningCallback(messageBus));
this.compilerService = compilerService;
Expand Down
14 changes: 7 additions & 7 deletions src/utils/debug-loggers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import debug from 'debug';

const testcafeLogger = debug('testcafe');

const nativeAutomationLogger = testcafeLogger.extend('native-automation');
const requestPipelineLogger = nativeAutomationLogger.extend('request-pipeline');
const requestPipelineMockLogger = requestPipelineLogger.extend('mock');
const nativeAutomationLogger = testcafeLogger.extend('native-automation');
const requestPipelineLogger = nativeAutomationLogger.extend('request-pipeline');
const requestPipelineMockLogger = requestPipelineLogger.extend('mock');
const requestPipelineInternalRequestLogger = requestPipelineLogger.extend('internal-request');
const requestPipelineServiceRequestLogger = requestPipelineLogger.extend('service-request');
const requestPipelineOtherRequestLogger = requestPipelineLogger.extend('other-request');
const resourceInjectorLogger = nativeAutomationLogger.extend('resource-injector');
const requestHooksLogger = nativeAutomationLogger.extend('request-hooks');
const requestHooksEventProviderLogger = requestHooksLogger.extend('event-provider');
const requestPipelineOtherRequestLogger = requestPipelineLogger.extend('other-request');
const resourceInjectorLogger = nativeAutomationLogger.extend('resource-injector');
const requestHooksLogger = nativeAutomationLogger.extend('request-hooks');
const requestHooksEventProviderLogger = requestHooksLogger.extend('event-provider');

const browserLogger = testcafeLogger.extend('browser');
const browserProviderLogger = browserLogger.extend('provider');
Expand Down