Skip to content

Commit 83aecb3

Browse files
url in report Steps opens in a new tab
1 parent 6b0f4ed commit 83aecb3

File tree

1 file changed

+4
-1
lines changed
  • webtau-reactjs/src/report/details

1 file changed

+4
-1
lines changed

webtau-reactjs/src/report/details/Steps.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,10 @@ function Token({type, value}) {
5050

5151
switch (type) {
5252
case 'url':
53-
return <a className="step-token url" href={value}>{value}</a>
53+
return <a className="step-token url"
54+
href={value}
55+
target="_blank"
56+
rel="noopener noreferrer">{value}</a>
5457
default:
5558
return <span className={className}>{valueToUse}</span>
5659

0 commit comments

Comments
 (0)