Skip to content
Permalink
Browse files
feat(serenity-bdd): context icons for browsers and platforms
Closes #455
  • Loading branch information
jan-molak committed Mar 14, 2020
1 parent 60c5125 commit 65ccab070d12c1d6d3f9067e3737e4c246bdbff0
Showing 1 changed file with 1 addition and 2 deletions.
@@ -132,8 +132,7 @@ export class SceneReport {
report.id = new SceneReportId(browserTag.name, report.id).value;
})
.when(PlatformTag, (platformTag: PlatformTag) => {
// todo: this is not supported yet, waiting for https://github.com/serenity-bdd/serenity-core/pull/1860/files
// report.context = [report.context, platformTag.name].filter(part => !! part).join(',');
report.context = [report.context, platformTag.name].filter(part => !! part).join(',');
report.id = new SceneReportId(platformTag.name, report.id).value;
})
.when(ContextTag, _ => (report.context = tag.name))

0 comments on commit 65ccab0

Please sign in to comment.