Skip to content

Commit 2dc9719

Browse files
committed
fix(run): show full URL when no tests are run
1 parent f812cca commit 2dc9719

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

run.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -323,15 +323,11 @@ export async function run( {
323323
for ( const report of Object.values( reports ) ) {
324324
if ( !report.total ) {
325325
stop = true;
326-
const reportFlags = [
327-
...report.flags,
328-
...( report.run ? [ report.run ] : [] )
329-
];
330326
console.error(
331327
chalk.red(
332-
`No tests were run for page with flags "${ reportFlags.join(
333-
"&"
334-
) }" in ${ getBrowserString( report.browser ) } (${ report.id })`
328+
`No tests were run with URL "${ report.url }" in ${ getBrowserString(
329+
report.browser
330+
) } (${ report.id })`
335331
)
336332
);
337333
}

0 commit comments

Comments
 (0)