Open poliarush opened 1 year ago
// inside test
import { report } from '@testomatio/reporter';
test('my important test', async () => {
report.property('severity', 'hot');
// $`Given I create a new Item`;
// $`Then I create a new Item`;
// report.artifact('some image', 'image/png', 'data:image/png;base64,iVBORw0KGgoA
// ...
});
---------------
// inside function
report.meta('field', 'value');
global.meta.push({ field, value })
-----
// inside reporter
addTestRun:
send(
meta: global.meta,
)
global.meta = []
--------
come up with architecture where need to pass
@olexandr13 english, please
blocked by artifacts storage implementation
additional prop in test data
implemented artifact storage, log, step, meta (key:value) in 1.1.0-beta-2
@DavertMik
values max length up to 255
provide example to Michael