Commit 31513bea authored by Julien Schröter's avatar Julien Schröter Committed by Frederik Wegner

Add description field to e2e tests

parent db8ebec7
Pipeline #2018 canceled with stages
in 9 minutes and 26 seconds
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
"id":1, "id":1,
"name":"pool1", "name":"pool1",
"code":"p1", "code":"p1",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":false, "is-answered":false,
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"id":1, "id":1,
"name":"pool1", "name":"pool1",
"code":"p1", "code":"p1",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":true, "is-answered":true,
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
"id":1, "id":1,
"name":"pool1", "name":"pool1",
"code":"p1", "code":"p1",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"answer":{ "answer":{
...@@ -63,6 +65,7 @@ ...@@ -63,6 +65,7 @@
"id":1, "id":1,
"name":"pool1", "name":"pool1",
"code":"p1", "code":"p1",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"answer":{ "answer":{
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "<<PRESENCE>>",
"image": "<<PRESENCE>>" "image": "<<PRESENCE>>"
}, },
"is-answered": false, "is-answered": false,
...@@ -34,6 +35,7 @@ ...@@ -34,6 +35,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "<<PRESENCE>>",
"image": "<<PRESENCE>>" "image": "<<PRESENCE>>"
}, },
"answer": { "answer": {
...@@ -41,10 +43,26 @@ ...@@ -41,10 +43,26 @@
"type": "option", "type": "option",
"option-answer": { "option-answer": {
"options": [ "options": [
{ "id": "<<PRESENCE>>", "correct": true, "text": "A" }, {
{ "id": "<<PRESENCE>>", "correct": false, "text": "B" }, "id": "<<PRESENCE>>",
{ "id": "<<PRESENCE>>", "correct": false, "text": "C" }, "correct": true,
{ "id": "<<PRESENCE>>", "correct": false, "text": "D" } "text": "A"
},
{
"id": "<<PRESENCE>>",
"correct": false,
"text": "B"
},
{
"id": "<<PRESENCE>>",
"correct": false,
"text": "C"
},
{
"id": "<<PRESENCE>>",
"correct": false,
"text": "D"
}
] ]
}, },
"text-answer": null "text-answer": null
...@@ -62,6 +80,7 @@ ...@@ -62,6 +80,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "<<PRESENCE>>",
"image": "<<PRESENCE>>" "image": "<<PRESENCE>>"
}, },
"answer": { "answer": {
...@@ -69,10 +88,26 @@ ...@@ -69,10 +88,26 @@
"type": "option", "type": "option",
"option-answer": { "option-answer": {
"options": [ "options": [
{ "id": "<<PRESENCE>>", "correct": true, "text": "A" }, {
{ "id": "<<PRESENCE>>", "correct": false, "text": "B" }, "id": "<<PRESENCE>>",
{ "id": "<<PRESENCE>>", "correct": false, "text": "C" }, "correct": true,
{ "id": "<<PRESENCE>>", "correct": false, "text": "D" } "text": "A"
},
{
"id": "<<PRESENCE>>",
"correct": false,
"text": "B"
},
{
"id": "<<PRESENCE>>",
"correct": false,
"text": "C"
},
{
"id": "<<PRESENCE>>",
"correct": false,
"text": "D"
}
] ]
}, },
"text-answer": null "text-answer": null
...@@ -82,4 +117,4 @@ ...@@ -82,4 +117,4 @@
} }
} }
] ]
} }
\ No newline at end of file
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "",
"image": "1" "image": "1"
} }
] ]
\ No newline at end of file
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "",
"image": 1 "image": 1
} }
] ]
\ No newline at end of file
...@@ -209,6 +209,7 @@ ...@@ -209,6 +209,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "",
"image": 1 "image": 1
}, },
"is-answered": false, "is-answered": false,
...@@ -237,4 +238,4 @@ ...@@ -237,4 +238,4 @@
} }
] ]
} }
] ]
\ No newline at end of file
...@@ -107,6 +107,7 @@ ...@@ -107,6 +107,7 @@
"id":1, "id":1,
"name":"pool1", "name":"pool1",
"code":"p1", "code":"p1",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":true, "is-answered":true,
......
...@@ -106,6 +106,7 @@ ...@@ -106,6 +106,7 @@
"id": 1, "id": 1,
"name": "pool1", "name": "pool1",
"code": "p1", "code": "p1",
"description": "<<PRESENCE>>",
"image": "<<PRESENCE>>" "image": "<<PRESENCE>>"
}, },
"is-answered": false, "is-answered": false,
...@@ -133,4 +134,4 @@ ...@@ -133,4 +134,4 @@
} }
} }
] ]
} }
\ No newline at end of file
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
"id": %d, "id": %d,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":true, "is-answered":true,
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
"id":%d, "id":%d,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":true, "is-answered":true,
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
"id":%v, "id":%v,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":%v, "is-answered":%v,
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"id":%d, "id":%d,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":%v, "is-answered":%v,
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
"id": %v, "id": %v,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":true, "is-answered":true,
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
"id": %v, "id": %v,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered": %v, "is-answered": %v,
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
"id":%v, "id":%v,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":%v, "is-answered":%v,
......
...@@ -62,6 +62,7 @@ ...@@ -62,6 +62,7 @@
"id":%v, "id":%v,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":%v, "is-answered":%v,
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
"id":%v, "id":%v,
"name":"<<PRESENCE>>", "name":"<<PRESENCE>>",
"code":"<<PRESENCE>>", "code":"<<PRESENCE>>",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>" "image":"<<PRESENCE>>"
}, },
"is-answered":%v, "is-answered":%v,
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
{ {
"id":1, "id":1,
"name":"pool1", "name":"pool1",
"code":"p1", "code":"p1",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>", "image":"<<PRESENCE>>",
"selected":%v "selected":%v
}, },
...@@ -10,6 +11,7 @@ ...@@ -10,6 +11,7 @@
"id":2, "id":2,
"name":"pool2", "name":"pool2",
"code":"p2", "code":"p2",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>", "image":"<<PRESENCE>>",
"selected":%v "selected":%v
}, },
...@@ -17,6 +19,7 @@ ...@@ -17,6 +19,7 @@
"id":3, "id":3,
"name":"pool3", "name":"pool3",
"code":"p3", "code":"p3",
"description":"<<PRESENCE>>",
"image":"<<PRESENCE>>", "image":"<<PRESENCE>>",
"selected":%v "selected":%v
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment