html-reporter 11.1.0 → 11.2.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.
Files changed (94) hide show
  1. package/build/lib/cli/commands/remove-unused-screens/index.js +1 -1
  2. package/build/lib/cli/commands/remove-unused-screens/index.js.map +1 -1
  3. package/build/lib/cli/commands/remove-unused-screens/utils.d.ts +1 -1
  4. package/build/lib/cli/commands/remove-unused-screens/utils.js +2 -2
  5. package/build/lib/cli/commands/remove-unused-screens/utils.js.map +1 -1
  6. package/build/lib/gui/index.js +0 -3
  7. package/build/lib/gui/index.js.map +1 -1
  8. package/build/lib/gui/listen-with-fallback.d.ts +12 -0
  9. package/build/lib/gui/listen-with-fallback.js +57 -0
  10. package/build/lib/gui/listen-with-fallback.js.map +1 -0
  11. package/build/lib/gui/routes/plugins.js +2 -1
  12. package/build/lib/gui/routes/plugins.js.map +1 -1
  13. package/build/lib/gui/server.js +15 -7
  14. package/build/lib/gui/server.js.map +1 -1
  15. package/build/lib/static/203.min.js +1 -0
  16. package/build/lib/static/23.min.js +1 -0
  17. package/build/lib/static/299.min.js +1 -0
  18. package/build/lib/static/326.min.js +1 -0
  19. package/build/lib/static/373.min.css +1 -0
  20. package/build/lib/static/373.min.js +1 -0
  21. package/build/lib/static/641.min.js +1 -1
  22. package/build/lib/static/864.min.css +1 -0
  23. package/build/lib/static/864.min.js +1 -0
  24. package/build/lib/static/gui.html +1 -1
  25. package/build/lib/static/gui.min.js +1 -1
  26. package/build/lib/static/index.html +1 -1
  27. package/build/lib/static/modules/utils/pluginMiddlewareRoute.d.ts +2 -0
  28. package/build/lib/static/modules/utils/pluginMiddlewareRoute.js +12 -0
  29. package/build/lib/static/modules/utils/pluginMiddlewareRoute.js.map +1 -0
  30. package/build/lib/static/new-ui-gui.html +1 -1
  31. package/build/lib/static/new-ui-report.html +1 -1
  32. package/build/lib/static/newGui.min.js +1 -1
  33. package/build/lib/static/newReport.min.js +1 -1
  34. package/build/lib/static/report.min.js +1 -1
  35. package/build/package.json +21 -4
  36. package/package.json +21 -4
  37. package/plugins-sdk/build/lib/static/new-ui/constants/plugins.d.ts +4 -0
  38. package/plugins-sdk/build/lib/static/new-ui/constants/plugins.d.ts.map +1 -0
  39. package/plugins-sdk/build/lib/static/new-ui/constants/plugins.js +5 -0
  40. package/plugins-sdk/build/lib/static/new-ui/constants/plugins.js.map +1 -0
  41. package/plugins-sdk/build/plugins-sdk/index.d.ts +5 -0
  42. package/plugins-sdk/build/plugins-sdk/index.d.ts.map +1 -0
  43. package/plugins-sdk/build/plugins-sdk/index.js +2 -0
  44. package/plugins-sdk/build/plugins-sdk/index.js.map +1 -0
  45. package/plugins-sdk/build-ui/lib/adapters/test-result/index.d.ts +33 -0
  46. package/plugins-sdk/build-ui/lib/adapters/test-result/sqlite.d.ts +34 -0
  47. package/plugins-sdk/build-ui/lib/adapters/test-result/transformers/db.d.ts +11 -0
  48. package/plugins-sdk/build-ui/lib/adapters/test-result/transformers/tree.d.ts +11 -0
  49. package/plugins-sdk/build-ui/lib/common-utils.d.ts +57 -0
  50. package/plugins-sdk/build-ui/lib/constants/browser.d.ts +6 -0
  51. package/plugins-sdk/build-ui/lib/constants/checked-statuses.d.ts +10 -0
  52. package/plugins-sdk/build-ui/lib/constants/database.d.ts +105 -0
  53. package/plugins-sdk/build-ui/lib/constants/defaults.d.ts +3 -0
  54. package/plugins-sdk/build-ui/lib/constants/diff-modes.d.ts +41 -0
  55. package/plugins-sdk/build-ui/lib/constants/errors.d.ts +3 -0
  56. package/plugins-sdk/build-ui/lib/constants/features.d.ts +12 -0
  57. package/plugins-sdk/build-ui/lib/constants/group-tests.d.ts +7 -0
  58. package/plugins-sdk/build-ui/lib/constants/index.d.ts +14 -0
  59. package/plugins-sdk/build-ui/lib/constants/local-storage.d.ts +9 -0
  60. package/plugins-sdk/build-ui/lib/constants/paths.d.ts +3 -0
  61. package/plugins-sdk/build-ui/lib/constants/plugin-events.d.ts +6 -0
  62. package/plugins-sdk/build-ui/lib/constants/save-formats.d.ts +3 -0
  63. package/plugins-sdk/build-ui/lib/constants/test-statuses.d.ts +41 -0
  64. package/plugins-sdk/build-ui/lib/constants/tests.d.ts +5 -0
  65. package/plugins-sdk/build-ui/lib/constants/tool-names.d.ts +5 -0
  66. package/plugins-sdk/build-ui/lib/constants/view-modes.d.ts +9 -0
  67. package/plugins-sdk/build-ui/lib/db-utils/common.d.ts +39 -0
  68. package/plugins-sdk/build-ui/lib/db-utils/migrations.d.ts +5 -0
  69. package/plugins-sdk/build-ui/lib/db-utils/server.d.ts +17 -0
  70. package/plugins-sdk/build-ui/lib/errors/index.d.ts +43 -0
  71. package/plugins-sdk/build-ui/lib/local-image-file-saver.d.ts +2 -0
  72. package/plugins-sdk/build-ui/lib/plugin-api.d.ts +41 -0
  73. package/plugins-sdk/build-ui/lib/server-utils.d.ts +70 -0
  74. package/plugins-sdk/build-ui/lib/sqlite-client.d.ts +60 -0
  75. package/plugins-sdk/build-ui/lib/static/modules/local-storage-wrapper.d.ts +22 -0
  76. package/plugins-sdk/build-ui/lib/static/modules/plugins-sdk-ui.d.ts +3 -0
  77. package/plugins-sdk/build-ui/lib/static/modules/plugins-sdk-ui.js +1 -0
  78. package/plugins-sdk/build-ui/lib/static/modules/static-image-accepter.d.ts +47 -0
  79. package/plugins-sdk/build-ui/lib/static/new-ui/components/PanelSection/index.d.ts +8 -0
  80. package/plugins-sdk/build-ui/lib/static/new-ui/features/suites/components/SuitesPage/types.d.ts +33 -0
  81. package/plugins-sdk/build-ui/lib/static/new-ui/types/index.d.ts +4 -0
  82. package/plugins-sdk/build-ui/lib/static/new-ui/types/store.d.ts +320 -0
  83. package/plugins-sdk/build-ui/lib/tests-tree-builder/base.d.ts +91 -0
  84. package/plugins-sdk/build-ui/lib/tests-tree-builder/static.d.ts +51 -0
  85. package/plugins-sdk/build-ui/lib/types.d.ts +315 -0
  86. package/build/lib/static/194.min.js +0 -1
  87. package/build/lib/static/354.min.css +0 -1
  88. package/build/lib/static/354.min.js +0 -1
  89. package/build/lib/static/556.min.css +0 -1
  90. package/build/lib/static/556.min.js +0 -1
  91. package/build/lib/static/825.min.js +0 -1
  92. package/build/lib/static/925.min.js +0 -1
  93. package/build/lib/static/971.min.js +0 -1
  94. /package/build/lib/static/{825.min.css → 299.min.css} +0 -0
@@ -0,0 +1,91 @@
1
+ import { TestStatus } from '../constants';
2
+ import { ReporterTestResult } from '../adapters/test-result';
3
+ import { ErrorDetails, ImageInfoFull } from '../types';
4
+ import { TreeTestResultTransformer } from '../adapters/test-result/transformers/tree';
5
+ import { DbTestResult } from '../sqlite-client';
6
+ export type BaseTreeTestResult = Omit<DbTestResult, 'imagesInfo'> & {
7
+ attempt?: number;
8
+ errorDetails?: ErrorDetails | null;
9
+ };
10
+ export interface TreeTestResult extends BaseTreeTestResult {
11
+ id: string;
12
+ parentId: string;
13
+ imageIds: string[];
14
+ attempt: number;
15
+ }
16
+ interface TreeBrowser {
17
+ id: string;
18
+ name: string;
19
+ parentId: string;
20
+ resultIds: string[];
21
+ version: string;
22
+ }
23
+ export interface TreeSuite {
24
+ status?: TestStatus;
25
+ id: string;
26
+ parentId: string | null;
27
+ name: string;
28
+ suitePath: string[];
29
+ root: boolean;
30
+ suiteIds?: string[];
31
+ browserIds?: string[];
32
+ }
33
+ export type TreeImage = {
34
+ id: string;
35
+ parentId: string;
36
+ } & ImageInfoFull;
37
+ export interface Tree {
38
+ suites: {
39
+ byId: Record<string, TreeSuite>;
40
+ allIds: string[];
41
+ allRootIds: string[];
42
+ };
43
+ browsers: {
44
+ byId: Record<string, TreeBrowser>;
45
+ allIds: string[];
46
+ };
47
+ results: {
48
+ byId: Record<string, TreeTestResult>;
49
+ allIds: string[];
50
+ };
51
+ images: {
52
+ byId: Record<string, TreeImage>;
53
+ allIds: string[];
54
+ };
55
+ }
56
+ interface ResultPayload {
57
+ id: string;
58
+ parentId: string;
59
+ result: ReporterTestResult;
60
+ }
61
+ interface BrowserPayload {
62
+ id: string;
63
+ name: string;
64
+ parentId: string;
65
+ version: string;
66
+ }
67
+ interface ImagesPayload {
68
+ imagesInfo: ImageInfoFull[];
69
+ parentId: string;
70
+ }
71
+ export interface BaseTestsTreeBuilderOptions {
72
+ baseHost?: string;
73
+ }
74
+ export declare class BaseTestsTreeBuilder {
75
+ protected _tree: Tree;
76
+ protected _transformer: TreeTestResultTransformer;
77
+ static create<T extends BaseTestsTreeBuilder>(this: new (options: BaseTestsTreeBuilderOptions) => T, options?: BaseTestsTreeBuilderOptions): T;
78
+ constructor(options?: BaseTestsTreeBuilderOptions);
79
+ get tree(): Tree;
80
+ sortTree(): void;
81
+ addTestResult(formattedResult: ReporterTestResult): void;
82
+ protected _buildId(parentId?: string | string[], name?: string | string[]): string;
83
+ protected _addSuites(testPath: string[], browserId: string): void;
84
+ protected _addSuite(suite: TreeSuite): void;
85
+ protected _addBrowser({ id, parentId, name, version }: BrowserPayload, testResultId: string, attempt: number): void;
86
+ protected _addResultIdToBrowser(browserId: string, testResultId: string, attempt: number): void;
87
+ protected _addResult({ id, parentId, result }: ResultPayload, imageIds: string[]): void;
88
+ protected _addImages(imageIds: string[], { imagesInfo, parentId }: ImagesPayload): void;
89
+ protected _setStatusForBranch(testPath?: string[]): void;
90
+ }
91
+ export {};
@@ -0,0 +1,51 @@
1
+ import { BaseTestsTreeBuilder, BaseTestsTreeBuilderOptions, Tree } from './base';
2
+ import type { ReporterTestResult } from '../adapters/test-result';
3
+ import type { BrowserItem, RawSuitesRow } from '../types';
4
+ export interface Stats {
5
+ total: number;
6
+ passed: number;
7
+ failed: number;
8
+ skipped: number;
9
+ retries: number;
10
+ }
11
+ export interface PerBrowserStats {
12
+ [browserName: string]: {
13
+ [browserVersion: string]: Stats;
14
+ };
15
+ }
16
+ export type FinalStats = Stats & {
17
+ perBrowser: PerBrowserStats;
18
+ };
19
+ export interface SkipItem {
20
+ browser: string;
21
+ suite: string;
22
+ comment?: string;
23
+ }
24
+ export interface StaticTreeBuildResult {
25
+ tree: Tree;
26
+ stats: FinalStats;
27
+ skips: SkipItem[];
28
+ browsers: BrowserItem[];
29
+ }
30
+ export interface StaticTestsTreeBuilderOptions extends BaseTestsTreeBuilderOptions {
31
+ }
32
+ export declare class StaticTestsTreeBuilder extends BaseTestsTreeBuilder {
33
+ protected _stats: FinalStats;
34
+ protected _skips: SkipItem[];
35
+ protected _failedTestIds: {
36
+ [key: string]: boolean;
37
+ };
38
+ protected _passedTestIds: {
39
+ [key: string]: boolean;
40
+ };
41
+ protected _skippedTestIds: {
42
+ [key: string]: boolean;
43
+ };
44
+ constructor(options: StaticTestsTreeBuilderOptions);
45
+ build(rows?: RawSuitesRow[]): StaticTreeBuildResult;
46
+ protected _addResultIdToBrowser(browserId: string, testResultId: string): void;
47
+ protected _calcStats(testResult: ReporterTestResult, { testId, browserName }: {
48
+ testId: string;
49
+ browserName: string;
50
+ }): void;
51
+ }
@@ -0,0 +1,315 @@
1
+ /// <reference types="node" />
2
+ import type axios from 'axios';
3
+ import type { LooksSameOptions, CoordBounds } from 'looks-same';
4
+ import type { default as Testplane, TestResult } from 'testplane';
5
+ import { BrowserFeature, DiffModeId, SaveFormat, SUITES_TABLE_COLUMNS, TestStatus, ViewMode } from './constants';
6
+ import type { HtmlReporter } from './plugin-api';
7
+ import { ImageDiffError, NoRefImageError } from './errors';
8
+ import { UiMode } from './constants/local-storage';
9
+ declare module 'tmp' {
10
+ const tmpdir: string;
11
+ }
12
+ export type { Suite as TestplaneSuite } from 'testplane';
13
+ export interface HermioneTestResult extends TestResult {
14
+ timestamp?: number;
15
+ }
16
+ export interface TestplaneTestResult extends HermioneTestResult {
17
+ }
18
+ export interface ImageFileSaver {
19
+ saveImg: (localFilePath: string, options: {
20
+ destPath: string;
21
+ reportDir: string;
22
+ }) => string | Promise<string>;
23
+ }
24
+ export interface ReportsSaver {
25
+ saveReportData: (localDbPath: string, options: {
26
+ destPath: string;
27
+ reportDir: string;
28
+ }) => string | Promise<string>;
29
+ }
30
+ export interface SnapshotsSaver {
31
+ saveSnapshot: (localFilePath: string, options: {
32
+ destPath: string;
33
+ reportDir: string;
34
+ }) => string | Promise<string>;
35
+ }
36
+ export interface ErrorDetails {
37
+ title: string;
38
+ data?: unknown;
39
+ filePath: string;
40
+ }
41
+ export interface ImageSize {
42
+ width: number;
43
+ height: number;
44
+ }
45
+ export interface ImageFile {
46
+ path: string;
47
+ size: ImageSize;
48
+ }
49
+ export interface RefImageFile extends ImageFile {
50
+ /**
51
+ * @note defined if testplane >= 8.13.0
52
+ */
53
+ relativePath?: string;
54
+ }
55
+ export interface ImageBuffer {
56
+ buffer: Buffer;
57
+ }
58
+ export interface ImageBase64 {
59
+ base64: string;
60
+ size: ImageSize;
61
+ }
62
+ export interface DiffOptions extends LooksSameOptions {
63
+ current: string;
64
+ reference: string;
65
+ diffColor: string;
66
+ }
67
+ export interface TestError {
68
+ name: string;
69
+ message: string;
70
+ /**
71
+ * @note defined if testplane >= 8.11.0
72
+ */
73
+ snippet?: string;
74
+ stack?: string;
75
+ stateName?: string;
76
+ details?: ErrorDetails;
77
+ screenshot?: ImageBase64 | ImageFile;
78
+ }
79
+ export interface ImageInfoDiff {
80
+ status: TestStatus.FAIL;
81
+ stateName: string;
82
+ /**
83
+ * @note Ref image is absent in pwt test results
84
+ */
85
+ refImg?: RefImageFile;
86
+ diffClusters?: CoordBounds[];
87
+ expectedImg: ImageFile;
88
+ actualImg: ImageFile;
89
+ diffImg?: ImageFile | ImageBuffer;
90
+ diffOptions: DiffOptions;
91
+ /**
92
+ * @note defined if hermione >= 8.2.0
93
+ */
94
+ differentPixels?: number;
95
+ /**
96
+ * @note defined if hermione >= 8.2.0
97
+ */
98
+ diffRatio?: number;
99
+ }
100
+ interface AssertViewSuccess {
101
+ stateName: string;
102
+ refImg: RefImageFile;
103
+ }
104
+ export interface ImageInfoSuccess {
105
+ status: TestStatus.SUCCESS;
106
+ stateName: string;
107
+ /**
108
+ * @note Ref image is absent in pwt test results
109
+ */
110
+ refImg?: RefImageFile;
111
+ diffClusters?: CoordBounds[];
112
+ expectedImg: ImageFile;
113
+ actualImg?: ImageFile;
114
+ }
115
+ export interface ImageInfoPageSuccess {
116
+ status: TestStatus.SUCCESS;
117
+ actualImg: ImageFile | ImageBase64;
118
+ }
119
+ export interface ImageInfoPageError {
120
+ status: TestStatus.ERROR;
121
+ actualImg: ImageFile | ImageBase64;
122
+ }
123
+ export interface ImageInfoNoRef {
124
+ status: TestStatus.ERROR;
125
+ error?: TestError;
126
+ stateName: string;
127
+ /**
128
+ * @note Ref image is absent in pwt test results
129
+ */
130
+ refImg?: RefImageFile;
131
+ actualImg: ImageFile;
132
+ }
133
+ export interface ImageInfoUpdated {
134
+ status: TestStatus.UPDATED;
135
+ stateName: string;
136
+ refImg: RefImageFile;
137
+ actualImg: ImageFile;
138
+ expectedImg: ImageFile;
139
+ }
140
+ export type ImageInfoWithState = ImageInfoDiff | ImageInfoSuccess | ImageInfoNoRef | ImageInfoUpdated;
141
+ export type ImageInfoFull = ImageInfoWithState | ImageInfoPageSuccess | ImageInfoPageError;
142
+ export type ImageInfo = Omit<ImageInfoDiff, 'status' | 'stateName'> | Omit<ImageInfoSuccess, 'status' | 'stateName'> | Omit<ImageInfoNoRef, 'status' | 'stateName'> | Omit<ImageInfoPageSuccess, 'status' | 'stateName'>;
143
+ export type AssertViewResult = (AssertViewSuccess | ImageDiffError | NoRefImageError) & {
144
+ isUpdated?: boolean;
145
+ };
146
+ export interface TestSpecByPath {
147
+ testPath: string[];
148
+ browserId: string;
149
+ }
150
+ export interface HtmlReporterApi {
151
+ htmlReporter: HtmlReporter;
152
+ }
153
+ export interface ErrorPattern {
154
+ name: string;
155
+ pattern: string;
156
+ }
157
+ export interface PluginDescription {
158
+ name: string;
159
+ component: string;
160
+ point?: string;
161
+ position?: 'after' | 'before' | 'wrap';
162
+ config?: Record<string, unknown>;
163
+ }
164
+ export interface CustomGuiItem {
165
+ type: string;
166
+ controls: {
167
+ label: string;
168
+ value: string;
169
+ }[];
170
+ initialize?: (data: {
171
+ testplane: Testplane;
172
+ /**
173
+ * @deprecated Use `testplane` instead
174
+ */
175
+ hermione: Testplane;
176
+ ctx: object;
177
+ }) => void | Promise<void>;
178
+ action: (data: {
179
+ testplane: Testplane;
180
+ /**
181
+ * @deprecated Use `testplane` instead
182
+ */
183
+ hermione: Testplane;
184
+ ctx: object;
185
+ control: object;
186
+ }) => void | Promise<void>;
187
+ }
188
+ type AxiosPost = typeof axios['post'];
189
+ type AxiosRequestOptions = Parameters<AxiosPost>[2];
190
+ export interface StaticImageAccepterConfig {
191
+ enabled: boolean;
192
+ repositoryUrl: string;
193
+ pullRequestUrl: string;
194
+ serviceUrl: string;
195
+ axiosRequestOptions?: AxiosRequestOptions;
196
+ meta: Record<string, unknown>;
197
+ }
198
+ export interface StaticImageAccepterRequest extends Pick<StaticImageAccepterConfig, 'repositoryUrl' | 'pullRequestUrl'> {
199
+ message: string;
200
+ meta?: StaticImageAccepterConfig['meta'];
201
+ imagesInfo: Array<{
202
+ /**
203
+ * @note base64
204
+ */
205
+ image: string;
206
+ /**
207
+ * @note relative to repository root
208
+ */
209
+ path: string;
210
+ }>;
211
+ }
212
+ export interface ReporterConfig {
213
+ baseHost: string;
214
+ commandsWithShortHistory: string[];
215
+ customGui: Record<string, CustomGuiItem[]>;
216
+ customScripts: (() => void)[];
217
+ defaultView: ViewMode;
218
+ diffMode: DiffModeId;
219
+ enabled: boolean;
220
+ errorPatterns: ErrorPattern[];
221
+ lazyLoadOffset: number | null;
222
+ metaInfoBaseUrls: Record<string, string>;
223
+ path: string;
224
+ plugins: PluginDescription[];
225
+ pluginsEnabled: boolean;
226
+ saveErrorDetails: boolean;
227
+ saveFormat: SaveFormat;
228
+ yandexMetrika: {
229
+ enabled?: boolean;
230
+ counterNumber: null | number;
231
+ };
232
+ staticImageAccepter: StaticImageAccepterConfig;
233
+ uiMode: UiMode | null;
234
+ }
235
+ export type ReporterOptions = Omit<ReporterConfig, 'errorPatterns'> & {
236
+ errorPatterns: (string | ErrorPattern)[];
237
+ };
238
+ export type StoreReporterConfig = Omit<ReporterConfig, 'errorPatterns'> & {
239
+ errorPatterns: (ErrorPattern & {
240
+ regexp: RegExp;
241
+ })[];
242
+ };
243
+ export interface DbUrlsJsonData {
244
+ dbUrls: string[];
245
+ jsonUrls: string[];
246
+ }
247
+ export type RawSuitesRow = [
248
+ suitePath: string,
249
+ suiteName: string,
250
+ name: string,
251
+ suiteUrl: string,
252
+ metaInfo: string,
253
+ history: string,
254
+ description: string,
255
+ error: string,
256
+ skipReason: string,
257
+ imagesInfo: string,
258
+ screenshot: number,
259
+ multipleTabs: number,
260
+ status: string,
261
+ timestamp: number,
262
+ duration: number,
263
+ attachments: string
264
+ ];
265
+ export type LabeledSuitesRow = {
266
+ [K in (typeof SUITES_TABLE_COLUMNS)[number]['name']]: string;
267
+ };
268
+ export interface BrowserItem {
269
+ id: string;
270
+ versions: string[];
271
+ }
272
+ export declare enum TestStepKey {
273
+ Name = "n",
274
+ Args = "a",
275
+ Duration = "d",
276
+ IsFailed = "f",
277
+ Children = "c",
278
+ IsGroup = "g",
279
+ TimeStart = "ts",
280
+ Repeat = "r"
281
+ }
282
+ export interface TestStepCompressed {
283
+ [TestStepKey.Name]: string;
284
+ [TestStepKey.Args]: string[];
285
+ [TestStepKey.Duration]: number;
286
+ [TestStepKey.TimeStart]: number;
287
+ [TestStepKey.IsFailed]: boolean;
288
+ [TestStepKey.IsGroup]: boolean;
289
+ [TestStepKey.Children]?: TestStepCompressed[];
290
+ [TestStepKey.Repeat]?: number;
291
+ }
292
+ export declare enum AttachmentType {
293
+ Snapshot = 0
294
+ }
295
+ export interface SnapshotAttachment {
296
+ type: AttachmentType.Snapshot;
297
+ path: string;
298
+ maxWidth: number;
299
+ maxHeight: number;
300
+ }
301
+ export type Attachment = SnapshotAttachment;
302
+ export interface ApiErrorResponse {
303
+ error: {
304
+ message: string;
305
+ };
306
+ }
307
+ type ApiResponse<T> = ApiErrorResponse | {
308
+ data: T;
309
+ };
310
+ export interface UpdateTimeTravelSettingsRequest {
311
+ useRecommendedSettings: boolean;
312
+ }
313
+ export type UpdateTimeTravelSettingsResponse = ApiResponse<{
314
+ browserFeatures: Record<string, BrowserFeature[]>;
315
+ }>;