html-reporter 7.3.1 → 7.6.1
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/CHANGELOG.md +43 -0
- package/README.md +44 -8
- package/lib/common-utils.js +13 -14
- package/lib/constants/extension-points.js +2 -0
- package/lib/constants/plugin-events.js +10 -0
- package/lib/gui/server.js +11 -4
- package/lib/gui/tool-runner/index.js +4 -2
- package/lib/gui/tool-runner/utils.js +4 -20
- package/lib/plugin-api.js +14 -1
- package/lib/report-builder/static.js +1 -0
- package/lib/sqlite-adapter.js +4 -1
- package/lib/static/components/controls/gui-controls.js +8 -2
- package/lib/static/components/gui.js +24 -11
- package/lib/static/components/report.js +19 -10
- package/lib/static/components/section/body/result.js +5 -1
- package/lib/static/gui.html +1 -1
- package/lib/static/gui.min.css +1 -1
- package/lib/static/gui.min.js +15 -15
- package/lib/static/modules/action-names.js +2 -0
- package/lib/static/modules/actions.js +16 -2
- package/lib/static/modules/default-state.js +1 -0
- package/lib/static/modules/reducers/db.js +4 -2
- package/lib/static/modules/reducers/index.js +2 -0
- package/lib/static/modules/reducers/stopping.js +16 -0
- package/lib/static/modules/sqlite.js +20 -15
- package/lib/static/report.min.css +1 -1
- package/lib/static/report.min.js +15 -15
- package/lib/static/styles.css +1 -1
- package/package.json +4 -4
- package/webpack.common.js +5 -0
- package/lib/static/0.min.js +0 -16
- package/lib/static/2.min.js +0 -16
- package/sqlite.db +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
<a name="7.6.1"></a>
|
|
6
|
+
## [7.6.1](https://github.com/gemini-testing/html-reporter/compare/v7.6.0...v7.6.1) (2021-11-08)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* ability to click on the entire area of the links inside burger menu ([33e2109](https://github.com/gemini-testing/html-reporter/commit/33e2109))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
<a name="7.6.0"></a>
|
|
16
|
+
# [7.6.0](https://github.com/gemini-testing/html-reporter/compare/v7.5.0...v7.6.0) (2021-11-02)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* added 'root' extension-point ([b7e571a](https://github.com/gemini-testing/html-reporter/commit/b7e571a))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
<a name="7.5.0"></a>
|
|
26
|
+
# [7.5.0](https://github.com/gemini-testing/html-reporter/compare/v7.4.0...v7.5.0) (2021-10-25)
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Features
|
|
30
|
+
|
|
31
|
+
* add an ability to stop tests directly from GUI ([686e50a](https://github.com/gemini-testing/html-reporter/commit/686e50a))
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
<a name="7.4.0"></a>
|
|
36
|
+
# [7.4.0](https://github.com/gemini-testing/html-reporter/compare/v7.3.1...v7.4.0) (2021-10-25)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
### Features
|
|
40
|
+
|
|
41
|
+
* merge all existing tables inside sqlite database ([#404](https://github.com/gemini-testing/html-reporter/issues/404)) ([5c727fd](https://github.com/gemini-testing/html-reporter/commit/5c727fd))
|
|
42
|
+
* **gui:** add ability to use db connection on client side ([#402](https://github.com/gemini-testing/html-reporter/issues/402)) ([8f445e3](https://github.com/gemini-testing/html-reporter/commit/8f445e3))
|
|
43
|
+
* add "result_meta" extension point for html-reporter plugins ([#401](https://github.com/gemini-testing/html-reporter/issues/401)) ([fb52a0a](https://github.com/gemini-testing/html-reporter/commit/fb52a0a))
|
|
44
|
+
* add API with ability to access the database from other plugins ([#400](https://github.com/gemini-testing/html-reporter/issues/400)) ([0e9e97c](https://github.com/gemini-testing/html-reporter/commit/0e9e97c))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
5
48
|
<a name="7.3.1"></a>
|
|
6
49
|
## [7.3.1](https://github.com/gemini-testing/html-reporter/compare/v7.3.0...v7.3.1) (2021-09-20)
|
|
7
50
|
|
package/README.md
CHANGED
|
@@ -288,8 +288,10 @@ directory.
|
|
|
288
288
|
```
|
|
289
289
|
|
|
290
290
|
Currently, there are extension points:
|
|
291
|
-
* `result` - allows to extend each test result; adds `resultId` and `testName` props to the plugin component
|
|
291
|
+
* `result` - allows to extend each test result; adds `resultId` and `testName` props to the plugin component;
|
|
292
|
+
* `result_meta` - allows to extend meta information of each test result; adds `result` and `testName` props to the plugin component;
|
|
292
293
|
* `menu-bar` - allows to extend menu bar.
|
|
294
|
+
* `root` - allows to add floating items like modal or popup.
|
|
293
295
|
|
|
294
296
|
An extension point may be extended by more than one component. In that case order of components application is determined by `plugins` config order. Each following component is applied to all previously composed components at the extension point.
|
|
295
297
|
|
|
@@ -372,7 +374,7 @@ Files that will be created during test execution:
|
|
|
372
374
|
|
|
373
375
|
## Additional commands
|
|
374
376
|
|
|
375
|
-
Additional commands that are added to the
|
|
377
|
+
Additional commands that are added to the hermione.
|
|
376
378
|
|
|
377
379
|
### gui
|
|
378
380
|
|
|
@@ -428,9 +430,44 @@ npm run test-func
|
|
|
428
430
|
|
|
429
431
|
Integration tests run on Chromium in headless mode.
|
|
430
432
|
|
|
431
|
-
##
|
|
433
|
+
## API
|
|
432
434
|
|
|
433
|
-
Html-reporter adds to
|
|
435
|
+
Html-reporter adds to `hermione` object with its own API.
|
|
436
|
+
|
|
437
|
+
**Properties of the `hermione.htmlReporter` object**
|
|
438
|
+
|
|
439
|
+
Property name | Description
|
|
440
|
+
------------------------- | -------------
|
|
441
|
+
`events` | Events list for subscription.
|
|
442
|
+
`extraItems` | Items list which will be added to the menu bar.
|
|
443
|
+
`metaInfoExtenders` | Items list which will be added to the meta info.
|
|
444
|
+
`imagesSaver` | Interface to save image into user storage.
|
|
445
|
+
`reportsSaver` | Interface to save sqlite database into user storage.
|
|
446
|
+
|
|
447
|
+
**Available events which are triggered in the main process**
|
|
448
|
+
|
|
449
|
+
Event | Description
|
|
450
|
+
------------------------- | -------------
|
|
451
|
+
`DATABASE_CREATED` | Will be triggered after sqlite database is created. The handler accepts a database instance. The event is synchronous.
|
|
452
|
+
|
|
453
|
+
### events
|
|
454
|
+
|
|
455
|
+
Example of a subscription to an event `DATABASE_CREATED` from another hermione-plugin in the main process:
|
|
456
|
+
|
|
457
|
+
```js
|
|
458
|
+
module.exports = (hermione, opts) => {
|
|
459
|
+
if (!opts.enabled || hermione.isWorker()) {
|
|
460
|
+
return;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
// `htmlreporter` field is guaranteed to be in the `hermione` object when `INIT` event is emitted
|
|
464
|
+
hermione.on(hermione.events.INIT, () => {
|
|
465
|
+
hermione.htmlReporter.on(hermione.htmlReporter.events.DATABASE_CREATED, (db) => {
|
|
466
|
+
db.prepare(`CREATE TABLE IF NOT EXISTS test1 (foo TEXT, bar TEXT)`).run();
|
|
467
|
+
});
|
|
468
|
+
});
|
|
469
|
+
};
|
|
470
|
+
```
|
|
434
471
|
|
|
435
472
|
### addExtraItem
|
|
436
473
|
|
|
@@ -440,7 +477,7 @@ Adds item to html report as link:
|
|
|
440
477
|
@param {String} text of link
|
|
441
478
|
@param {String} url of link
|
|
442
479
|
|
|
443
|
-
|
|
480
|
+
hermione.htmlReporter.addExtraItem('some-text', 'some-url')
|
|
444
481
|
```
|
|
445
482
|
|
|
446
483
|
In this case url with link 'some-url' and text 'some-text' will be added to the menu bar.
|
|
@@ -450,7 +487,7 @@ In this case url with link 'some-url' and text 'some-text' will be added to the
|
|
|
450
487
|
Extend meta-info of each test using passed data:
|
|
451
488
|
|
|
452
489
|
```js
|
|
453
|
-
|
|
490
|
+
hermione.htmlReporter.addMetaInfoExtender(name, value);
|
|
454
491
|
```
|
|
455
492
|
|
|
456
493
|
* **name** (required) `String` - name of meta info
|
|
@@ -458,14 +495,13 @@ tool.htmlReporter.addMetaInfoExtender(name, value);
|
|
|
458
495
|
|
|
459
496
|
Example:
|
|
460
497
|
```js
|
|
461
|
-
|
|
498
|
+
hermione.htmlReporter.addMetaInfoExtender('foo', (data, extraItems) => {
|
|
462
499
|
return data.testName + extraItems.platform;
|
|
463
500
|
});
|
|
464
501
|
```
|
|
465
502
|
|
|
466
503
|
In this case a line `suite full name: some-platform` will be added to the meta info of each test.
|
|
467
504
|
|
|
468
|
-
|
|
469
505
|
### externalStorage
|
|
470
506
|
|
|
471
507
|
You can redefine native api for images or sqlite dbs saving and use your own storage.
|
package/lib/common-utils.js
CHANGED
|
@@ -83,23 +83,22 @@ function createTableQuery(tableName, columns) {
|
|
|
83
83
|
return `CREATE TABLE IF NOT EXISTS ${tableName} (${formattedColumns})`;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
exports.
|
|
87
|
-
|
|
88
|
-
DB_SUITES_TABLE_NAME
|
|
89
|
-
];
|
|
90
|
-
const mkMergeQuery = (table) => `INSERT OR IGNORE INTO ${table} SELECT * FROM attached.${table}`;
|
|
91
|
-
const queries = [].concat(
|
|
92
|
-
`PRAGMA page_size = ${DB_MAX_AVAILABLE_PAGE_SIZE}`,
|
|
93
|
-
exports.createTablesQuery(),
|
|
94
|
-
);
|
|
86
|
+
exports.mergeTables = ({db, dbPaths, getExistingTables = () => {}}) => {
|
|
87
|
+
db.prepare(`PRAGMA page_size = ${DB_MAX_AVAILABLE_PAGE_SIZE}`).run();
|
|
95
88
|
|
|
96
89
|
for (const dbPath of dbPaths) {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
90
|
+
db.prepare(`ATTACH '${dbPath}' AS attached`).run();
|
|
91
|
+
|
|
92
|
+
const getTablesStatement = db.prepare(`SELECT name FROM attached.sqlite_master WHERE type='table'`);
|
|
93
|
+
const tables = getExistingTables(getTablesStatement);
|
|
101
94
|
|
|
102
|
-
|
|
95
|
+
for (const tableName of tables) {
|
|
96
|
+
db.prepare(`CREATE TABLE IF NOT EXISTS ${tableName} AS SELECT * FROM attached.${tableName} LIMIT 0`).run();
|
|
97
|
+
db.prepare(`INSERT OR IGNORE INTO ${tableName} SELECT * FROM attached.${tableName}`).run();
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
db.prepare(`DETACH attached`).run();
|
|
101
|
+
}
|
|
103
102
|
};
|
|
104
103
|
|
|
105
104
|
exports.compareDatabaseRowsByTimestamp = (row1, row2) => {
|
package/lib/gui/server.js
CHANGED
|
@@ -9,7 +9,6 @@ const {INTERNAL_SERVER_ERROR, OK} = require('http-codes');
|
|
|
9
9
|
|
|
10
10
|
const App = require('./app');
|
|
11
11
|
const {MAX_REQUEST_SIZE, KEEP_ALIVE_TIMEOUT, HEADERS_TIMEOUT} = require('./constants/server');
|
|
12
|
-
const {IMAGES_PATH, ERROR_DETAILS_PATH} = require('../constants/paths');
|
|
13
12
|
const {logger, initializeCustomGui, runCustomGuiAction} = require('../server-utils');
|
|
14
13
|
const initPluginsRoutes = require('./routes/plugins');
|
|
15
14
|
|
|
@@ -26,9 +25,7 @@ exports.start = async ({paths, hermione, guiApi, configs}) => {
|
|
|
26
25
|
server.use(initPluginsRoutes(express.Router(), pluginConfig));
|
|
27
26
|
|
|
28
27
|
server.use(express.static(path.join(__dirname, '../static'), {index: 'gui.html'}));
|
|
29
|
-
server.use(express.static(process.cwd()));
|
|
30
|
-
server.use(`/${IMAGES_PATH}`, express.static(path.join(process.cwd(), pluginConfig.path, IMAGES_PATH)));
|
|
31
|
-
server.use(`/${ERROR_DETAILS_PATH}`, express.static(path.join(process.cwd(), pluginConfig.path, ERROR_DETAILS_PATH)));
|
|
28
|
+
server.use(express.static(path.join(process.cwd(), pluginConfig.path)));
|
|
32
29
|
|
|
33
30
|
server.get('/', (req, res) => res.sendFile(path.join(__dirname, '../static', 'gui.html')));
|
|
34
31
|
|
|
@@ -113,6 +110,16 @@ exports.start = async ({paths, hermione, guiApi, configs}) => {
|
|
|
113
110
|
logger.log('server shutting down');
|
|
114
111
|
});
|
|
115
112
|
|
|
113
|
+
server.post('/stop', (req, res) => {
|
|
114
|
+
try {
|
|
115
|
+
// pass 0 to prevent terminating hermione process
|
|
116
|
+
hermione.halt('Tests were stopped by the user', 0);
|
|
117
|
+
res.sendStatus(OK);
|
|
118
|
+
} catch (e) {
|
|
119
|
+
res.status(INTERNAL_SERVER_ERROR).send(`Error while stopping tests: ${e.message}`);
|
|
120
|
+
}
|
|
121
|
+
});
|
|
122
|
+
|
|
116
123
|
await app.initialize();
|
|
117
124
|
|
|
118
125
|
const {port, hostname} = options;
|
|
@@ -60,12 +60,14 @@ module.exports = class ToolRunner {
|
|
|
60
60
|
await mergeDatabasesForReuse(this._reportPath);
|
|
61
61
|
|
|
62
62
|
this._reportBuilder = GuiReportBuilder.create(this._hermione, this._pluginConfig, {reuse: true});
|
|
63
|
+
this._subscribeOnEvents();
|
|
64
|
+
|
|
65
|
+
this._collection = await this._readTests();
|
|
66
|
+
|
|
63
67
|
await this._reportBuilder.init();
|
|
64
68
|
await this._reportBuilder.saveStaticFiles();
|
|
65
69
|
|
|
66
|
-
this._subscribeOnEvents();
|
|
67
70
|
this._reportBuilder.setApiValues(this._hermione.htmlReporter.values);
|
|
68
|
-
this._collection = await this._readTests();
|
|
69
71
|
await this._handleRunnableCollection();
|
|
70
72
|
}
|
|
71
73
|
|
|
@@ -11,8 +11,7 @@ const NestedError = require('nested-error-stacks');
|
|
|
11
11
|
const StaticTestsTreeBuilder = require('../../tests-tree-builder/static');
|
|
12
12
|
const {logger} = require('../../server-utils');
|
|
13
13
|
const constantFileNames = require('../../constants/file-names');
|
|
14
|
-
const {
|
|
15
|
-
const {writeDatabaseUrlsFile} = require('../../server-utils');
|
|
14
|
+
const {mergeTables, selectAllSuitesQuery, compareDatabaseRowsByTimestamp} = require('../../common-utils');
|
|
16
15
|
|
|
17
16
|
exports.formatId = (hash, browserId) => `${hash}/${browserId}`;
|
|
18
17
|
|
|
@@ -48,26 +47,11 @@ exports.mergeDatabasesForReuse = async (reportPath) => {
|
|
|
48
47
|
logger.warn(chalk.yellow(`Merge databases to ${constantFileNames.LOCAL_DATABASE_NAME}`));
|
|
49
48
|
|
|
50
49
|
const mergedDatabase = new Database(mergedDbPath);
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
mergedDatabase.prepare(query).run();
|
|
55
|
-
} catch (err) {
|
|
56
|
-
// TODO: To be able to work with files that have been created before
|
|
57
|
-
// TODO: Remove in next versions
|
|
58
|
-
if (/no such table/.test(err)) {
|
|
59
|
-
console.warn(err);
|
|
60
|
-
|
|
61
|
-
continue;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
throw err;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
50
|
+
mergeTables({db: mergedDatabase, dbPaths, getExistingTables: (statement) => {
|
|
51
|
+
return statement.all().map((table) => table.name);
|
|
52
|
+
}});
|
|
68
53
|
mergedDatabase.close();
|
|
69
54
|
|
|
70
|
-
await writeDatabaseUrlsFile(reportPath, [constantFileNames.LOCAL_DATABASE_NAME]);
|
|
71
55
|
await Promise.all(dbPaths.map(p => fs.remove(p)));
|
|
72
56
|
};
|
|
73
57
|
|
package/lib/plugin-api.js
CHANGED
|
@@ -1,7 +1,16 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
const AsyncEmitter = require('gemini-core').events.AsyncEmitter;
|
|
4
|
+
const pluginEvents = require('./constants/plugin-events');
|
|
5
|
+
|
|
6
|
+
module.exports = class HtmlReporter extends AsyncEmitter {
|
|
7
|
+
static create() {
|
|
8
|
+
return new this();
|
|
9
|
+
}
|
|
10
|
+
|
|
4
11
|
constructor() {
|
|
12
|
+
super();
|
|
13
|
+
|
|
5
14
|
this._values = {
|
|
6
15
|
extraItems: {},
|
|
7
16
|
metaInfoExtenders: {},
|
|
@@ -10,6 +19,10 @@ module.exports = class HtmlReporter {
|
|
|
10
19
|
};
|
|
11
20
|
}
|
|
12
21
|
|
|
22
|
+
get events() {
|
|
23
|
+
return pluginEvents;
|
|
24
|
+
}
|
|
25
|
+
|
|
13
26
|
addExtraItem(key, value) {
|
|
14
27
|
this._values.extraItems[key] = value;
|
|
15
28
|
}
|
package/lib/sqlite-adapter.js
CHANGED
|
@@ -15,7 +15,8 @@ module.exports = class SqliteAdapter {
|
|
|
15
15
|
return new SqliteAdapter(...args);
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
constructor({reportPath, reuse = false}) {
|
|
18
|
+
constructor({hermione, reportPath, reuse = false}) {
|
|
19
|
+
this._hermione = hermione;
|
|
19
20
|
this._reportPath = reportPath;
|
|
20
21
|
this._reuse = reuse;
|
|
21
22
|
this._db = null;
|
|
@@ -39,6 +40,8 @@ module.exports = class SqliteAdapter {
|
|
|
39
40
|
debug('db connection opened');
|
|
40
41
|
|
|
41
42
|
createTablesQuery().forEach((query) => this._db.prepare(query).run());
|
|
43
|
+
|
|
44
|
+
this._hermione.htmlReporter.emit(this._hermione.htmlReporter.events.DATABASE_CREATED, this._db);
|
|
42
45
|
} catch (err) {
|
|
43
46
|
throw new NestedError(`Error creating database at "${dbPath}"`, err);
|
|
44
47
|
}
|
|
@@ -19,6 +19,7 @@ class GuiControls extends Component {
|
|
|
19
19
|
// from store
|
|
20
20
|
running: PropTypes.bool.isRequired,
|
|
21
21
|
processing: PropTypes.bool.isRequired,
|
|
22
|
+
stopping: PropTypes.bool.isRequired,
|
|
22
23
|
autoRun: PropTypes.bool.isRequired,
|
|
23
24
|
allRootSuiteIds: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
24
25
|
failedRootSuiteIds: PropTypes.arrayOf(PropTypes.string).isRequired,
|
|
@@ -35,8 +36,7 @@ class GuiControls extends Component {
|
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
render() {
|
|
38
|
-
const {actions, allRootSuiteIds, failedRootSuiteIds, running, autoRun, processing} = this.props;
|
|
39
|
-
|
|
39
|
+
const {actions, allRootSuiteIds, failedRootSuiteIds, running, autoRun, processing, stopping} = this.props;
|
|
40
40
|
return (
|
|
41
41
|
<div className="main-menu container">
|
|
42
42
|
<CustomGuiControls />
|
|
@@ -52,6 +52,11 @@ class GuiControls extends Component {
|
|
|
52
52
|
isDisabled={!failedRootSuiteIds.length || processing}
|
|
53
53
|
handler={this._runFailedTests}
|
|
54
54
|
/>
|
|
55
|
+
<ControlButton
|
|
56
|
+
label="Stop tests"
|
|
57
|
+
isDisabled={!running || stopping}
|
|
58
|
+
handler={actions.stopTests}
|
|
59
|
+
/>
|
|
55
60
|
<AcceptOpenedButton />
|
|
56
61
|
<CommonControls/>
|
|
57
62
|
</div>
|
|
@@ -66,6 +71,7 @@ export default connect(
|
|
|
66
71
|
return {
|
|
67
72
|
running: state.running,
|
|
68
73
|
processing: state.processing,
|
|
74
|
+
stopping: state.stopping,
|
|
69
75
|
autoRun: state.autoRun,
|
|
70
76
|
allRootSuiteIds: state.tree.suites.allRootIds,
|
|
71
77
|
failedRootSuiteIds: state.tree.suites.failedRootIds,
|
|
@@ -5,6 +5,7 @@ import Notifications from 'reapop';
|
|
|
5
5
|
import wybo from 'reapop-theme-wybo';
|
|
6
6
|
import {bindActionCreators} from 'redux';
|
|
7
7
|
|
|
8
|
+
import {ROOT} from '../../constants/extension-points';
|
|
8
9
|
import * as actions from '../modules/actions';
|
|
9
10
|
import ControlButtons from './controls/gui-controls';
|
|
10
11
|
import SkippedList from './skipped-list';
|
|
@@ -14,6 +15,7 @@ import MainTree from './main-tree';
|
|
|
14
15
|
import CustomScripts from './custom-scripts';
|
|
15
16
|
import clientEvents from '../../gui/constants/client-events';
|
|
16
17
|
import FaviconChanger from './favicon-changer';
|
|
18
|
+
import ExtensionPoint from './extension-point';
|
|
17
19
|
|
|
18
20
|
class Gui extends Component {
|
|
19
21
|
static propTypes = {
|
|
@@ -30,6 +32,10 @@ class Gui extends Component {
|
|
|
30
32
|
this._subscribeToEvents();
|
|
31
33
|
}
|
|
32
34
|
|
|
35
|
+
componentWillUnmount() {
|
|
36
|
+
this.props.actions.finGuiReport();
|
|
37
|
+
}
|
|
38
|
+
|
|
33
39
|
_subscribeToEvents() {
|
|
34
40
|
const {actions} = this.props;
|
|
35
41
|
const eventSource = new EventSource('/events');
|
|
@@ -60,21 +66,28 @@ class Gui extends Component {
|
|
|
60
66
|
const {allRootSuiteIds, loading, customScripts} = this.props;
|
|
61
67
|
|
|
62
68
|
if (!allRootSuiteIds.length) {
|
|
63
|
-
return (
|
|
69
|
+
return (
|
|
70
|
+
<Fragment>
|
|
71
|
+
<Notifications theme={wybo}/>
|
|
72
|
+
<Loading active={true} />
|
|
73
|
+
</Fragment>
|
|
74
|
+
);
|
|
64
75
|
}
|
|
65
76
|
|
|
66
77
|
return (
|
|
67
78
|
<Fragment>
|
|
68
|
-
<
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
79
|
+
<ExtensionPoint name={ROOT}>
|
|
80
|
+
<CustomScripts scripts={customScripts}/>
|
|
81
|
+
<Notifications theme={wybo}/>
|
|
82
|
+
<FaviconChanger />
|
|
83
|
+
<ControlButtons />
|
|
84
|
+
<main className="container">
|
|
85
|
+
<SkippedList />
|
|
86
|
+
<MainTree />
|
|
87
|
+
</main>
|
|
88
|
+
<Loading active={loading.active} content={loading.content} />
|
|
89
|
+
<ModalContainer />
|
|
90
|
+
</ExtensionPoint>
|
|
78
91
|
</Fragment>
|
|
79
92
|
);
|
|
80
93
|
}
|
|
@@ -5,6 +5,7 @@ import Notifications from 'reapop';
|
|
|
5
5
|
import wybo from 'reapop-theme-wybo';
|
|
6
6
|
import {bindActionCreators} from 'redux';
|
|
7
7
|
|
|
8
|
+
import {ROOT} from '../../constants/extension-points';
|
|
8
9
|
import * as actions from '../modules/actions';
|
|
9
10
|
import Loading from './loading';
|
|
10
11
|
import Header from './header';
|
|
@@ -13,6 +14,7 @@ import SkippedList from './skipped-list';
|
|
|
13
14
|
import MainTree from './main-tree';
|
|
14
15
|
import CustomScripts from './custom-scripts';
|
|
15
16
|
import FaviconChanger from './favicon-changer';
|
|
17
|
+
import ExtensionPoint from './extension-point';
|
|
16
18
|
|
|
17
19
|
class Report extends Component {
|
|
18
20
|
static propTypes = {
|
|
@@ -34,20 +36,27 @@ class Report extends Component {
|
|
|
34
36
|
const {allRootSuiteIds, fetchDbDetails} = this.props;
|
|
35
37
|
|
|
36
38
|
if (!allRootSuiteIds.length && !fetchDbDetails.length) {
|
|
37
|
-
return (
|
|
39
|
+
return (
|
|
40
|
+
<Fragment>
|
|
41
|
+
<Notifications theme={wybo}/>
|
|
42
|
+
<Loading active={true} />
|
|
43
|
+
</Fragment>
|
|
44
|
+
);
|
|
38
45
|
}
|
|
39
46
|
|
|
40
47
|
return (
|
|
41
48
|
<Fragment>
|
|
42
|
-
<
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
<ExtensionPoint name={ROOT}>
|
|
50
|
+
<CustomScripts scripts={this.props.customScripts}/>
|
|
51
|
+
<Notifications theme={wybo} />
|
|
52
|
+
<FaviconChanger />
|
|
53
|
+
<Header/>
|
|
54
|
+
<ControlButtons/>
|
|
55
|
+
<main className="container">
|
|
56
|
+
<SkippedList />
|
|
57
|
+
<MainTree />
|
|
58
|
+
</main>
|
|
59
|
+
</ExtensionPoint>
|
|
51
60
|
</Fragment>
|
|
52
61
|
);
|
|
53
62
|
}
|
|
@@ -4,6 +4,8 @@ import PropTypes from 'prop-types';
|
|
|
4
4
|
import MetaInfo from './meta-info';
|
|
5
5
|
import Description from './description';
|
|
6
6
|
import Tabs from './tabs';
|
|
7
|
+
import ExtensionPoint from '../../extension-point';
|
|
8
|
+
import {RESULT_META} from '../../../../constants/extension-points';
|
|
7
9
|
|
|
8
10
|
class Result extends Component {
|
|
9
11
|
static propTypes = {
|
|
@@ -22,7 +24,9 @@ class Result extends Component {
|
|
|
22
24
|
|
|
23
25
|
return (
|
|
24
26
|
<Fragment>
|
|
25
|
-
<
|
|
27
|
+
<ExtensionPoint name={RESULT_META} result={result} testName={testName}>
|
|
28
|
+
<MetaInfo result={result} testName={testName} />
|
|
29
|
+
</ExtensionPoint>
|
|
26
30
|
{result.description && <Description content={result.description} />}
|
|
27
31
|
<Tabs result={result} />
|
|
28
32
|
</Fragment>
|
package/lib/static/gui.html
CHANGED
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
<link href="gui.min.css" rel="stylesheet"></head>
|
|
10
10
|
<body class="report">
|
|
11
11
|
<div id="app"></div>
|
|
12
|
-
<script type="text/javascript" src="gui.min.js"></script></body>
|
|
12
|
+
<script type="text/javascript" src="sql-wasm.js"></script><script type="text/javascript" src="gui.min.js"></script></body>
|
|
13
13
|
</html>
|
package/lib/static/gui.min.css
CHANGED
|
@@ -509,4 +509,4 @@
|
|
|
509
509
|
.viewmode .ui.selection.active.dropdown .menu {
|
|
510
510
|
border-color: #ffd947;
|
|
511
511
|
}
|
|
512
|
-
@font-face{font-family:YS Text;src:url("//yastatic.net/islands/_/PyVcRbwHetz0gOVWLonWH7Od8zM.woff2") format("woff2"),url("//yastatic.net/islands/_/bIx8jOfCEfR-mECoDUEZywDBuHA.woff") format("woff");font-weight:400;font-style:normal}@font-face{font-family:YS Text;src:url("//yastatic.net/islands/_/7_GKBdKFbUPzKlghJRv55xgz0FQ.woff2") format("woff2"),url("//yastatic.net/islands/_/SmqPmIMEXrW4lOY8QrhTUVDbrro.woff") format("woff");font-weight:500;font-style:normal}@font-face{font-family:YS Text;src:url("//yastatic.net/islands/_/6Roy0LCd05cK4nNCipgzheYcNVU.woff2") format("woff2"),url("//yastatic.net/islands/_/KtHQR1erf3spayoIM4M4ngg0e2E.woff") format("woff");font-weight:700;font-style:normal}.report{font:15px YS Text,Helvetica Neue,Arial,sans-serif;line-height:20px;margin-top:15px;margin-bottom:15px}.container{padding-left:30px;padding-right:30px}main.container{margin-bottom:30px}.browserlist{display:inline-block;vertical-align:top;margin-right:15px;margin-bottom:15px}.browserlist_linear .rc-tree-select-tree-switcher{display:none!important}.rc-tree-select-tree .rc-tree-select-tree-treenode span.rc-tree-select-tree-switcher{width:13px;height:15px;margin-right:0;background-image:none}.rc-tree-select-tree-checkbox{background-image:none!important}.rc-tree-select-tree-checkbox-checked:before,.rc-tree-select-tree-checkbox-indeterminate:before,.rc-tree-select-tree-checkbox:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;color:#ccc}.rc-tree-select-tree-checkbox:before{content:"\F096"}.rc-tree-select-tree .rc-tree-select-tree-treenode{padding:0 0 1px 3px}.browserlist__icon-remove{cursor:pointer;padding-left:2px}.browserlist__icon-tree{color:#424242;font-size:13px}.browserlist__icon-tree:hover{color:#000}.rc-tree-select-tree-checkbox-checked:before,.rc-tree-select-tree-checkbox-indeterminate:before{color:#424242}.rc-tree-select-tree-checkbox-checked:before{content:"\F046"}.rc-tree-select-tree-checkbox-indeterminate:before{content:"\F14A"}.rc-tree-select-tree-title{font-size:12px;color:#000}.rc-tree-select-dropdown{border:1px solid #ccc;box-shadow:0 0 9px 0 #d6d6d6;border-radius:4px}.rc-tree-select-multiple .rc-tree-select-selector{border:0;padding:0}.rc-tree-select-multiple,.rc-tree-select-selector{border:1px solid #ccc;border-radius:2px;line-height:12px}.rc-tree-select-multiple:hover{border:1px solid #555}.rc-tree-select-multiple .rc-tree-select-selector .rc-tree-select-selection-search-input{background:#ffeb9f}.rc-tree-select .rc-tree-select-selection-placeholder{font-size:11px;line-height:22px;height:23px;padding-left:2px}.rc-tree-select-multiple .rc-tree-select-selector .rc-tree-select-selection-item{background:#ffeb9f;border:1px solid #cebe7d;border-radius:3px;padding:4px;margin:1px;font-size:11px;line-height:11px}.rc-tree-select-tree .rc-tree-select-tree-treenode span.rc-tree-select-tree-iconEle{display:none}.strict-match-filter{display:inline-block;margin-left:15px;margin-bottom:15px;line-height:21px}.strict-match-filter .ui.checkbox label{padding-left:55px}.strict-match-filter .ui.toggle.checkbox input:checked~.box:before,.strict-match-filter .ui.toggle.checkbox input:checked~label:before,.strict-match-filter .ui.toggle.checkbox input:focus:checked~.box:before,.strict-match-filter .ui.toggle.checkbox input:focus:checked~label:before{background-color:#ffeb9f!important}.strict-match-filter .ui.checkbox .box,.strict-match-filter .ui.checkbox label{font-size:11px;font-family:inherit}.rc-tree-select .rc-tree-select-selection-placeholder{opacity:.6;font-family:inherit}.ui.dropdown .menu>.item,.ui.selection.dropdown .menu>.item{padding:8px 5px!important;font-size:11px}.menu-bar{display:inline-block;vertical-align:middle;margin-left:15px;font-size:20px}.menu-bar .ui.dropdown .menu>.item,.menu-bar .ui.selection.dropdown .menu>.item{font-size:13px}.select_type_view{height:25px;margin-right:4px}.button,.select_type_view{font-size:11px;font-family:inherit}.button{cursor:pointer;margin-right:5px;background:#fff;border:1px solid #ccc;border-radius:2px;line-height:11px;height:23px;padding:0 5px;outline:0;box-sizing:content-box;transition:border-color .2s,background-color .2s}.button:hover{border-color:#4b4c5a}.button:disabled{background:#f8f8f8;cursor:default}.button:hover:disabled{border-color:inherit!important}.button.pressed,.button:active{background:#eee}.button_checked{background:#ffeba0;border-color:#cebe7d}.button.button_type_action{background:#ffde5a}.image-box{padding:15px;border:1px solid #ccc;border-radius:5px;margin-bottom:10px}.image-box__container,.image-box__screenshot-container{margin-top:10px}.image-box__container:not(.image-box__container_scale) .image-box__image:not(:last-child){margin-bottom:5px}.image-box__container_scale{display:flex;flex-flow:row wrap}.report_show-only-errors .section_status_skipped,.report_show-only-errors .section_status_success{display:none}.image-box__image{padding-right:10px;display:inline-block;vertical-align:top;flex-basis:33.333%;flex-grow:1;box-sizing:border-box;max-width:100%}.image-box__image:last-child{margin-right:-10px}.image-box__image.image-box__image_single{display:block;padding-right:0}.image-box__title{margin-bottom:5px}.image-box__screenshot-container{max-width:100%;position:relative;border:1px solid #ccc}.image-box__screenshot-container_auto-size{height:auto}.image-box__screenshot-container_fixed-size{display:table-cell;background-size:contain;background-repeat:no-repeat}.image-box__screenshot{position:absolute;left:0;top:0;width:100%;height:100%}.groupedErrors{margin-top:10px}.error-group{margin-bottom:10px}.error-group__title{display:flex;align-items:center;font-size:20px;line-height:24px;font-weight:700;cursor:pointer;user-select:none}.error-group__title:hover{color:#a3a3a3}.error-group__name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.section,.sections_type_empty{margin-top:10px}.error-group__body .section{margin-top:5px}.section__body>.section{margin-top:0}.section__title{font-size:18px;line-height:24px;font-weight:700;cursor:pointer;color:#000;margin-bottom:5px;user-select:none}.section__body .section__title{font-size:15px;line-height:20px}.section__body .section__title.section__title_type_browser{font-weight:400}.details__summary:after,.error-group__title:before,.error .details__summary:before,.section__title:before,.state-title:after{content:"";width:16px;height:16px;display:inline-block;margin-right:5px;vertical-align:middle;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 6.416l4.793 4.79a1 1 0 0 0 1.414-1.414l-5.5-5.497a1 1 0 0 0-1.414 0l-5.5 5.497a1 1 0 0 0 1.414 1.414L8 6.416z' fill='%23000'/%3E%3C/svg%3E")}.error-group__title:before{flex-shrink:0}.details__summary:after,.state-title:after{margin-right:0;margin-left:5px}.details__summary:after{transform:rotate(180deg)}.details__summary:before{margin-right:0;margin-left:0;transform:rotate(180deg)}details[open]>.details__summary:after,details[open]>.details__summary:before{transform:rotate(0deg)}.error .details__summary:after{content:none}.error-group_collapsed .error-group__title:before,.section_collapsed .section__title:before,.state-title_collapsed.state-title:after{transform:rotate(180deg)}.section_status_skipped>.section__title{color:#8c8c8c}.section_status_skipped>.section__title:hover{color:#c6c6c6}.section__title_skipped{color:#8c8c8c;cursor:default;margin-left:5px;font-weight:400;user-select:text}.section__title.section__title_skipped:hover{color:#8c8c8c}.section__title_skipped:before{content:none}.section_status_success>.section__title,.state-title_success,.state-title_updated{color:#038035}.section_status_success>.section__title:hover,.state-title_success:hover,.state-title_updated:hover{color:#5ed15e}.section_status_error>.section__title,.section_status_fail>.section__title,.state-title_error,.state-title_fail{color:#c00}.section_status_error>.section__title:hover,.section_status_fail>.section__title:hover,.state-title_error:hover,.state-title_fail:hover{color:#e66767}.error-group__body,.section__body{padding-left:10px}.section_collapsed .section__body{display:none}.section__icon{display:inline-block;width:16px;height:19px;vertical-align:top;margin-right:0;padding:0 2px;border:none;opacity:.3;cursor:pointer}.section_root>.section__title>.section__icon{height:25px}.section__icon:hover{opacity:1}.section__icon:before{display:block;width:100%;height:100%;content:"";background-repeat:no-repeat;background-size:100%;background-position:50%}.section__icon:first-of-type{margin-left:4px}.section__icon_view-local:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.373 6.254a8.801 8.801 0 0 0-7.597-4.31 8.801 8.801 0 0 0-7.597 4.31 1.296 1.296 0 0 1 0 1.316 8.801 8.801 0 0 0 7.597 4.31 8.801 8.801 0 0 0 7.597-4.31 1.296 1.296 0 0 1 0-1.316zm-7.597 4.33a3.67 3.67 0 0 1-3.672-3.672A3.67 3.67 0 0 1 7.776 3.24a3.67 3.67 0 0 1 3.672 3.672 3.67 3.67 0 0 1-3.672 3.672zm2.808-3.672A2.808 2.808 0 1 1 5.298 5.59a1.156 1.156 0 1 0 1.157-1.156h-.001a2.808 2.808 0 0 1 4.13 2.478z'/%3E%3C/svg%3E")}.section__icon_copy-to-clipboard:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M12.528 0h-8.64c-.716 0-1.296.58-1.296 1.296v1.296H1.296C.58 2.592 0 3.172 0 3.888v8.64c0 .716.58 1.296 1.296 1.296h8.64c.716 0 1.296-.58 1.296-1.296v-1.296h1.296c.716 0 1.296-.58 1.296-1.296v-8.64C13.824.58 13.244 0 12.528 0zM9.774 12.528H1.458a.162.162 0 0 0-.162-.162V4.05a.162.162 0 0 0 .162-.162h1.134v6.048c0 .716.58 1.296 1.296 1.296h6.048v1.134a.162.162 0 0 0-.162.162zm2.592-2.592H4.05a.162.162 0 0 0-.162-.162V1.458a.162.162 0 0 0 .162-.162h8.316a.162.162 0 0 0 .162.162v8.316a.162.162 0 0 0-.162.162z'/%3E%3C/svg%3E")}.section__icon_share:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.172 4.268L11.284.38c-.81-.81-2.212-.242-2.212.917V2.84c-1.146.051-2.269.177-3.26.486-.95.296-1.703.745-2.24 1.334-.65.717-.98 1.62-.98 2.681 0 1.666.896 3.037 2.291 3.909 1.014.635 2.302-.342 1.918-1.505-.419-1.272-.463-1.915 2.271-2.127v1.453c0 1.16 1.403 1.726 2.212.916L15.172 6.1a1.296 1.296 0 0 0 0-1.832zm-4.804 4.804V6.268c-3.475.052-5.873.626-4.798 3.884-.797-.498-1.682-1.402-1.682-2.81 0-2.952 3.487-3.211 6.48-3.236v-2.81l3.888 3.888-3.888 3.888zm.668 2.281a2.232 2.232 0 0 1 .566-.25.324.324 0 0 1 .494.275v1.15c0 .716-.58 1.296-1.296 1.296H1.296C.58 13.824 0 13.244 0 12.528V3.024c0-.716.58-1.296 1.296-1.296H4.86c.179 0 .324.145.324.324v.121c0 .133-.08.253-.204.301a6.62 6.62 0 0 0-1.028.502.328.328 0 0 0-.17.048H1.459a.162.162 0 0 1-.162.162v9.18a.162.162 0 0 1 .162.162h9.18a.162.162 0 0 1 .162-.162v-.701c0-.145.097-.272.236-.312z'/%3E%3C/svg%3E")}.meta-info__item{word-wrap:break-word;margin-bottom:5px}.meta-info__item:last-child{margin-bottom:0}.meta-info__item-key{font-weight:700}.error{background:#f0f2f5;padding:10px;border-radius:5px}.error:not(:last-child){margin-bottom:10px}.error__item-key{font-weight:700}.error__item{white-space:pre-wrap;word-wrap:break-word}.state-button{font-family:inherit;font-size:13px;line-height:18px;position:relative;margin-right:2px;width:24px;height:28px;display:inline-block;border:1px solid transparent;padding:0;border-radius:5px;outline:none;background:#fff;cursor:pointer}.state-title{cursor:pointer;user-select:none}.tab-switcher__button:hover{border-color:#888}.tab-switcher__button_status_success,.tab-switcher__button_status_updated{background-color:#7bcc7b;border-color:#7bcc7b}.tab-switcher__button_status_error{background-color:#ff9a9a;border-color:#ff9a9a}.tab-switcher__button_status_fail{background-color:#ffc5e0;border-color:#ffc5e0}.tab-switcher__button_status_fail_error{background:linear-gradient(135deg,#ffc5e0 50%,#ff9a9a 0);border-left-color:#ffc5e0;border-top-color:#ffc5e0;border-right-color:#ff9a9a;border-bottom-color:#ff9a9a}.tab-switcher__button_status_skipped{background-color:#ccc;border-color:#ccc}.collapsed,.invisible{display:none}.skipped__list{margin:10px 0;color:#8c8c8c}.skipped-test__title{font-weight:700}a:link{color:#07c}a:visited{color:#551a8b}a:link,a:visited{text-decoration:none}a:active,a:hover{color:#d4372c}.tab__separator{width:100%;height:1px;border:0;margin:10px 0;background-color:#ccc}.tab__item{display:none}.tab__item_active{display:block}.tab-switcher{display:inline-block;margin-bottom:5px}.tab-switcher:before{content:"Attempts";margin-right:10px;vertical-align:middle}.tab-switcher__button.tab-switcher__button_active{border-color:#000}.details{word-break:break-word}.details+.details,.error>.details+.details{margin-top:5px}.details__summary{display:block;outline:none}.details__summary:hover{cursor:pointer;color:#a3a3a3}.details__summary::-webkit-details-marker{display:none}.details_type_text{margin-bottom:10px}.image-box .details_type_text:last-child{margin-bottom:0}.details_type_text .details__content{margin:5px 0;background-color:#f0f2f5;padding:10px;border-radius:5px}.details_type_image .details__content{margin-top:10px}.details_type_image .details__summary{user-select:none}.basehost__text,.filter__input-name{font-size:11px;line-height:25px;font-family:inherit;outline:0;padding:3px 5px;border:1px solid #ccc;border-radius:2px;height:25px;margin-bottom:15px}.basehost__text{width:200px}.filter__input-name{width:500px;vertical-align:top}.checkbox-label{font-size:11px;padding:3px}.overlay{background:rgba(0,0,0,.3);left:0;top:0;right:0;bottom:0;position:fixed;z-index:1}.preloader{width:70px;height:20px;position:absolute;top:50%;left:50%;margin-left:-35px;margin-top:-10px}.preloader>div{background-color:#f7c709;opacity:.7;width:15px;height:15px;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block}.preloader>div:first-child{-webkit-animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08)}.preloader>div:nth-child(2){-webkit-animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08)}.preloader>div:nth-child(3){-webkit-animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08)}.dropdown{vertical-align:middle}.ui.simple.dropdown .menu>.item{padding:0!important}.menu-item__link{display:inline-block;padding:12px}.menu-item__link:hover{text-decoration:none}.menu-item__link:first-letter{text-transform:uppercase}@-webkit-keyframes scale{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes scale{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.diff-circle{position:fixed;border-radius:50%;z-index:1;opacity:.3;background-color:#f0f}.ui.loader{z-index:50}.control-buttons{display:flex;flex-wrap:wrap}.modal-open{overflow-y:hidden}@keyframes blink{0%{opacity:1}to{opacity:.3}}.report{margin-top:0}.section__title:before,.state-title:before{display:inline-block;margin-right:6px;vertical-align:middle;content:"\25CF";color:#ccc;width:auto;height:auto;background-image:none}.section__icon_retry:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M13.509 0h-1.28a.324.324 0 0 0-.324.34l.107 2.234a6.68 6.68 0 0 0-5.1-2.358C3.222.216.213 3.227.216 6.917a6.696 6.696 0 0 0 11.183 4.965.325.325 0 0 0 .013-.47l-.917-.917a.323.323 0 0 0-.443-.015 4.734 4.734 0 0 1-3.14 1.184A4.75 4.75 0 0 1 2.16 6.912 4.75 4.75 0 0 1 6.912 2.16c1.644 0 3.092.833 3.945 2.1l-2.742-.13a.324.324 0 0 0-.339.323v1.28c0 .179.145.324.324.324h5.409a.324.324 0 0 0 .324-.324V.324A.324.324 0 0 0 13.509 0z'/%3E%3C/svg%3E")}.section_status_success>.section__title:before,.state-title_success:before{color:#038035}.section_status_error>.section__title:before,.section_status_fail>.section__title:before,.state-title_error:before,.state-title_fail:before{color:#c00}.section_status_skipped>.section__title:before,.state-title_skipped:before{color:#ccc}.section_status_queued>.section__title:before{color:#e7d700}.section_status_running>.section__title:before{-webkit-animation:blink .5s linear 0s infinite alternate;animation:blink .5s linear 0s infinite alternate;color:#e7d700}.section_status_updated>.section__title,.section_status_updated>.section__title:before,.state-title_updated:before{color:#038035}.report_show-only-errors .section_status_updated{display:none}.controls>.controls__item:not(:only-child){margin-bottom:5px}.controls>.controls__item:only-child{margin-bottom:10px}.controls__item{display:inline-block;vertical-align:top;margin-right:10px}.state-controls{display:flex;margin-top:10px;position:sticky;top:0;z-index:10}.button_type_suite-controls{padding:2px 10px;border-radius:5px;font-size:13px;line-height:18px;margin-right:10px}.controls__item>.button_type_suite-controls{margin-right:0}.button_blink{-webkit-animation:blink .5s linear 0s infinite alternate;animation:blink .5s linear 0s infinite alternate}.section_collapsed .section__title:before{transform:none}.ui.modal>.content{width:auto!important}.ui.button,.ui.buttons,.ui.buttons .button{font-size:11px;font-weight:700;background:hsla(210,3%,88%,.36)}.ui.buttons .button{height:11px;line-height:10px}.ui.buttons{border-radius:4px}.ui.buttons:after{font-size:0}.ui.button:active,.ui.button:hover{background:hsla(220,3%,80%,.6)}.ui.active.button{font-weight:400;background:#ffde5a}.ui.active.button:active,.ui.active.button:hover{background:rgba(255,222,90,.6)}.custom-gui{margin-bottom:15px;display:flex;flex-direction:row;flex-wrap:wrap}.custom-gui_section-controls{margin-right:10px}.tab-switcher{margin-bottom:0}
|
|
512
|
+
@font-face{font-family:YS Text;src:url("//yastatic.net/islands/_/PyVcRbwHetz0gOVWLonWH7Od8zM.woff2") format("woff2"),url("//yastatic.net/islands/_/bIx8jOfCEfR-mECoDUEZywDBuHA.woff") format("woff");font-weight:400;font-style:normal}@font-face{font-family:YS Text;src:url("//yastatic.net/islands/_/7_GKBdKFbUPzKlghJRv55xgz0FQ.woff2") format("woff2"),url("//yastatic.net/islands/_/SmqPmIMEXrW4lOY8QrhTUVDbrro.woff") format("woff");font-weight:500;font-style:normal}@font-face{font-family:YS Text;src:url("//yastatic.net/islands/_/6Roy0LCd05cK4nNCipgzheYcNVU.woff2") format("woff2"),url("//yastatic.net/islands/_/KtHQR1erf3spayoIM4M4ngg0e2E.woff") format("woff");font-weight:700;font-style:normal}.report{font:15px YS Text,Helvetica Neue,Arial,sans-serif;line-height:20px;margin-top:15px;margin-bottom:15px}.container{padding-left:30px;padding-right:30px}main.container{margin-bottom:30px}.browserlist{display:inline-block;vertical-align:top;margin-right:15px;margin-bottom:15px}.browserlist_linear .rc-tree-select-tree-switcher{display:none!important}.rc-tree-select-tree .rc-tree-select-tree-treenode span.rc-tree-select-tree-switcher{width:13px;height:15px;margin-right:0;background-image:none}.rc-tree-select-tree-checkbox{background-image:none!important}.rc-tree-select-tree-checkbox-checked:before,.rc-tree-select-tree-checkbox-indeterminate:before,.rc-tree-select-tree-checkbox:before{display:inline-block;font:normal normal normal 14px/1 FontAwesome;font-size:inherit;color:#ccc}.rc-tree-select-tree-checkbox:before{content:"\F096"}.rc-tree-select-tree .rc-tree-select-tree-treenode{padding:0 0 1px 3px}.browserlist__icon-remove{cursor:pointer;padding-left:2px}.browserlist__icon-tree{color:#424242;font-size:13px}.browserlist__icon-tree:hover{color:#000}.rc-tree-select-tree-checkbox-checked:before,.rc-tree-select-tree-checkbox-indeterminate:before{color:#424242}.rc-tree-select-tree-checkbox-checked:before{content:"\F046"}.rc-tree-select-tree-checkbox-indeterminate:before{content:"\F14A"}.rc-tree-select-tree-title{font-size:12px;color:#000}.rc-tree-select-dropdown{border:1px solid #ccc;box-shadow:0 0 9px 0 #d6d6d6;border-radius:4px}.rc-tree-select-multiple .rc-tree-select-selector{border:0;padding:0}.rc-tree-select-multiple,.rc-tree-select-selector{border:1px solid #ccc;border-radius:2px;line-height:12px}.rc-tree-select-multiple:hover{border:1px solid #555}.rc-tree-select-multiple .rc-tree-select-selector .rc-tree-select-selection-search-input{background:#ffeb9f}.rc-tree-select .rc-tree-select-selection-placeholder{font-size:11px;line-height:22px;height:23px;padding-left:2px}.rc-tree-select-multiple .rc-tree-select-selector .rc-tree-select-selection-item{background:#ffeb9f;border:1px solid #cebe7d;border-radius:3px;padding:4px;margin:1px;font-size:11px;line-height:11px}.rc-tree-select-tree .rc-tree-select-tree-treenode span.rc-tree-select-tree-iconEle{display:none}.strict-match-filter{display:inline-block;margin-left:15px;margin-bottom:15px;line-height:21px}.strict-match-filter .ui.checkbox label{padding-left:55px}.strict-match-filter .ui.toggle.checkbox input:checked~.box:before,.strict-match-filter .ui.toggle.checkbox input:checked~label:before,.strict-match-filter .ui.toggle.checkbox input:focus:checked~.box:before,.strict-match-filter .ui.toggle.checkbox input:focus:checked~label:before{background-color:#ffeb9f!important}.strict-match-filter .ui.checkbox .box,.strict-match-filter .ui.checkbox label{font-size:11px;font-family:inherit}.rc-tree-select .rc-tree-select-selection-placeholder{opacity:.6;font-family:inherit}.ui.dropdown .menu>.item,.ui.selection.dropdown .menu>.item{padding:8px 5px!important;font-size:11px}.menu-bar{display:inline-block;vertical-align:middle;margin-left:15px;font-size:20px}.menu-bar .ui.dropdown .menu>.item,.menu-bar .ui.selection.dropdown .menu>.item{font-size:13px}.select_type_view{height:25px;margin-right:4px}.button,.select_type_view{font-size:11px;font-family:inherit}.button{cursor:pointer;margin-right:5px;background:#fff;border:1px solid #ccc;border-radius:2px;line-height:11px;height:23px;padding:0 5px;outline:0;box-sizing:content-box;transition:border-color .2s,background-color .2s}.button:hover{border-color:#4b4c5a}.button:disabled{background:#f8f8f8;cursor:default}.button:hover:disabled{border-color:inherit!important}.button.pressed,.button:active{background:#eee}.button_checked{background:#ffeba0;border-color:#cebe7d}.button.button_type_action{background:#ffde5a}.image-box{padding:15px;border:1px solid #ccc;border-radius:5px;margin-bottom:10px}.image-box__container,.image-box__screenshot-container{margin-top:10px}.image-box__container:not(.image-box__container_scale) .image-box__image:not(:last-child){margin-bottom:5px}.image-box__container_scale{display:flex;flex-flow:row wrap}.report_show-only-errors .section_status_skipped,.report_show-only-errors .section_status_success{display:none}.image-box__image{padding-right:10px;display:inline-block;vertical-align:top;flex-basis:33.333%;flex-grow:1;box-sizing:border-box;max-width:100%}.image-box__image:last-child{margin-right:-10px}.image-box__image.image-box__image_single{display:block;padding-right:0}.image-box__title{margin-bottom:5px}.image-box__screenshot-container{max-width:100%;position:relative;border:1px solid #ccc}.image-box__screenshot-container_auto-size{height:auto}.image-box__screenshot-container_fixed-size{display:table-cell;background-size:contain;background-repeat:no-repeat}.image-box__screenshot{position:absolute;left:0;top:0;width:100%;height:100%}.groupedErrors{margin-top:10px}.error-group{margin-bottom:10px}.error-group__title{display:flex;align-items:center;font-size:20px;line-height:24px;font-weight:700;cursor:pointer;user-select:none}.error-group__title:hover{color:#a3a3a3}.error-group__name{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.section,.sections_type_empty{margin-top:10px}.error-group__body .section{margin-top:5px}.section__body>.section{margin-top:0}.section__title{font-size:18px;line-height:24px;font-weight:700;cursor:pointer;color:#000;margin-bottom:5px;user-select:none}.section__body .section__title{font-size:15px;line-height:20px}.section__body .section__title.section__title_type_browser{font-weight:400}.details__summary:after,.error-group__title:before,.error .details__summary:before,.section__title:before,.state-title:after{content:"";width:16px;height:16px;display:inline-block;margin-right:5px;vertical-align:middle;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' viewBox='0 0 16 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 6.416l4.793 4.79a1 1 0 0 0 1.414-1.414l-5.5-5.497a1 1 0 0 0-1.414 0l-5.5 5.497a1 1 0 0 0 1.414 1.414L8 6.416z' fill='%23000'/%3E%3C/svg%3E")}.error-group__title:before{flex-shrink:0}.details__summary:after,.state-title:after{margin-right:0;margin-left:5px}.details__summary:after{transform:rotate(180deg)}.details__summary:before{margin-right:0;margin-left:0;transform:rotate(180deg)}details[open]>.details__summary:after,details[open]>.details__summary:before{transform:rotate(0deg)}.error .details__summary:after{content:none}.error-group_collapsed .error-group__title:before,.section_collapsed .section__title:before,.state-title_collapsed.state-title:after{transform:rotate(180deg)}.section_status_skipped>.section__title{color:#8c8c8c}.section_status_skipped>.section__title:hover{color:#c6c6c6}.section__title_skipped{color:#8c8c8c;cursor:default;margin-left:5px;font-weight:400;user-select:text}.section__title.section__title_skipped:hover{color:#8c8c8c}.section__title_skipped:before{content:none}.section_status_success>.section__title,.state-title_success,.state-title_updated{color:#038035}.section_status_success>.section__title:hover,.state-title_success:hover,.state-title_updated:hover{color:#5ed15e}.section_status_error>.section__title,.section_status_fail>.section__title,.state-title_error,.state-title_fail{color:#c00}.section_status_error>.section__title:hover,.section_status_fail>.section__title:hover,.state-title_error:hover,.state-title_fail:hover{color:#e66767}.error-group__body,.section__body{padding-left:10px}.section_collapsed .section__body{display:none}.section__icon{display:inline-block;width:16px;height:19px;vertical-align:top;margin-right:0;padding:0 2px;border:none;opacity:.3;cursor:pointer}.section_root>.section__title>.section__icon{height:25px}.section__icon:hover{opacity:1}.section__icon:before{display:block;width:100%;height:100%;content:"";background-repeat:no-repeat;background-size:100%;background-position:50%}.section__icon:first-of-type{margin-left:4px}.section__icon_view-local:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.373 6.254a8.801 8.801 0 0 0-7.597-4.31 8.801 8.801 0 0 0-7.597 4.31 1.296 1.296 0 0 1 0 1.316 8.801 8.801 0 0 0 7.597 4.31 8.801 8.801 0 0 0 7.597-4.31 1.296 1.296 0 0 1 0-1.316zm-7.597 4.33a3.67 3.67 0 0 1-3.672-3.672A3.67 3.67 0 0 1 7.776 3.24a3.67 3.67 0 0 1 3.672 3.672 3.67 3.67 0 0 1-3.672 3.672zm2.808-3.672A2.808 2.808 0 1 1 5.298 5.59a1.156 1.156 0 1 0 1.157-1.156h-.001a2.808 2.808 0 0 1 4.13 2.478z'/%3E%3C/svg%3E")}.section__icon_copy-to-clipboard:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M12.528 0h-8.64c-.716 0-1.296.58-1.296 1.296v1.296H1.296C.58 2.592 0 3.172 0 3.888v8.64c0 .716.58 1.296 1.296 1.296h8.64c.716 0 1.296-.58 1.296-1.296v-1.296h1.296c.716 0 1.296-.58 1.296-1.296v-8.64C13.824.58 13.244 0 12.528 0zM9.774 12.528H1.458a.162.162 0 0 0-.162-.162V4.05a.162.162 0 0 0 .162-.162h1.134v6.048c0 .716.58 1.296 1.296 1.296h6.048v1.134a.162.162 0 0 0-.162.162zm2.592-2.592H4.05a.162.162 0 0 0-.162-.162V1.458a.162.162 0 0 0 .162-.162h8.316a.162.162 0 0 0 .162.162v8.316a.162.162 0 0 0-.162.162z'/%3E%3C/svg%3E")}.section__icon_share:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M15.172 4.268L11.284.38c-.81-.81-2.212-.242-2.212.917V2.84c-1.146.051-2.269.177-3.26.486-.95.296-1.703.745-2.24 1.334-.65.717-.98 1.62-.98 2.681 0 1.666.896 3.037 2.291 3.909 1.014.635 2.302-.342 1.918-1.505-.419-1.272-.463-1.915 2.271-2.127v1.453c0 1.16 1.403 1.726 2.212.916L15.172 6.1a1.296 1.296 0 0 0 0-1.832zm-4.804 4.804V6.268c-3.475.052-5.873.626-4.798 3.884-.797-.498-1.682-1.402-1.682-2.81 0-2.952 3.487-3.211 6.48-3.236v-2.81l3.888 3.888-3.888 3.888zm.668 2.281a2.232 2.232 0 0 1 .566-.25.324.324 0 0 1 .494.275v1.15c0 .716-.58 1.296-1.296 1.296H1.296C.58 13.824 0 13.244 0 12.528V3.024c0-.716.58-1.296 1.296-1.296H4.86c.179 0 .324.145.324.324v.121c0 .133-.08.253-.204.301a6.62 6.62 0 0 0-1.028.502.328.328 0 0 0-.17.048H1.459a.162.162 0 0 1-.162.162v9.18a.162.162 0 0 1 .162.162h9.18a.162.162 0 0 1 .162-.162v-.701c0-.145.097-.272.236-.312z'/%3E%3C/svg%3E")}.meta-info__item{word-wrap:break-word;margin-bottom:5px}.meta-info__item:last-child{margin-bottom:0}.meta-info__item-key{font-weight:700}.error{background:#f0f2f5;padding:10px;border-radius:5px}.error:not(:last-child){margin-bottom:10px}.error__item-key{font-weight:700}.error__item{white-space:pre-wrap;word-wrap:break-word}.state-button{font-family:inherit;font-size:13px;line-height:18px;position:relative;margin-right:2px;width:24px;height:28px;display:inline-block;border:1px solid transparent;padding:0;border-radius:5px;outline:none;background:#fff;cursor:pointer}.state-title{cursor:pointer;user-select:none}.tab-switcher__button:hover{border-color:#888}.tab-switcher__button_status_success,.tab-switcher__button_status_updated{background-color:#7bcc7b;border-color:#7bcc7b}.tab-switcher__button_status_error{background-color:#ff9a9a;border-color:#ff9a9a}.tab-switcher__button_status_fail{background-color:#ffc5e0;border-color:#ffc5e0}.tab-switcher__button_status_fail_error{background:linear-gradient(135deg,#ffc5e0 50%,#ff9a9a 0);border-left-color:#ffc5e0;border-top-color:#ffc5e0;border-right-color:#ff9a9a;border-bottom-color:#ff9a9a}.tab-switcher__button_status_skipped{background-color:#ccc;border-color:#ccc}.collapsed,.invisible{display:none}.skipped__list{margin:10px 0;color:#8c8c8c}.skipped-test__title{font-weight:700}a:link{color:#07c}a:visited{color:#551a8b}a:link,a:visited{text-decoration:none}a:active,a:hover{color:#d4372c}.tab__separator{width:100%;height:1px;border:0;margin:10px 0;background-color:#ccc}.tab__item{display:none}.tab__item_active{display:block}.tab-switcher{display:inline-block;margin-bottom:5px}.tab-switcher:before{content:"Attempts";margin-right:10px;vertical-align:middle}.tab-switcher__button.tab-switcher__button_active{border-color:#000}.details{word-break:break-word}.details+.details,.error>.details+.details{margin-top:5px}.details__summary{display:block;outline:none}.details__summary:hover{cursor:pointer;color:#a3a3a3}.details__summary::-webkit-details-marker{display:none}.details_type_text{margin-bottom:10px}.image-box .details_type_text:last-child{margin-bottom:0}.details_type_text .details__content{margin:5px 0;background-color:#f0f2f5;padding:10px;border-radius:5px}.details_type_image .details__content{margin-top:10px}.details_type_image .details__summary{user-select:none}.basehost__text,.filter__input-name{font-size:11px;line-height:25px;font-family:inherit;outline:0;padding:3px 5px;border:1px solid #ccc;border-radius:2px;height:25px;margin-bottom:15px}.basehost__text{width:200px}.filter__input-name{width:500px;vertical-align:top}.checkbox-label{font-size:11px;padding:3px}.overlay{background:rgba(0,0,0,.3);left:0;top:0;right:0;bottom:0;position:fixed;z-index:1}.preloader{width:70px;height:20px;position:absolute;top:50%;left:50%;margin-left:-35px;margin-top:-10px}.preloader>div{background-color:#f7c709;opacity:.7;width:15px;height:15px;border-radius:100%;margin:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;display:inline-block}.preloader>div:first-child{-webkit-animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.24s infinite cubic-bezier(.2,.68,.18,1.08)}.preloader>div:nth-child(2){-webkit-animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s -.12s infinite cubic-bezier(.2,.68,.18,1.08)}.preloader>div:nth-child(3){-webkit-animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08);animation:scale .75s 0s infinite cubic-bezier(.2,.68,.18,1.08)}.dropdown{vertical-align:middle}.ui.simple.dropdown .menu>.item{padding:0!important}.menu-item__link{display:block;padding:12px}.menu-item__link:hover{text-decoration:none}.menu-item__link:first-letter{text-transform:uppercase}@-webkit-keyframes scale{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}@keyframes scale{0%{-webkit-transform:scale(1);transform:scale(1);opacity:1}45%{-webkit-transform:scale(.1);transform:scale(.1);opacity:.7}80%{-webkit-transform:scale(1);transform:scale(1);opacity:1}}.diff-circle{position:fixed;border-radius:50%;z-index:1;opacity:.3;background-color:#f0f}.ui.loader{z-index:50}.control-buttons{display:flex;flex-wrap:wrap}.modal-open{overflow-y:hidden}@keyframes blink{0%{opacity:1}to{opacity:.3}}.report{margin-top:0}.section__title:before,.state-title:before{display:inline-block;margin-right:6px;vertical-align:middle;content:"\25CF";color:#ccc;width:auto;height:auto;background-image:none}.section__icon_retry:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M13.509 0h-1.28a.324.324 0 0 0-.324.34l.107 2.234a6.68 6.68 0 0 0-5.1-2.358C3.222.216.213 3.227.216 6.917a6.696 6.696 0 0 0 11.183 4.965.325.325 0 0 0 .013-.47l-.917-.917a.323.323 0 0 0-.443-.015 4.734 4.734 0 0 1-3.14 1.184A4.75 4.75 0 0 1 2.16 6.912 4.75 4.75 0 0 1 6.912 2.16c1.644 0 3.092.833 3.945 2.1l-2.742-.13a.324.324 0 0 0-.339.323v1.28c0 .179.145.324.324.324h5.409a.324.324 0 0 0 .324-.324V.324A.324.324 0 0 0 13.509 0z'/%3E%3C/svg%3E")}.section_status_success>.section__title:before,.state-title_success:before{color:#038035}.section_status_error>.section__title:before,.section_status_fail>.section__title:before,.state-title_error:before,.state-title_fail:before{color:#c00}.section_status_skipped>.section__title:before,.state-title_skipped:before{color:#ccc}.section_status_queued>.section__title:before{color:#e7d700}.section_status_running>.section__title:before{-webkit-animation:blink .5s linear 0s infinite alternate;animation:blink .5s linear 0s infinite alternate;color:#e7d700}.section_status_updated>.section__title,.section_status_updated>.section__title:before,.state-title_updated:before{color:#038035}.report_show-only-errors .section_status_updated{display:none}.controls>.controls__item:not(:only-child){margin-bottom:5px}.controls>.controls__item:only-child{margin-bottom:10px}.controls__item{display:inline-block;vertical-align:top;margin-right:10px}.state-controls{display:flex;margin-top:10px;position:sticky;top:0;z-index:10}.button_type_suite-controls{padding:2px 10px;border-radius:5px;font-size:13px;line-height:18px;margin-right:10px}.controls__item>.button_type_suite-controls{margin-right:0}.button_blink{-webkit-animation:blink .5s linear 0s infinite alternate;animation:blink .5s linear 0s infinite alternate}.section_collapsed .section__title:before{transform:none}.ui.modal>.content{width:auto!important}.ui.button,.ui.buttons,.ui.buttons .button{font-size:11px;font-weight:700;background:hsla(210,3%,88%,.36)}.ui.buttons .button{height:11px;line-height:10px}.ui.buttons{border-radius:4px}.ui.buttons:after{font-size:0}.ui.button:active,.ui.button:hover{background:hsla(220,3%,80%,.6)}.ui.active.button{font-weight:400;background:#ffde5a}.ui.active.button:active,.ui.active.button:hover{background:rgba(255,222,90,.6)}.custom-gui{margin-bottom:15px;display:flex;flex-direction:row;flex-wrap:wrap}.custom-gui_section-controls{margin-right:10px}.tab-switcher{margin-bottom:0}
|