Skip to content

Commit 1a04ae2

Browse files
Restore video recording on Windows with DISABLE_VIDEO parameter (#1142)
Signed-off-by: Peter Zhu <zhujiaxi@amazon.com>
1 parent 255e268 commit 1a04ae2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

integtest.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,8 @@ fi
216216
# We need to ensure the cypress tests are the last execute process to
217217
# the error code gets passed to the CI.
218218

219-
if [ "$OSTYPE" = "msys" ] || [ "$OSTYPE" = "cygwin" ] || [ "$OSTYPE" = "win32" ]; then
220-
echo "Disable video recording in Windows due to ffmpeg missing libs in Windows Docker Container"
221-
echo "TODO: https://github.com/opensearch-project/opensearch-dashboards-functional-test/issues/1068"
219+
if [ "$DISABLE_VIDEO" = "true" ]; then
220+
echo "Disable video recording when running tests in Cypress"
222221
jq '. + {"video": false}' cypress.json > cypress_new.json # jq does not allow reading and writing on same file
223222
mv -v cypress_new.json cypress.json
224223
fi

0 commit comments

Comments
 (0)