feat: improved e2e tests

This commit is contained in:
2023-12-05 15:21:01 +01:00
committed by Thea Schöbl
parent bff2d985aa
commit d7a85b7fae
66 changed files with 6353 additions and 4471 deletions

View File

@@ -0,0 +1,31 @@
{
"filter": {
"arguments": {
"filters": [
{
"arguments": {
"field": "type",
"value": "date series"
},
"type": "value"
},
{
"arguments": {
"filters": [
{
"arguments": {
"field": "uid"
},
"type": "value"
}
],
"operation": "or"
},
"type": "boolean"
}
],
"operation": "and"
},
"type": "boolean"
}
}

View File

@@ -0,0 +1,108 @@
{
"data": [
{
"duration": "PT1H0M0S",
"uid": "c010f7d6-5a32-522a-8316-045e032ea25e",
"identifiers": {
"LSF": "779352"
},
"origin": {
"indexed": "2059-06-03T10:10:13.842Z",
"name": "Goethe-Uni QIS / LSF",
"type": "remote"
},
"name": "Übung",
"dates": ["2059-01-19T14:00:00+01:00"],
"event": {
"categories": ["exercise"],
"identifiers": {
"LSF": "336024"
},
"name": "UNIcert (Test)",
"originalCategory": "Übung",
"type": "academic event",
"uid": "2ae9f707-c9d3-5bc6-bfbc-734dbd148336"
},
"type": "date series",
"inPlace": {
"alternateNames": ["H I", "Hörsaal I"],
"categories": ["learn", "education"],
"geo": {
"point": {
"coordinates": [8.64988, 50.11825],
"type": "Point"
},
"polygon": {
"coordinates": [
[
[8.650173693895338, 50.11768192973537],
[8.649645298719406, 50.1177214866573],
[8.649690896272658, 50.11794334878755],
[8.649795502424238, 50.11793646935709],
[8.649822324514389, 50.11810845482188],
[8.64978477358818, 50.118110174673404],
[8.649827688932419, 50.11833375484596],
[8.650490194559096, 50.11828559920474],
[8.650428503751753, 50.11806029895402],
[8.65011468529701, 50.11808265704158],
[8.650082498788832, 50.11792615020954],
[8.650203198194502, 50.117914111201316],
[8.650173693895338, 50.11768192973537]
]
],
"type": "Polygon"
}
},
"identifiers": {
"LSF": "706"
},
"name": "H I (Vorbelegungsrecht Kunstgeschichte)",
"type": "room",
"uid": "07ccd06f-2f58-52ce-bcdd-2341f79b5893"
}
}
],
"facets": [
{
"buckets": [
{
"count": 1,
"key": "date series"
}
],
"field": "type"
},
{
"buckets": [
{
"count": 1,
"key": "exercise"
}
],
"field": "event.categories",
"onlyOnType": "date series"
},
{
"buckets": [
{
"count": 1,
"key": "education"
},
{
"count": 1,
"key": "learn"
}
],
"field": "inPlace.categories",
"onlyOnType": "date series"
}
],
"pagination": {
"count": 1,
"offset": 0,
"total": 1
},
"stats": {
"time": 5
}
}

View File

@@ -0,0 +1,25 @@
{
"*": {
"filter": {
"arguments": {
"filters": [
{
"arguments": {
"field": "type",
"value": "date series"
},
"type": "value"
},
{
"arguments": {
"field": "event.uid"
},
"type": "value"
}
],
"operation": "and"
},
"type": "boolean"
}
}
}

View File

@@ -0,0 +1,297 @@
{
"1": {
"data": [
{
"duration": "PT2H0M0S",
"uid": "f50aab9a-ce14-57e2-a3f1-e0d2da600bb7",
"repeatFrequency": "P1W",
"identifiers": {
"LSF": "797371"
},
"origin": {
"indexed": "2059-06-03T10:08:50.850Z",
"name": "Goethe-Uni QIS / LSF",
"type": "remote"
},
"name": "Seminar",
"dates": [
"2059-04-14T12:00:00+02:00",
"2059-04-21T12:00:00+02:00",
"2059-04-28T12:00:00+02:00",
"2059-05-05T12:00:00+02:00",
"2059-05-12T12:00:00+02:00",
"2059-05-19T12:00:00+02:00",
"2059-06-02T12:00:00+02:00",
"2059-06-09T12:00:00+02:00",
"2059-06-23T12:00:00+02:00",
"2059-06-30T12:00:00+02:00",
"2059-07-07T12:00:00+02:00",
"2059-07-14T12:00:00+02:00"
],
"event": {
"categories": ["seminar"],
"identifiers": {
"LSF": "333339"
},
"name": "EW-BA7-quantitativ: Test- und Fragebogenkonstruktion",
"originalCategory": "Seminar",
"type": "academic event",
"uid": "d65576a9-da8a-5c3f-828d-ef8fb749b47e"
},
"type": "date series",
"inPlace": {
"alternateNames": ["SH 1.106"],
"categories": ["learn", "education"],
"geo": {
"point": {
"coordinates": [8.66836, 50.12927],
"type": "Point"
},
"polygon": {
"coordinates": [
[
[8.668371140956877, 50.12907297255887],
[8.668247759342194, 50.12942717952356],
[8.668864667415619, 50.129513151692436],
[8.668977320194244, 50.1291692620903],
[8.668371140956877, 50.12907297255887]
]
],
"type": "Polygon"
}
},
"identifiers": {
"LSF": "7340"
},
"name": "SH 1.106",
"type": "room",
"uid": "56e6632a-415a-542f-93a1-69adf34d5d0c"
}
},
{
"duration": "PT2H0M0S",
"uid": "b572671f-c713-5f1e-ab2b-d0e6b54091a8",
"repeatFrequency": "P1W",
"identifiers": {
"LSF": "770743"
},
"origin": {
"indexed": "2059-06-03T10:08:50.848Z",
"name": "Goethe-Uni QIS / LSF",
"type": "remote"
},
"name": "Seminar",
"dates": [
"2059-04-14T12:00:00+02:00",
"2059-04-21T12:00:00+02:00",
"2059-04-28T12:00:00+02:00",
"2059-05-05T12:00:00+02:00",
"2059-05-12T12:00:00+02:00",
"2059-05-19T12:00:00+02:00",
"2059-06-02T12:00:00+02:00",
"2059-06-09T12:00:00+02:00",
"2059-06-23T12:00:00+02:00",
"2059-06-30T12:00:00+02:00",
"2059-07-07T12:00:00+02:00",
"2059-07-14T12:00:00+02:00"
],
"event": {
"categories": ["seminar"],
"identifiers": {
"LSF": "333339"
},
"name": "EW-BA7-quantitativ: Test- und Fragebogenkonstruktion",
"originalCategory": "Seminar",
"type": "academic event",
"uid": "d65576a9-da8a-5c3f-828d-ef8fb749b47e"
},
"type": "date series",
"inPlace": {
"alternateNames": ["PEG 2G 089", "PC-Pool / Seminar"],
"categories": ["computer"],
"geo": {
"point": {
"coordinates": [8.66919, 50.12834],
"type": "Point"
},
"polygon": {
"coordinates": [
[
[8.66911545395851, 50.128080835212074],
[8.668997436761854, 50.128419574192236],
[8.668603152036665, 50.1283851845574],
[8.668450266122816, 50.128827089483565],
[8.669802099466322, 50.129014510963145],
[8.670357316732405, 50.128266540127555],
[8.66911545395851, 50.128080835212074]
]
],
"type": "Polygon"
}
},
"identifiers": {
"LSF": "6086"
},
"name": "PEG 2.G 089",
"type": "room",
"uid": "25dbedd7-0471-536d-8e48-e9d21ccea172"
}
}
],
"facets": [
{
"buckets": [
{
"count": 2,
"key": "date series"
}
],
"field": "type"
},
{
"buckets": [
{
"count": 2,
"key": "seminar"
}
],
"field": "event.categories",
"onlyOnType": "date series"
},
{
"buckets": [
{
"count": 1,
"key": "computer"
},
{
"count": 1,
"key": "education"
},
{
"count": 1,
"key": "learn"
}
],
"field": "inPlace.categories",
"onlyOnType": "date series"
}
],
"pagination": {
"count": 2,
"offset": 0,
"total": 2
},
"stats": {
"time": 17
}
},
"0": {
"data": [
{
"duration": "PT1H0M0S",
"uid": "c010f7d6-5a32-522a-8316-045e032ea25e",
"identifiers": {
"LSF": "779352"
},
"origin": {
"indexed": "2059-06-03T10:10:13.842Z",
"name": "Goethe-Uni QIS / LSF",
"type": "remote"
},
"name": "Übung",
"dates": ["2059-01-19T14:00:00+01:00"],
"event": {
"categories": ["exercise"],
"identifiers": {
"LSF": "336024"
},
"name": "UNIcert (Test)",
"originalCategory": "Übung",
"type": "academic event",
"uid": "2ae9f707-c9d3-5bc6-bfbc-734dbd148336"
},
"type": "date series",
"inPlace": {
"alternateNames": ["H I", "Hörsaal I"],
"categories": ["learn", "education"],
"geo": {
"point": {
"coordinates": [8.64988, 50.11825],
"type": "Point"
},
"polygon": {
"coordinates": [
[
[8.650173693895338, 50.11768192973537],
[8.649645298719406, 50.1177214866573],
[8.649690896272658, 50.11794334878755],
[8.649795502424238, 50.11793646935709],
[8.649822324514389, 50.11810845482188],
[8.64978477358818, 50.118110174673404],
[8.649827688932419, 50.11833375484596],
[8.650490194559096, 50.11828559920474],
[8.650428503751753, 50.11806029895402],
[8.65011468529701, 50.11808265704158],
[8.650082498788832, 50.11792615020954],
[8.650203198194502, 50.117914111201316],
[8.650173693895338, 50.11768192973537]
]
],
"type": "Polygon"
}
},
"identifiers": {
"LSF": "706"
},
"name": "H I (Vorbelegungsrecht Kunstgeschichte)",
"type": "room",
"uid": "07ccd06f-2f58-52ce-bcdd-2341f79b5893"
}
}
],
"facets": [
{
"buckets": [
{
"count": 1,
"key": "date series"
}
],
"field": "type"
},
{
"buckets": [
{
"count": 1,
"key": "exercise"
}
],
"field": "event.categories",
"onlyOnType": "date series"
},
{
"buckets": [
{
"count": 1,
"key": "education"
},
{
"count": 1,
"key": "learn"
}
],
"field": "inPlace.categories",
"onlyOnType": "date series"
}
],
"pagination": {
"count": 1,
"offset": 0,
"total": 1
},
"stats": {
"time": 5
}
}
}

View File

@@ -0,0 +1,17 @@
{
"filter": {
"arguments": {
"filters": [
{
"arguments": {
"field": "type",
"value": "academic event"
},
"type": "value"
}
],
"operation": "and"
},
"type": "boolean"
}
}

View File

@@ -0,0 +1,208 @@
{
"data": [
{
"uid": "2ae9f707-c9d3-5bc6-bfbc-734dbd148336",
"identifiers": {
"LSF": "336024"
},
"catalogs": [
{
"categories": ["university events"],
"identifiers": {
"LSF": "85523"
},
"level": 2,
"name": "Fremdsprachen",
"type": "catalog",
"uid": "004a2be2-efad-5d14-8b6b-88701651c3fd"
}
],
"origin": {
"indexed": "2059-06-03T10:10:13.841Z",
"name": "Goethe-Uni QIS / LSF",
"type": "remote"
},
"name": "UNIcert (Test)",
"organizers": [
{
"familyName": "Guzmán",
"gender": "female",
"givenName": "Evelyn",
"identifiers": {
"LSF": "15239"
},
"jobTitles": ["ISZ-Bereich Fremdsprachen - Wissenschaftliche Mitarbeiter*innen"],
"name": "Evelyn Guzmán",
"type": "person",
"uid": "6cd47b1f-485a-50be-8ca6-7ebe71729b7d"
}
],
"originalCategory": "Übung",
"categories": ["exercise"],
"type": "academic event",
"academicTerms": [
{
"acronym": "WiSe 2058/59",
"alternateNames": ["Winter 2058/59"],
"endDate": "2059-03-31T21:59:59.999Z",
"eventsEndDate": "2059-02-18T22:59:59.999Z",
"eventsStartDate": "2021-10-17T22:00:00.000Z",
"name": "Wintersemester 2021/22",
"startDate": "2021-09-30T22:00:00.000Z",
"type": "semester",
"uid": "049ab143-8b77-5dcc-95e9-8bb6755f3db4"
}
]
},
{
"uid": "d65576a9-da8a-5c3f-828d-ef8fb749b47e",
"identifiers": {
"LSF": "333339"
},
"catalogs": [
{
"categories": ["university events"],
"identifiers": {
"LSF": "90887"
},
"level": 3,
"name": "Empirische Forschungsmethoden II - Vertiefung (EW-BA 7)",
"type": "catalog",
"uid": "cc509f14-1a54-5500-a48e-57c1965aac09"
},
{
"categories": ["university events"],
"identifiers": {
"LSF": "88474"
},
"level": 3,
"name": "Empirische Forschungsverfahren und ihre Anwendung (alt) / Empirische Foschungsmethoden II - Vertiefung (neu) (EW-BA 7)",
"type": "catalog",
"uid": "6d7018f8-8a7c-50ff-9504-c5ec3c978e8b"
},
{
"categories": ["university events"],
"identifiers": {
"LSF": "91137"
},
"level": 1,
"name": "Pädagogik der Elementar- und Primarstufe",
"type": "catalog",
"uid": "991c01fa-674f-58c1-add8-54317fee2c27"
}
],
"origin": {
"indexed": "2059-06-03T10:08:49.850Z",
"name": "Goethe-Uni QIS / LSF",
"type": "remote"
},
"name": "EW-BA7-quantitativ: Test- und Fragebogenkonstruktion",
"organizers": [
{
"familyName": "Jurecka",
"gender": "female",
"givenName": "Astrid",
"honorificPrefix": "Dr.",
"identifiers": {
"LSF": "10608"
},
"jobTitles": [
"Institut für Pädagogik der Elementar- und Primarstufe (WE II) - Wissenschaftliche Mitarbeiter*innen"
],
"name": "Astrid Jurecka",
"type": "person",
"uid": "92ad2023-5c9d-5fcf-8c42-58b476ae24ba"
}
],
"originalCategory": "Seminar",
"categories": ["seminar"],
"type": "academic event",
"academicTerms": [
{
"acronym": "SoSe 2059",
"alternateNames": ["Sommer 2059"],
"endDate": "2059-09-30T21:59:59.999Z",
"eventsEndDate": "2059-07-15T21:59:59.999Z",
"eventsStartDate": "2059-04-10T22:00:00.000Z",
"name": "Sommersemester 2059",
"startDate": "2059-03-31T22:00:00.000Z",
"type": "semester",
"uid": "4b2766cb-e16d-5698-b5b3-e650613d497a"
}
]
}
],
"facets": [
{
"buckets": [
{
"count": 2,
"key": "academic event"
}
],
"field": "type"
},
{
"buckets": [
{
"count": 1,
"key": "WiSe 2058/59"
},
{
"count": 1,
"key": "SoSe 2059"
}
],
"field": "academicTerms.acronym",
"onlyOnType": "academic event"
},
{
"buckets": [
{
"count": 2,
"key": "university events"
}
],
"field": "catalogs.categories",
"onlyOnType": "academic event"
},
{
"buckets": [
{
"count": 17,
"key": "seminar"
},
{
"count": 3,
"key": "exercise"
},
{
"count": 3,
"key": "practicum"
},
{
"count": 2,
"key": "special"
},
{
"count": 1,
"key": "lecture"
},
{
"count": 1,
"key": "tutorial"
}
],
"field": "categories",
"onlyOnType": "academic event"
}
],
"pagination": {
"count": 2,
"offset": 0,
"total": 2
},
"stats": {
"time": 69
}
}