File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed
Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change 1- SCRSHT=" $PIT_SCR_FOLDER /its/screenshot.js"
2-
31# # LIBRARY for installing and running playwright tests
42
53# # Check whether playwright is installed in node_modules folder of the test node-script
Original file line number Diff line number Diff line change @@ -109,15 +109,10 @@ runValidations() {
109109
110110 # 11
111111 if [ -n " $test " -a -z " $SKIPTESTS " -a -z " $SKIPPW " ]; then
112- # Take screenshot before running tests
113- [ -n " $SCREENSHOTS " ] && runPlaywrightTests " $SCRSHT " " $file " " $mode " " $name " " $version " " --port=$port " " --prefix=_before"
114112
115113 runPlaywrightTests " $test " " $file " " $mode " " $name " " $version " " --port=$port "
116114 test_result=$?
117115
118- # Take screenshot after tests succeed
119- [ -n " $SCREENSHOTS " ] && runPlaywrightTests " $SCRSHT " " $file " " $mode " " $name " " $version " " --port=$port " " --prefix=_after"
120-
121116 # Return the test result
122117 [ -z " $TEST " -a $test_result != 0 ] && return 1
123118 elif [ -n " $TEST " ]; then
You can’t perform that action at this time.
0 commit comments