@dev-blinq/cucumber_client 1.0.1295-stage → 1.0.1296-stage
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -239,6 +239,7 @@ class LocatorGenerator {
|
|
|
239
239
|
loc.text = text;
|
|
240
240
|
});
|
|
241
241
|
};
|
|
242
|
+
|
|
242
243
|
const allStrategyLocators = result.allStrategyLocators;
|
|
243
244
|
const locators = result.locators;
|
|
244
245
|
if (allStrategyLocators) {
|
|
@@ -840,6 +841,7 @@ class LocatorGenerator {
|
|
|
840
841
|
Array.isArray(this.options.customAttributes) &&
|
|
841
842
|
this.options.customAttributes.length > 0
|
|
842
843
|
) {
|
|
844
|
+
|
|
843
845
|
console.groupCollapsed("Generating Custom locators for element:", element);
|
|
844
846
|
const customLocators = this.getUniqueLocators(element, this.getCustomLocators.bind(this), options);
|
|
845
847
|
if (customLocators.length > 0) {
|
|
@@ -187,7 +187,7 @@ export class BVTRecorder {
|
|
|
187
187
|
this.pageSet = new Set();
|
|
188
188
|
this.pageMetaDataSet = new Set();
|
|
189
189
|
this.lastKnownUrlPath = "";
|
|
190
|
-
this.world = { attach: () => {} };
|
|
190
|
+
this.world = { attach: () => { } };
|
|
191
191
|
this.shouldTakeScreenshot = true;
|
|
192
192
|
this.watcher = null;
|
|
193
193
|
this.networkEventsFolder = path.join(tmpdir(), "blinq_network_events");
|
|
@@ -299,7 +299,7 @@ export class BVTRecorder {
|
|
|
299
299
|
process.env.CDP_LISTEN_PORT = this.#remoteDebuggerPort;
|
|
300
300
|
|
|
301
301
|
// this.stepRunner.setRemoteDebugPort(this.#remoteDebuggerPort);
|
|
302
|
-
this.world = { attach: () => {} };
|
|
302
|
+
this.world = { attach: () => { } };
|
|
303
303
|
|
|
304
304
|
const ai_config_file = path.join(this.projectDir, "ai_config.json");
|
|
305
305
|
let ai_config = {};
|
|
@@ -736,7 +736,7 @@ export class BVTRecorder {
|
|
|
736
736
|
}
|
|
737
737
|
async closeBrowser() {
|
|
738
738
|
delete process.env.TEMP_RUN;
|
|
739
|
-
await this.watcher.close().then(() => {});
|
|
739
|
+
await this.watcher.close().then(() => { });
|
|
740
740
|
this.watcher = null;
|
|
741
741
|
this.previousIndex = null;
|
|
742
742
|
this.previousHistoryLength = null;
|
|
@@ -841,7 +841,6 @@ export class BVTRecorder {
|
|
|
841
841
|
TEMP_RUN: true,
|
|
842
842
|
REPORT_FOLDER: this.bvtContext.reportFolder,
|
|
843
843
|
BLINQ_ENV: this.envName,
|
|
844
|
-
DEBUG: "blinq:route",
|
|
845
844
|
};
|
|
846
845
|
|
|
847
846
|
this.bvtContext.navigate = true;
|