@@ -14,7 +14,14 @@
export default {
name: "MsApiVariableInput",
- props: ['value', 'size'],
+ props: {
+ value: String,
+ size: String,
+ isReadOnly: {
+ type: Boolean,
+ default: false
+ }
+ },
data() {
return {
diff --git a/frontend/src/business/components/api/test/components/assertion/ApiAssertionRegex.vue b/frontend/src/business/components/api/test/components/assertion/ApiAssertionRegex.vue
index 970bcba6c2..758dea2ec4 100644
--- a/frontend/src/business/components/api/test/components/assertion/ApiAssertionRegex.vue
+++ b/frontend/src/business/components/api/test/components/assertion/ApiAssertionRegex.vue
@@ -2,7 +2,7 @@
-
@@ -10,12 +10,12 @@
-
-
-
+
+
@@ -40,7 +40,11 @@
},
index: Number,
list: Array,
- callback: Function
+ callback: Function,
+ isReadOnly: {
+ type: Boolean,
+ default: false
+ }
},
data() {
diff --git a/frontend/src/business/components/api/test/components/assertion/ApiAssertionResponseTime.vue b/frontend/src/business/components/api/test/components/assertion/ApiAssertionResponseTime.vue
index 6d202e628b..1009ed163e 100644
--- a/frontend/src/business/components/api/test/components/assertion/ApiAssertionResponseTime.vue
+++ b/frontend/src/business/components/api/test/components/assertion/ApiAssertionResponseTime.vue
@@ -2,12 +2,12 @@
-
-
-
+
+
@@ -24,7 +24,11 @@
duration: ResponseTime,
value: [Number, String],
edit: Boolean,
- callback: Function
+ callback: Function,
+ isReadOnly: {
+ type: Boolean,
+ default: false
+ }
},
methods: {
diff --git a/frontend/src/business/components/api/test/components/assertion/ApiAssertionText.vue b/frontend/src/business/components/api/test/components/assertion/ApiAssertionText.vue
index 61933858fa..2ea5dbe31a 100644
--- a/frontend/src/business/components/api/test/components/assertion/ApiAssertionText.vue
+++ b/frontend/src/business/components/api/test/components/assertion/ApiAssertionText.vue
@@ -2,7 +2,7 @@
-
@@ -10,7 +10,7 @@
-
@@ -20,11 +20,11 @@
-
-
+
@@ -38,7 +38,11 @@
props: {
list: Array,
- callback: Function
+ callback: Function,
+ isReadOnly: {
+ type: Boolean,
+ default: false
+ }
},
data() {
diff --git a/frontend/src/business/components/api/test/components/assertion/ApiAssertions.vue b/frontend/src/business/components/api/test/components/assertion/ApiAssertions.vue
index a9c61a3c20..5dbc2e30cc 100644
--- a/frontend/src/business/components/api/test/components/assertion/ApiAssertions.vue
+++ b/frontend/src/business/components/api/test/components/assertion/ApiAssertions.vue
@@ -2,7 +2,7 @@
-
@@ -10,14 +10,14 @@
-
-
-
+
+
-
+
@@ -34,7 +34,11 @@
components: {MsApiAssertionsEdit, MsApiAssertionResponseTime, MsApiAssertionRegex, MsApiAssertionText},
props: {
- assertions: Assertions
+ assertions: Assertions,
+ isReadOnly: {
+ type: Boolean,
+ default: false
+ }
},
data() {
diff --git a/frontend/src/business/components/api/test/components/assertion/ApiAssertionsEdit.vue b/frontend/src/business/components/api/test/components/assertion/ApiAssertionsEdit.vue
index e8f5d6bc09..1a4accc574 100644
--- a/frontend/src/business/components/api/test/components/assertion/ApiAssertionsEdit.vue
+++ b/frontend/src/business/components/api/test/components/assertion/ApiAssertionsEdit.vue
@@ -5,7 +5,7 @@
{{$t("api_test.request.assertions.regex")}}