From c7cd4836046ee517c2fac65d93d0fdfd58f44fad Mon Sep 17 00:00:00 2001 From: Wardormeur Date: Sat, 20 May 2017 13:47:58 +0100 Subject: [PATCH] Add private dojo to e2e fixtures --- test/fixtures/e2e/dojo-leads.json | 101 ++++++++++++++++++++++++++++++ test/fixtures/e2e/dojos.json | 29 +++++++++ 2 files changed, 130 insertions(+) diff --git a/test/fixtures/e2e/dojo-leads.json b/test/fixtures/e2e/dojo-leads.json index c2853aad..cb156363 100644 --- a/test/fixtures/e2e/dojo-leads.json +++ b/test/fixtures/e2e/dojo-leads.json @@ -491,4 +491,105 @@ "coderDojoReference": "Family/Friends" } } +}, { + "email": "champion3@example.com", + "currentStep": 5, + "completed": false, + "converted": false, + "application": { + "championDetails": { + "email": "champion3@example.com", + "name": "Champion3", + "dateOfBirth": "1957-11-13T23:00:00.000Z", + "phone": "393345678910", + "country": { + "countryName": "France", + "countryNumber": 250, + "continent": "EU", + "alpha2": "FR", + "alpha3": "FRA", + "$$hashKey": "object:212" + }, + "county": {}, + "state": {}, + "city": {}, + "place": { + "nameWithHierarchy": "Lyon", + "$$hashKey": "object:966" + }, + "countryName": "France", + "countryNumber": 250, + "continent": "EU", + "alpha2": "FR", + "alpha3": "FRA", + "address1": "24 Rue Pizay", + "projects": "Lorem Ipsum", + "coderDojoReference": "Other" + }, + "setupYourDojo": { + "findTechnicalMentors": true, + "findTechnicalMentorsText": "1", + "findNonTechnicalMentors": true, + "findNonTechnicalMentorsText": "1", + "backgroundCheck": false, + "backgroundCheckText": "", + "locateVenue": true, + "locateVenueText": "24 Rue Pizay", + "ensureHealthAndSafety": true, + "ensureHealthAndSafetyText": "ok", + "ensureInsuranceCover": true, + "ensureInsuranceCoverText": "ok", + "setDojoDateAndTime": true, + "setDojoDateAndTimeText": "Soon", + "planContent": true, + "setupTicketingAndRegistration": true, + "setDojoEmailAddress": true, + "setupSocialMedia": false, + "embodyCoderDojoTao": true, + "onlineSafetyBestPractice": false, + "onlineSafetyBestPracticeText": "", + "dataProtectionRegulated": false, + "dataProtectionRegulatedText": "", + "diversityRespected": true, + "diversityRespectedText": "", + "engageCoderDojoMovement": true, + "engageCoderDojoMovementText": "" + }, + "dojoListing": { + "stage": 2, + "notes": "

Lorem Ipsum

\n", + "name": "Lyon", + "time": "Every X, 10:00 -13:00", + "country": { + "countryName": "France", + "countryNumber": 250, + "continent": "EU", + "alpha2": "FR", + "alpha3": "FRA" + }, + "placeName": "Lyon", + "county": {}, + "state": {}, + "city": {}, + "place": { + "nameWithHierarchy": "Lyon" + }, + "countryName": "France", + "countryNumber": 380, + "continent": "EU", + "alpha2": "FR", + "alpha3": "FRA", + "email": "privateDojo1@example.com", + "address1": "24 Rue Pizay, Lyon, France", + "needMentors": 1, + "coordinates": "45.76711, 4.83662", + "mailingList": 1, + "supporterImage": null, + "website": null, + "twitter": null, + "googleGroup": null, + "private": 0, + "creatorEmail": "champion1@example.com" + } + } }] diff --git a/test/fixtures/e2e/dojos.json b/test/fixtures/e2e/dojos.json index 042a7f3c..2960dff0 100644 --- a/test/fixtures/e2e/dojos.json +++ b/test/fixtures/e2e/dojos.json @@ -55,5 +55,34 @@ "website": "https://www.google.com", "verified": 1, "stage": 2 + }, + { + "admin1Code": 24, + "admin1Name": "dubido", + "alpha2": "FR", + "alpha3": "FRA", + "continent": "EU", + "country": {"countryName":"France","alpha2":"FR"}, + "countryName": "France", + "countryNumber": 250, + "deleted": 0, + "email": "privateDojo1@example.com", + "mailingList": 0, + "mysqlDojoId": 1331, + "name": "privateDojo1", + "needMentors": 1, + "notes": "Bring laptop.", + "place": {"nameWithHierarchy":"Lyon"}, + "coordinates": "45.76711, 4.83662", + "place_geoname_id": 5101125, + "place_name": "45.76711, 4.83662", + "address1": "24 Rue Pizay, Lyon, France", + "private": 1, + "state": {}, + "time": "Saturdays, once a month, 2-4", + "twitter": "persontwitter", + "website": "https://www.google.com", + "verified": 1, + "stage": 2 } ]