We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87d9ac5 commit 4d99520Copy full SHA for 4d99520
tests/acceptance/run.sh
@@ -264,7 +264,7 @@ function run_behat_tests() {
264
# Thanks to https://en.wikipedia.org/wiki/Tee_(command) and
265
# https://stackoverflow.com/questions/23416278/how-to-strip-ansi-escape-sequences-from-a-variable
266
# for ideas.
267
- FAILED_SCENARIO_PATHS=$(echo "${FAILED_SCENARIO_PATHS_COLORED}" | sed "s/\x1b[^m]*m//g")
+ FAILED_SCENARIO_PATHS=$(echo "${FAILED_SCENARIO_PATHS_COLORED}" | sed "s/\x1b\[[0-9;]*m//g" | sed 's/\(\.feature:[0-9]\+\).*/\1/')
268
269
# If something else went wrong, and there were no failed scenarios,
270
# then the awk, grep, sed command sequence above ends up with an empty string.
0 commit comments