complexqa_frontend_core 1.6.4 → 1.6.6
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/package.json
CHANGED
|
@@ -80,6 +80,7 @@ export class TableConfiguration extends abstractAppConfiguration
|
|
|
80
80
|
|
|
81
81
|
this.bootstrap_test_case();
|
|
82
82
|
this.bootstrap_team_member();
|
|
83
|
+
this.bootstrap_test_run();
|
|
83
84
|
|
|
84
85
|
this.state.loaded = true;
|
|
85
86
|
}
|
|
@@ -105,6 +106,26 @@ export class TableConfiguration extends abstractAppConfiguration
|
|
|
105
106
|
}
|
|
106
107
|
|
|
107
108
|
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @version v.0.1 (17/08/2025)
|
|
112
|
+
*/
|
|
113
|
+
static bootstrap_test_run()
|
|
114
|
+
{
|
|
115
|
+
let payload_listing = {};
|
|
116
|
+
|
|
117
|
+
let columns = this.bootstrap_test_run_columns();
|
|
118
|
+
|
|
119
|
+
payload_listing.config = new typeTableConfiguration({
|
|
120
|
+
columns: columns
|
|
121
|
+
});
|
|
122
|
+
|
|
123
|
+
this.config.test_run = {
|
|
124
|
+
listing: payload_listing
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
|
|
108
129
|
/**
|
|
109
130
|
*
|
|
110
131
|
* @version v.0.1 (08/01/2026)
|
|
@@ -290,4 +311,81 @@ export class TableConfiguration extends abstractAppConfiguration
|
|
|
290
311
|
|
|
291
312
|
return response;
|
|
292
313
|
}
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @version v.0.1 (17/08/2025)
|
|
319
|
+
*/
|
|
320
|
+
static bootstrap_test_run_columns()
|
|
321
|
+
{
|
|
322
|
+
let response = [];
|
|
323
|
+
|
|
324
|
+
response.push(new typeTableColumn({
|
|
325
|
+
header_name : 'ID',
|
|
326
|
+
field : 'test_run_id',
|
|
327
|
+
width : '120',
|
|
328
|
+
sort_order : '1',
|
|
329
|
+
cell_classes: 'bg-secondary',
|
|
330
|
+
default_sort: 'asc',
|
|
331
|
+
is_sortable : true,
|
|
332
|
+
is_filter : true,
|
|
333
|
+
is_hide : true,
|
|
334
|
+
is_editable : false,
|
|
335
|
+
}));
|
|
336
|
+
|
|
337
|
+
response.push(new typeTableColumn({
|
|
338
|
+
header_name : 'Name',
|
|
339
|
+
field : 'test_run_name',
|
|
340
|
+
width : '480',
|
|
341
|
+
sort_order : '1',
|
|
342
|
+
cell_classes: '',
|
|
343
|
+
default_sort: '',
|
|
344
|
+
is_sortable : true,
|
|
345
|
+
is_filter : true,
|
|
346
|
+
is_hide : false,
|
|
347
|
+
is_editable : true,
|
|
348
|
+
}));
|
|
349
|
+
|
|
350
|
+
response.push(new typeTableColumn({
|
|
351
|
+
header_name : 'description',
|
|
352
|
+
field : 'test_run_description',
|
|
353
|
+
width : '120',
|
|
354
|
+
sort_order : '2',
|
|
355
|
+
cell_classes: '',
|
|
356
|
+
default_sort: '',
|
|
357
|
+
is_sortable : true,
|
|
358
|
+
is_filter : true,
|
|
359
|
+
is_hide : false,
|
|
360
|
+
is_editable : true,
|
|
361
|
+
}));
|
|
362
|
+
|
|
363
|
+
response.push(new typeTableColumn({
|
|
364
|
+
header_name : 'status',
|
|
365
|
+
field : 'test_run_status',
|
|
366
|
+
width : '120',
|
|
367
|
+
sort_order : '2',
|
|
368
|
+
cell_classes: '',
|
|
369
|
+
default_sort: '',
|
|
370
|
+
is_sortable : true,
|
|
371
|
+
is_filter : true,
|
|
372
|
+
is_hide : false,
|
|
373
|
+
is_editable : true,
|
|
374
|
+
}));
|
|
375
|
+
|
|
376
|
+
response.push(new typeTableColumn({
|
|
377
|
+
header_name : 'completed at',
|
|
378
|
+
field : 'completed_at',
|
|
379
|
+
width : '120',
|
|
380
|
+
sort_order : '2',
|
|
381
|
+
cell_classes: 'bg-secondary',
|
|
382
|
+
default_sort: '',
|
|
383
|
+
is_sortable : true,
|
|
384
|
+
is_filter : true,
|
|
385
|
+
is_hide : true,
|
|
386
|
+
is_editable : false,
|
|
387
|
+
}));
|
|
388
|
+
|
|
389
|
+
return response;
|
|
390
|
+
}
|
|
293
391
|
}
|
|
@@ -66,6 +66,13 @@ export class UserService extends abstractService
|
|
|
66
66
|
static csrf_token = false;
|
|
67
67
|
|
|
68
68
|
|
|
69
|
+
/**
|
|
70
|
+
*
|
|
71
|
+
* @type {string}
|
|
72
|
+
*/
|
|
73
|
+
static start_page = '/web/en/project/listing';
|
|
74
|
+
|
|
75
|
+
|
|
69
76
|
/**
|
|
70
77
|
*
|
|
71
78
|
*
|
|
@@ -294,4 +301,14 @@ export class UserService extends abstractService
|
|
|
294
301
|
{
|
|
295
302
|
UserService.current_language = current_language;
|
|
296
303
|
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
*
|
|
307
|
+
* @version v.1.1 (22/02/2026)
|
|
308
|
+
* @param {string} start_page
|
|
309
|
+
*/
|
|
310
|
+
static set_start_page(start_page)
|
|
311
|
+
{
|
|
312
|
+
UserService.start_page = start_page;
|
|
313
|
+
}
|
|
297
314
|
}
|