@eclipse-che/che-e2e 7.61.0-dev-5d5bbf5 → 7.61.0-dev-cec7a6d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/initDevfileTests.sh +14 -0
- package/package.json +1 -1
package/initDevfileTests.sh
CHANGED
|
@@ -23,6 +23,20 @@ launchSingleUserstory(){
|
|
|
23
23
|
checkUserstoryName(){
|
|
24
24
|
local checkedName="$(ls tests/devfiles/${TS_SELENIUM_EDITOR} | grep ${USERSTORY}.spec.ts)";
|
|
25
25
|
|
|
26
|
+
if [ -z "$TS_SELENIUM_EDITOR" ]; then
|
|
27
|
+
echo ""
|
|
28
|
+
echo "Variable TS_SELENIUM_EDITOR is unset."
|
|
29
|
+
echo ""
|
|
30
|
+
echo "Available values are:"
|
|
31
|
+
echo ""
|
|
32
|
+
ls tests/devfiles/ | xargs -n1 echo
|
|
33
|
+
echo ""
|
|
34
|
+
echo "Please assign the variable to a correct editor value."
|
|
35
|
+
echo ""
|
|
36
|
+
|
|
37
|
+
exit 1
|
|
38
|
+
fi
|
|
39
|
+
|
|
26
40
|
if [ -z "$checkedName" ]; then
|
|
27
41
|
echo ""
|
|
28
42
|
echo "Current value USERSTORY=\"${USERSTORY}\" doesn't match to any existed test:"
|