mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-23 10:02:51 +00:00
feat: improved e2e tests
This commit is contained in:
141
frontend/app/cypress/fixtures/news/all.search.res.json
Normal file
141
frontend/app/cypress/fixtures/news/all.search.res.json
Normal file
@@ -0,0 +1,141 @@
|
||||
{
|
||||
"data": [
|
||||
{
|
||||
"datePublished": "2022-06-07T09:42:00.000Z",
|
||||
"uid": "message",
|
||||
"messageBody": "DE for Students and Employees",
|
||||
"origin": {
|
||||
"indexed": "2022-06-08T19:30:08.640Z",
|
||||
"name": "Goethe-Uni Online",
|
||||
"type": "remote",
|
||||
"url": "https://aktuelles.uni-frankfurt.de/feed"
|
||||
},
|
||||
"name": "DE for Students and Employees",
|
||||
"image": "https://robohash.org/de_for_students_and_employees?size=264x183&set=set4&bgset=bg1",
|
||||
"audiences": ["students", "employees"],
|
||||
"inLanguage": "de",
|
||||
"categories": ["news"],
|
||||
"type": "message",
|
||||
"sameAs": "https://aktuelles.uni-frankfurt.de/?p=59273"
|
||||
},
|
||||
{
|
||||
"datePublished": "2022-06-03T06:45:00.000Z",
|
||||
"uid": "5de64e1a-e0d1-5a18-bdb9-f31af54ec838",
|
||||
"messageBody": "DE for Students",
|
||||
"origin": {
|
||||
"indexed": "2022-06-08T19:30:08.645Z",
|
||||
"name": "Goethe-Uni Online",
|
||||
"type": "remote",
|
||||
"url": "https://aktuelles.uni-frankfurt.de/feed"
|
||||
},
|
||||
"name": "DE for Students",
|
||||
"image": "https://robohash.org/de_for_students?size=264x183&set=set4&bgset=bg1",
|
||||
"audiences": ["students"],
|
||||
"inLanguage": "de",
|
||||
"categories": ["news"],
|
||||
"type": "message",
|
||||
"sameAs": "https://aktuelles.uni-frankfurt.de/?p=59258"
|
||||
},
|
||||
{
|
||||
"datePublished": "2022-06-03T06:45:00.000Z",
|
||||
"uid": "5de64e1a-e0d1-5a18-bdb9-f31af54ec838",
|
||||
"messageBody": "DE for Employees",
|
||||
"origin": {
|
||||
"indexed": "2022-06-08T19:30:08.645Z",
|
||||
"name": "Goethe-Uni Online",
|
||||
"type": "remote",
|
||||
"url": "https://aktuelles.uni-frankfurt.de/feed"
|
||||
},
|
||||
"name": "DE for Employees",
|
||||
"image": "https://robohash.org/de_for_employees?size=264x183&set=set4&bgset=bg1",
|
||||
"audiences": ["employees"],
|
||||
"inLanguage": "de",
|
||||
"categories": ["news"],
|
||||
"type": "message",
|
||||
"sameAs": "https://aktuelles.uni-frankfurt.de/?p=59258"
|
||||
},
|
||||
{
|
||||
"datePublished": "2022-06-07T09:42:00.000Z",
|
||||
"uid": "c90c7d30-410f-5aea-a67b-ea1f98929b93",
|
||||
"messageBody": "EN for Students and Employees",
|
||||
"origin": {
|
||||
"indexed": "2022-06-08T19:30:08.640Z",
|
||||
"name": "Goethe-Uni Online",
|
||||
"type": "remote",
|
||||
"url": "https://aktuelles.uni-frankfurt.de/feed"
|
||||
},
|
||||
"name": "EN for Students and Employees",
|
||||
"image": "https://robohash.org/en_for_students_and_employees?size=264x183&set=set4&bgset=bg1",
|
||||
"audiences": ["students", "employees"],
|
||||
"inLanguage": "en",
|
||||
"categories": ["news"],
|
||||
"type": "message",
|
||||
"sameAs": "https://aktuelles.uni-frankfurt.de/?p=59273"
|
||||
},
|
||||
{
|
||||
"datePublished": "2022-06-03T06:45:00.000Z",
|
||||
"uid": "5de64e1a-e0d1-5a18-bdb9-f31af54ec838",
|
||||
"messageBody": "EN for Students",
|
||||
"origin": {
|
||||
"indexed": "2022-06-08T19:30:08.645Z",
|
||||
"name": "Goethe-Uni Online",
|
||||
"type": "remote",
|
||||
"url": "https://aktuelles.uni-frankfurt.de/feed"
|
||||
},
|
||||
"name": "EN for Students",
|
||||
"image": "https://robohash.org/en_for_students?size=264x183&set=set4&bgset=bg1",
|
||||
"audiences": ["students"],
|
||||
"inLanguage": "en",
|
||||
"categories": ["news"],
|
||||
"type": "message",
|
||||
"sameAs": "https://aktuelles.uni-frankfurt.de/?p=59258"
|
||||
},
|
||||
{
|
||||
"datePublished": "2022-06-03T06:45:00.000Z",
|
||||
"uid": "5de64e1a-e0d1-5a18-bdb9-f31af54ec838",
|
||||
"messageBody": "EN for Employees",
|
||||
"origin": {
|
||||
"indexed": "2022-06-08T19:30:08.645Z",
|
||||
"name": "Goethe-Uni Online",
|
||||
"type": "remote",
|
||||
"url": "https://aktuelles.uni-frankfurt.de/feed"
|
||||
},
|
||||
"name": "EN for Employees",
|
||||
"image": "https://robohash.org/en_for_employees?size=264x183&set=set4&bgset=bg1",
|
||||
"audiences": ["employees"],
|
||||
"inLanguage": "en",
|
||||
"categories": ["news"],
|
||||
"type": "message",
|
||||
"sameAs": "https://aktuelles.uni-frankfurt.de/?p=59258"
|
||||
}
|
||||
],
|
||||
"facets": [
|
||||
{
|
||||
"buckets": [
|
||||
{
|
||||
"count": 85,
|
||||
"key": "message"
|
||||
}
|
||||
],
|
||||
"field": "type"
|
||||
},
|
||||
{
|
||||
"buckets": [
|
||||
{
|
||||
"count": 85,
|
||||
"key": "news"
|
||||
}
|
||||
],
|
||||
"field": "categories",
|
||||
"onlyOnType": "message"
|
||||
}
|
||||
],
|
||||
"pagination": {
|
||||
"count": 10,
|
||||
"offset": 0,
|
||||
"total": 85
|
||||
},
|
||||
"stats": {
|
||||
"time": 2
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user