lib-e2e-cypress-for-dummys-ts 0.9.0 → 0.10.0
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.
- package/README.md +37 -0
- package/dist/{chunk-CQEDHL7A.js → chunk-VT2GLZ62.js} +40 -7
- package/dist/chunk-VT2GLZ62.js.map +1 -0
- package/dist/index.cjs +1404 -545
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +49 -19
- package/dist/index.d.ts +49 -19
- package/dist/index.js +1352 -540
- package/dist/index.js.map +1 -1
- package/dist/runner.js +18 -2
- package/dist/selector-picker-ZEZ2G5K6.js +7 -0
- package/package.json +1 -1
- package/dist/chunk-CQEDHL7A.js.map +0 -1
- package/dist/selector-picker-JM5HID3Z.js +0 -7
- /package/dist/{selector-picker-JM5HID3Z.js.map → selector-picker-ZEZ2G5K6.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -37,6 +37,7 @@ declare class RecordingService {
|
|
|
37
37
|
private readonly selectorNotFound$;
|
|
38
38
|
private readonly inputDebounceTimers;
|
|
39
39
|
private readonly fixtures;
|
|
40
|
+
private readonly uploadedFiles;
|
|
40
41
|
private readonly abort;
|
|
41
42
|
selectorStrategy: SelectorStrategy;
|
|
42
43
|
/** Stable id of the current live session (null when none has started). */
|
|
@@ -73,6 +74,12 @@ declare class RecordingService {
|
|
|
73
74
|
name: string;
|
|
74
75
|
content: string;
|
|
75
76
|
}>;
|
|
77
|
+
addUploadedFile(filename: string, bytes: ArrayBuffer): void;
|
|
78
|
+
getUploadedFilesSnapshot(): Array<{
|
|
79
|
+
filename: string;
|
|
80
|
+
bytes: ArrayBuffer;
|
|
81
|
+
}>;
|
|
82
|
+
clearUploadedFiles(): void;
|
|
76
83
|
clearCommands(): void;
|
|
77
84
|
clearInterceptors(): void;
|
|
78
85
|
getCommandsSnapshot(): string[];
|
|
@@ -106,6 +113,8 @@ declare class RecordingService {
|
|
|
106
113
|
private listenToKeys;
|
|
107
114
|
private listenToInput;
|
|
108
115
|
private listenToSelect;
|
|
116
|
+
private handleFileInputChange;
|
|
117
|
+
private readFileAsArrayBuffer;
|
|
109
118
|
private listenToRouteChanges;
|
|
110
119
|
private handleClickEvent;
|
|
111
120
|
private handleMatOptionClick;
|
|
@@ -190,13 +199,13 @@ declare class AdvancedTestTransformationService {
|
|
|
190
199
|
}
|
|
191
200
|
declare const advancedTestTransformationService: AdvancedTestTransformationService;
|
|
192
201
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
202
|
+
interface LoginSetupConfig {
|
|
203
|
+
enabled: boolean;
|
|
204
|
+
filePath: string;
|
|
205
|
+
fileContent: string;
|
|
206
|
+
detectedFunctions: string[];
|
|
207
|
+
beforeFn: string | null;
|
|
208
|
+
beforeEachFn: string | null;
|
|
200
209
|
}
|
|
201
210
|
|
|
202
211
|
interface TestRecord {
|
|
@@ -253,6 +262,10 @@ declare class PersistenceService {
|
|
|
253
262
|
setConfigKey(key: string, value: unknown): Promise<void>;
|
|
254
263
|
getConfig(key: string): Promise<Record<string, unknown> | null>;
|
|
255
264
|
getGeneralConfig(): Promise<ConfigRecord | null>;
|
|
265
|
+
private static readonly LOGIN_SETUP_KEY;
|
|
266
|
+
saveLoginSetup(config: LoginSetupConfig): Promise<void>;
|
|
267
|
+
getLoginSetup(): Promise<LoginSetupConfig | null>;
|
|
268
|
+
clearLoginSetup(): Promise<void>;
|
|
256
269
|
/** Upserts the live recording session (single record, fixed key). */
|
|
257
270
|
saveActiveSession(state: ActiveSessionState): Promise<void>;
|
|
258
271
|
/** Returns the persisted live session, or null when none is stored. */
|
|
@@ -261,6 +274,8 @@ declare class PersistenceService {
|
|
|
261
274
|
clearActiveSession(): Promise<void>;
|
|
262
275
|
clearAllData(): Promise<void>;
|
|
263
276
|
ingestFileData(tests: Record<string, unknown>[], interceptors: Record<string, unknown>[]): Promise<void>;
|
|
277
|
+
hasDirectoryAccess(): Promise<boolean>;
|
|
278
|
+
writeUploadedFile(filename: string, bytes: ArrayBuffer): Promise<void>;
|
|
264
279
|
requestDirectoryPermissions(): Promise<void>;
|
|
265
280
|
/**
|
|
266
281
|
* Writes captured fixtures into `cypress/fixtures/` using the configured Cypress
|
|
@@ -273,24 +288,17 @@ declare class PersistenceService {
|
|
|
273
288
|
}>): Promise<number>;
|
|
274
289
|
private bulkInsertWithoutId;
|
|
275
290
|
}
|
|
276
|
-
declare const persistenceService: PersistenceService;
|
|
277
291
|
|
|
278
292
|
declare function generateAlias(method: string, url: string): string;
|
|
293
|
+
/** @internal — resets singleton state between test suites; do not use in production code */
|
|
294
|
+
declare function _resetHttpMonitorState(): void;
|
|
279
295
|
declare class HttpMonitor {
|
|
280
296
|
private readonly recording;
|
|
281
|
-
private originalFetch;
|
|
282
|
-
private originalXHR;
|
|
283
297
|
constructor(recording: RecordingService);
|
|
284
298
|
install(): void;
|
|
285
299
|
uninstall(): void;
|
|
286
300
|
isExtendedHttpEnabled(): boolean;
|
|
287
301
|
isFixtureModeEnabled(): boolean;
|
|
288
|
-
private installFetch;
|
|
289
|
-
private uninstallFetch;
|
|
290
|
-
private installXhr;
|
|
291
|
-
private uninstallXhr;
|
|
292
|
-
private handleFetchInterception;
|
|
293
|
-
private handleXhrInterception;
|
|
294
302
|
}
|
|
295
303
|
|
|
296
304
|
declare const SCROLLBAR_STYLES = "\n.swal2-popup::-webkit-scrollbar,\n.swal2-html-container::-webkit-scrollbar,\n.swal2-content::-webkit-scrollbar,\n.swal2-container::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n background: transparent;\n}\n.swal2-popup::-webkit-scrollbar-thumb,\n.swal2-html-container::-webkit-scrollbar-thumb,\n.swal2-content::-webkit-scrollbar-thumb,\n.swal2-container::-webkit-scrollbar-thumb {\n background: #30363d;\n border-radius: 3px;\n}\n.swal2-popup::-webkit-scrollbar-thumb:hover,\n.swal2-html-container::-webkit-scrollbar-thumb:hover,\n.swal2-content::-webkit-scrollbar-thumb:hover {\n background: #484f58;\n}\n.swal2-popup::-webkit-scrollbar-track,\n.swal2-html-container::-webkit-scrollbar-track,\n.swal2-content::-webkit-scrollbar-track,\n.swal2-container::-webkit-scrollbar-track {\n background: transparent;\n}\n.swal2-popup, .swal2-html-container, .swal2-content, .swal2-container {\n scrollbar-width: thin;\n scrollbar-color: #30363d transparent;\n}\n";
|
|
@@ -304,6 +312,7 @@ declare function makeModalResizable(modal: HTMLElement, options?: {
|
|
|
304
312
|
declare function makeSwalDraggable(): void;
|
|
305
313
|
declare function makeSwalDraggableByContentId(contentId: string): void;
|
|
306
314
|
declare function setSwal2DataCyAttribute(dataCy?: string): void;
|
|
315
|
+
declare function ensurePopupDimensions(popup: HTMLElement | null, heightPx: number): void;
|
|
307
316
|
|
|
308
317
|
declare function showToast(message: string, isSuccess?: boolean): void;
|
|
309
318
|
|
|
@@ -444,6 +453,7 @@ interface IssueTrackerConfig {
|
|
|
444
453
|
declare class SaveTestElement extends HTMLElement {
|
|
445
454
|
private shadow;
|
|
446
455
|
private _step;
|
|
456
|
+
private _stepBeforeDiscard;
|
|
447
457
|
description: string;
|
|
448
458
|
notes: string;
|
|
449
459
|
tags: string[];
|
|
@@ -452,11 +462,13 @@ declare class SaveTestElement extends HTMLElement {
|
|
|
452
462
|
translation: TranslationService;
|
|
453
463
|
constructor();
|
|
454
464
|
connectedCallback(): void;
|
|
455
|
-
get step(): 'ask' | 'desc';
|
|
465
|
+
get step(): 'ask' | 'desc' | 'confirm-discard';
|
|
456
466
|
askSave(): void;
|
|
457
467
|
confirmSave(): void;
|
|
458
468
|
confirmSaveAndExport(): void;
|
|
459
469
|
cancel(): void;
|
|
470
|
+
confirmDiscard(): void;
|
|
471
|
+
backFromDiscard(): void;
|
|
460
472
|
restartComponent(): void;
|
|
461
473
|
addTag(tag: string): void;
|
|
462
474
|
removeTag(tag: string): void;
|
|
@@ -513,6 +525,15 @@ declare class ConfigurationElement extends HTMLElement {
|
|
|
513
525
|
exportSelectedIds: Set<number>;
|
|
514
526
|
exportSelectedTags: Set<string>;
|
|
515
527
|
issueTrackerConfig: IssueTrackerConfig;
|
|
528
|
+
isLoginSetupOpen: boolean;
|
|
529
|
+
loginSetupConfig: LoginSetupConfig | null;
|
|
530
|
+
loginSetupDraftPath: string;
|
|
531
|
+
loginSetupDraftFunctions: string[];
|
|
532
|
+
loginSetupDraftBeforeFn: string | null;
|
|
533
|
+
loginSetupDraftBeforeEachFn: string | null;
|
|
534
|
+
loginSetupDraftHasContent: boolean;
|
|
535
|
+
private loginSetupDraftHandle;
|
|
536
|
+
private loginSetupDraftContent;
|
|
516
537
|
private filesystemGranted;
|
|
517
538
|
private cypressFolderName;
|
|
518
539
|
constructor();
|
|
@@ -530,6 +551,13 @@ declare class ConfigurationElement extends HTMLElement {
|
|
|
530
551
|
onIssueTrackerEnabledChange(enabled: boolean): Promise<void>;
|
|
531
552
|
onIssueTrackerProviderChange(provider: IssueTrackerProvider): Promise<void>;
|
|
532
553
|
onIssueTrackerBaseUrlChange(baseUrl: string): Promise<void>;
|
|
554
|
+
openLoginSetupPanel(): void;
|
|
555
|
+
closeLoginSetupPanel(): void;
|
|
556
|
+
saveLoginSetupConfig(config: LoginSetupConfig): Promise<void>;
|
|
557
|
+
clearLoginSetupConfig(): Promise<void>;
|
|
558
|
+
loginSetupPickFile(): Promise<void>;
|
|
559
|
+
loginSetupCreateScaffold(): Promise<void>;
|
|
560
|
+
loginSetupRescan(): Promise<void>;
|
|
533
561
|
changeFolder(): Promise<void>;
|
|
534
562
|
revokeAccess(): Promise<void>;
|
|
535
563
|
private downloadTests;
|
|
@@ -568,6 +596,7 @@ declare class AdvancedTestEditorElement extends HTMLElement {
|
|
|
568
596
|
isCreatingFolder: boolean;
|
|
569
597
|
collapsedDirs: Set<string>;
|
|
570
598
|
sidebarWidth: number;
|
|
599
|
+
loginSetupConfig: LoginSetupConfig | null;
|
|
571
600
|
private hasPermission;
|
|
572
601
|
private needsReauth;
|
|
573
602
|
private _dirHandle;
|
|
@@ -755,9 +784,10 @@ declare class LibE2eRecorderElement extends HTMLElement {
|
|
|
755
784
|
private onSaveAndExportTest;
|
|
756
785
|
private toggleModal;
|
|
757
786
|
private resizePopup;
|
|
787
|
+
private openSwalDialog;
|
|
758
788
|
private render;
|
|
759
789
|
}
|
|
760
790
|
|
|
761
|
-
declare const VERSION = "0.
|
|
791
|
+
declare const VERSION = "0.10.0";
|
|
762
792
|
|
|
763
|
-
export { ACTIVE_SESSION_BREADCRUMB_KEY, type ActiveSessionState, AdvancedTestEditorElement, AdvancedTestTransformationService, ConfigurationElement, type DBSchema, type DBStore, type DBStoreIndex, DB_SCHEMA, DB_STORE_NAMES, DEFAULT_RESUME_TTL_MINUTES, DRAG_THRESHOLD, type DirectoryNode, type ExpandDirection, type ExportMode, type ExportSelectionOptions, type FileNode, FilePreviewElement, HelpPanelElement, HttpMonitor, INPUT_TYPES, type InputType, LIB_E2E_CYPRESS_FOR_DUMMYS_SWAL2_STYLES, LOCALE_BY_LANG, type Lang, LibE2eRecorderElement, PersistenceService, type Point, RESUME_TTL_CONFIG_KEY, RecordingService, SCROLLBAR_STYLES, SUPPORTED_LANGS, SaveTestElement, SelectorPickerElement, type SelectorStrategy,
|
|
793
|
+
export { ACTIVE_SESSION_BREADCRUMB_KEY, type ActiveSessionState, AdvancedTestEditorElement, AdvancedTestTransformationService, ConfigurationElement, type DBSchema, type DBStore, type DBStoreIndex, DB_SCHEMA, DB_STORE_NAMES, DEFAULT_RESUME_TTL_MINUTES, DRAG_THRESHOLD, type DirectoryNode, type ExpandDirection, type ExportMode, type ExportSelectionOptions, type FileNode, FilePreviewElement, HelpPanelElement, HttpMonitor, INPUT_TYPES, type InputType, LIB_E2E_CYPRESS_FOR_DUMMYS_SWAL2_STYLES, LOCALE_BY_LANG, type Lang, LibE2eRecorderElement, PersistenceService, type Point, RESUME_TTL_CONFIG_KEY, RecordingService, SCROLLBAR_STYLES, SUPPORTED_LANGS, SaveTestElement, SelectorPickerElement, type SelectorStrategy, TOGGLE_MARGIN, type TestDetail, TestEditorElement, TestPrevisualizerElement, type TestWithDetails, TransformationService, TranslationService, VERSION, _resetHttpMonitorState, advancedTestTransformationService, boxOffsetForDirection, boxTopLeftFor, clampTogglePosition, defaultTogglePosition, ensurePopupDimensions, generateAlias, inferAssertionCommand, injectStyles, isLang, isLocalHost, localeForLang, makeModalResizable, makeSwalDraggable, makeSwalDraggableByContentId, resolveExpandDirection, selectTestsForExport, setSwal2DataCyAttribute, showToast, transformationService, translationService };
|
package/dist/index.d.ts
CHANGED
|
@@ -37,6 +37,7 @@ declare class RecordingService {
|
|
|
37
37
|
private readonly selectorNotFound$;
|
|
38
38
|
private readonly inputDebounceTimers;
|
|
39
39
|
private readonly fixtures;
|
|
40
|
+
private readonly uploadedFiles;
|
|
40
41
|
private readonly abort;
|
|
41
42
|
selectorStrategy: SelectorStrategy;
|
|
42
43
|
/** Stable id of the current live session (null when none has started). */
|
|
@@ -73,6 +74,12 @@ declare class RecordingService {
|
|
|
73
74
|
name: string;
|
|
74
75
|
content: string;
|
|
75
76
|
}>;
|
|
77
|
+
addUploadedFile(filename: string, bytes: ArrayBuffer): void;
|
|
78
|
+
getUploadedFilesSnapshot(): Array<{
|
|
79
|
+
filename: string;
|
|
80
|
+
bytes: ArrayBuffer;
|
|
81
|
+
}>;
|
|
82
|
+
clearUploadedFiles(): void;
|
|
76
83
|
clearCommands(): void;
|
|
77
84
|
clearInterceptors(): void;
|
|
78
85
|
getCommandsSnapshot(): string[];
|
|
@@ -106,6 +113,8 @@ declare class RecordingService {
|
|
|
106
113
|
private listenToKeys;
|
|
107
114
|
private listenToInput;
|
|
108
115
|
private listenToSelect;
|
|
116
|
+
private handleFileInputChange;
|
|
117
|
+
private readFileAsArrayBuffer;
|
|
109
118
|
private listenToRouteChanges;
|
|
110
119
|
private handleClickEvent;
|
|
111
120
|
private handleMatOptionClick;
|
|
@@ -190,13 +199,13 @@ declare class AdvancedTestTransformationService {
|
|
|
190
199
|
}
|
|
191
200
|
declare const advancedTestTransformationService: AdvancedTestTransformationService;
|
|
192
201
|
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
202
|
+
interface LoginSetupConfig {
|
|
203
|
+
enabled: boolean;
|
|
204
|
+
filePath: string;
|
|
205
|
+
fileContent: string;
|
|
206
|
+
detectedFunctions: string[];
|
|
207
|
+
beforeFn: string | null;
|
|
208
|
+
beforeEachFn: string | null;
|
|
200
209
|
}
|
|
201
210
|
|
|
202
211
|
interface TestRecord {
|
|
@@ -253,6 +262,10 @@ declare class PersistenceService {
|
|
|
253
262
|
setConfigKey(key: string, value: unknown): Promise<void>;
|
|
254
263
|
getConfig(key: string): Promise<Record<string, unknown> | null>;
|
|
255
264
|
getGeneralConfig(): Promise<ConfigRecord | null>;
|
|
265
|
+
private static readonly LOGIN_SETUP_KEY;
|
|
266
|
+
saveLoginSetup(config: LoginSetupConfig): Promise<void>;
|
|
267
|
+
getLoginSetup(): Promise<LoginSetupConfig | null>;
|
|
268
|
+
clearLoginSetup(): Promise<void>;
|
|
256
269
|
/** Upserts the live recording session (single record, fixed key). */
|
|
257
270
|
saveActiveSession(state: ActiveSessionState): Promise<void>;
|
|
258
271
|
/** Returns the persisted live session, or null when none is stored. */
|
|
@@ -261,6 +274,8 @@ declare class PersistenceService {
|
|
|
261
274
|
clearActiveSession(): Promise<void>;
|
|
262
275
|
clearAllData(): Promise<void>;
|
|
263
276
|
ingestFileData(tests: Record<string, unknown>[], interceptors: Record<string, unknown>[]): Promise<void>;
|
|
277
|
+
hasDirectoryAccess(): Promise<boolean>;
|
|
278
|
+
writeUploadedFile(filename: string, bytes: ArrayBuffer): Promise<void>;
|
|
264
279
|
requestDirectoryPermissions(): Promise<void>;
|
|
265
280
|
/**
|
|
266
281
|
* Writes captured fixtures into `cypress/fixtures/` using the configured Cypress
|
|
@@ -273,24 +288,17 @@ declare class PersistenceService {
|
|
|
273
288
|
}>): Promise<number>;
|
|
274
289
|
private bulkInsertWithoutId;
|
|
275
290
|
}
|
|
276
|
-
declare const persistenceService: PersistenceService;
|
|
277
291
|
|
|
278
292
|
declare function generateAlias(method: string, url: string): string;
|
|
293
|
+
/** @internal — resets singleton state between test suites; do not use in production code */
|
|
294
|
+
declare function _resetHttpMonitorState(): void;
|
|
279
295
|
declare class HttpMonitor {
|
|
280
296
|
private readonly recording;
|
|
281
|
-
private originalFetch;
|
|
282
|
-
private originalXHR;
|
|
283
297
|
constructor(recording: RecordingService);
|
|
284
298
|
install(): void;
|
|
285
299
|
uninstall(): void;
|
|
286
300
|
isExtendedHttpEnabled(): boolean;
|
|
287
301
|
isFixtureModeEnabled(): boolean;
|
|
288
|
-
private installFetch;
|
|
289
|
-
private uninstallFetch;
|
|
290
|
-
private installXhr;
|
|
291
|
-
private uninstallXhr;
|
|
292
|
-
private handleFetchInterception;
|
|
293
|
-
private handleXhrInterception;
|
|
294
302
|
}
|
|
295
303
|
|
|
296
304
|
declare const SCROLLBAR_STYLES = "\n.swal2-popup::-webkit-scrollbar,\n.swal2-html-container::-webkit-scrollbar,\n.swal2-content::-webkit-scrollbar,\n.swal2-container::-webkit-scrollbar {\n width: 5px;\n height: 5px;\n background: transparent;\n}\n.swal2-popup::-webkit-scrollbar-thumb,\n.swal2-html-container::-webkit-scrollbar-thumb,\n.swal2-content::-webkit-scrollbar-thumb,\n.swal2-container::-webkit-scrollbar-thumb {\n background: #30363d;\n border-radius: 3px;\n}\n.swal2-popup::-webkit-scrollbar-thumb:hover,\n.swal2-html-container::-webkit-scrollbar-thumb:hover,\n.swal2-content::-webkit-scrollbar-thumb:hover {\n background: #484f58;\n}\n.swal2-popup::-webkit-scrollbar-track,\n.swal2-html-container::-webkit-scrollbar-track,\n.swal2-content::-webkit-scrollbar-track,\n.swal2-container::-webkit-scrollbar-track {\n background: transparent;\n}\n.swal2-popup, .swal2-html-container, .swal2-content, .swal2-container {\n scrollbar-width: thin;\n scrollbar-color: #30363d transparent;\n}\n";
|
|
@@ -304,6 +312,7 @@ declare function makeModalResizable(modal: HTMLElement, options?: {
|
|
|
304
312
|
declare function makeSwalDraggable(): void;
|
|
305
313
|
declare function makeSwalDraggableByContentId(contentId: string): void;
|
|
306
314
|
declare function setSwal2DataCyAttribute(dataCy?: string): void;
|
|
315
|
+
declare function ensurePopupDimensions(popup: HTMLElement | null, heightPx: number): void;
|
|
307
316
|
|
|
308
317
|
declare function showToast(message: string, isSuccess?: boolean): void;
|
|
309
318
|
|
|
@@ -444,6 +453,7 @@ interface IssueTrackerConfig {
|
|
|
444
453
|
declare class SaveTestElement extends HTMLElement {
|
|
445
454
|
private shadow;
|
|
446
455
|
private _step;
|
|
456
|
+
private _stepBeforeDiscard;
|
|
447
457
|
description: string;
|
|
448
458
|
notes: string;
|
|
449
459
|
tags: string[];
|
|
@@ -452,11 +462,13 @@ declare class SaveTestElement extends HTMLElement {
|
|
|
452
462
|
translation: TranslationService;
|
|
453
463
|
constructor();
|
|
454
464
|
connectedCallback(): void;
|
|
455
|
-
get step(): 'ask' | 'desc';
|
|
465
|
+
get step(): 'ask' | 'desc' | 'confirm-discard';
|
|
456
466
|
askSave(): void;
|
|
457
467
|
confirmSave(): void;
|
|
458
468
|
confirmSaveAndExport(): void;
|
|
459
469
|
cancel(): void;
|
|
470
|
+
confirmDiscard(): void;
|
|
471
|
+
backFromDiscard(): void;
|
|
460
472
|
restartComponent(): void;
|
|
461
473
|
addTag(tag: string): void;
|
|
462
474
|
removeTag(tag: string): void;
|
|
@@ -513,6 +525,15 @@ declare class ConfigurationElement extends HTMLElement {
|
|
|
513
525
|
exportSelectedIds: Set<number>;
|
|
514
526
|
exportSelectedTags: Set<string>;
|
|
515
527
|
issueTrackerConfig: IssueTrackerConfig;
|
|
528
|
+
isLoginSetupOpen: boolean;
|
|
529
|
+
loginSetupConfig: LoginSetupConfig | null;
|
|
530
|
+
loginSetupDraftPath: string;
|
|
531
|
+
loginSetupDraftFunctions: string[];
|
|
532
|
+
loginSetupDraftBeforeFn: string | null;
|
|
533
|
+
loginSetupDraftBeforeEachFn: string | null;
|
|
534
|
+
loginSetupDraftHasContent: boolean;
|
|
535
|
+
private loginSetupDraftHandle;
|
|
536
|
+
private loginSetupDraftContent;
|
|
516
537
|
private filesystemGranted;
|
|
517
538
|
private cypressFolderName;
|
|
518
539
|
constructor();
|
|
@@ -530,6 +551,13 @@ declare class ConfigurationElement extends HTMLElement {
|
|
|
530
551
|
onIssueTrackerEnabledChange(enabled: boolean): Promise<void>;
|
|
531
552
|
onIssueTrackerProviderChange(provider: IssueTrackerProvider): Promise<void>;
|
|
532
553
|
onIssueTrackerBaseUrlChange(baseUrl: string): Promise<void>;
|
|
554
|
+
openLoginSetupPanel(): void;
|
|
555
|
+
closeLoginSetupPanel(): void;
|
|
556
|
+
saveLoginSetupConfig(config: LoginSetupConfig): Promise<void>;
|
|
557
|
+
clearLoginSetupConfig(): Promise<void>;
|
|
558
|
+
loginSetupPickFile(): Promise<void>;
|
|
559
|
+
loginSetupCreateScaffold(): Promise<void>;
|
|
560
|
+
loginSetupRescan(): Promise<void>;
|
|
533
561
|
changeFolder(): Promise<void>;
|
|
534
562
|
revokeAccess(): Promise<void>;
|
|
535
563
|
private downloadTests;
|
|
@@ -568,6 +596,7 @@ declare class AdvancedTestEditorElement extends HTMLElement {
|
|
|
568
596
|
isCreatingFolder: boolean;
|
|
569
597
|
collapsedDirs: Set<string>;
|
|
570
598
|
sidebarWidth: number;
|
|
599
|
+
loginSetupConfig: LoginSetupConfig | null;
|
|
571
600
|
private hasPermission;
|
|
572
601
|
private needsReauth;
|
|
573
602
|
private _dirHandle;
|
|
@@ -755,9 +784,10 @@ declare class LibE2eRecorderElement extends HTMLElement {
|
|
|
755
784
|
private onSaveAndExportTest;
|
|
756
785
|
private toggleModal;
|
|
757
786
|
private resizePopup;
|
|
787
|
+
private openSwalDialog;
|
|
758
788
|
private render;
|
|
759
789
|
}
|
|
760
790
|
|
|
761
|
-
declare const VERSION = "0.
|
|
791
|
+
declare const VERSION = "0.10.0";
|
|
762
792
|
|
|
763
|
-
export { ACTIVE_SESSION_BREADCRUMB_KEY, type ActiveSessionState, AdvancedTestEditorElement, AdvancedTestTransformationService, ConfigurationElement, type DBSchema, type DBStore, type DBStoreIndex, DB_SCHEMA, DB_STORE_NAMES, DEFAULT_RESUME_TTL_MINUTES, DRAG_THRESHOLD, type DirectoryNode, type ExpandDirection, type ExportMode, type ExportSelectionOptions, type FileNode, FilePreviewElement, HelpPanelElement, HttpMonitor, INPUT_TYPES, type InputType, LIB_E2E_CYPRESS_FOR_DUMMYS_SWAL2_STYLES, LOCALE_BY_LANG, type Lang, LibE2eRecorderElement, PersistenceService, type Point, RESUME_TTL_CONFIG_KEY, RecordingService, SCROLLBAR_STYLES, SUPPORTED_LANGS, SaveTestElement, SelectorPickerElement, type SelectorStrategy,
|
|
793
|
+
export { ACTIVE_SESSION_BREADCRUMB_KEY, type ActiveSessionState, AdvancedTestEditorElement, AdvancedTestTransformationService, ConfigurationElement, type DBSchema, type DBStore, type DBStoreIndex, DB_SCHEMA, DB_STORE_NAMES, DEFAULT_RESUME_TTL_MINUTES, DRAG_THRESHOLD, type DirectoryNode, type ExpandDirection, type ExportMode, type ExportSelectionOptions, type FileNode, FilePreviewElement, HelpPanelElement, HttpMonitor, INPUT_TYPES, type InputType, LIB_E2E_CYPRESS_FOR_DUMMYS_SWAL2_STYLES, LOCALE_BY_LANG, type Lang, LibE2eRecorderElement, PersistenceService, type Point, RESUME_TTL_CONFIG_KEY, RecordingService, SCROLLBAR_STYLES, SUPPORTED_LANGS, SaveTestElement, SelectorPickerElement, type SelectorStrategy, TOGGLE_MARGIN, type TestDetail, TestEditorElement, TestPrevisualizerElement, type TestWithDetails, TransformationService, TranslationService, VERSION, _resetHttpMonitorState, advancedTestTransformationService, boxOffsetForDirection, boxTopLeftFor, clampTogglePosition, defaultTogglePosition, ensurePopupDimensions, generateAlias, inferAssertionCommand, injectStyles, isLang, isLocalHost, localeForLang, makeModalResizable, makeSwalDraggable, makeSwalDraggableByContentId, resolveExpandDirection, selectTestsForExport, setSwal2DataCyAttribute, showToast, transformationService, translationService };
|