diff --git a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsonPath.vue b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsonPath.vue
index 8832732e4a..7eef47db16 100644
--- a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsonPath.vue
+++ b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionJsonPath.vue
@@ -2,8 +2,10 @@
-
+
+
+
diff --git a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionRegex.vue b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionRegex.vue
index 0d36a86460..6a3069b0be 100644
--- a/frontend/src/business/components/api/definition/components/assertion/ApiAssertionRegex.vue
+++ b/frontend/src/business/components/api/definition/components/assertion/ApiAssertionRegex.vue
@@ -10,8 +10,10 @@
-
+
+
@@ -61,6 +63,7 @@ export default {
data() {
return {
subjects: ASSERTION_REGEX_SUBJECT,
+ showTip: true,
}
},
@@ -88,6 +91,7 @@ export default {
return regex;
},
setRegexDescription() {
+ this.showTip = this.regex.description.length < 80;
this.regex.description = this.regex.subject + " has: " + this.regex.expression;
}
}