Skip to content

Commit 0185385

Browse files
committed
test: Add a --no-mapping flag to run tests without specific content files (i.e., test contains all the URLs it needs)
1 parent ca9440c commit 0185385

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

cypress/support/run-e2e-specs.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,9 @@ async function main() {
152152
// If --no-mapping is used, file paths are optional
153153
if (!noMapping && fileArgs.length === 0) {
154154
console.error('No file paths provided.');
155-
console.error('Use --no-mapping flag to skip content mapping for functionality tests.');
155+
console.error(
156+
'Use --no-mapping flag to skip content mapping for functionality tests.'
157+
);
156158
process.exit(1);
157159
}
158160

@@ -437,9 +439,7 @@ async function main() {
437439
const testFailureCount = results?.totalFailed || 0;
438440

439441
if (testFailureCount > 0) {
440-
console.warn(
441-
`ℹ️ Note: ${testFailureCount} test(s) failed.`
442-
);
442+
console.warn(`ℹ️ Note: ${testFailureCount} test(s) failed.`);
443443

444444
// Provide detailed failure analysis
445445
if (results) {

0 commit comments

Comments
 (0)