From 816b7b5acc705526dbf58ed24e798d4d1c14a1f4 Mon Sep 17 00:00:00 2001 From: kapable Date: Fri, 5 Jul 2024 12:54:01 +0900 Subject: [PATCH] add todayBentoChar test --- package.json | 17 ++ src/api/TESTS.js | 729 +++++++++++++++++++++++++++++++++++------------ 2 files changed, 556 insertions(+), 190 deletions(-) diff --git a/package.json b/package.json index 4b13a2446..ac2620bb0 100644 --- a/package.json +++ b/package.json @@ -127,6 +127,23 @@ "/kapable.github.io/hmall/result/INTP", "/kapable.github.io/hmall/result/INFJ", "/kapable.github.io/hmall/result/INFP", + "/kapable.github.io/todayBentoChar/", + "/kapable.github.io/todayBentoChar/result/chfhr", + "/kapable.github.io/todayBentoChar/result/vkfks", + "/kapable.github.io/todayBentoChar/result/gksmf", + "/kapable.github.io/todayBentoChar/result/ghkfqkfgks", + "/kapable.github.io/todayBentoChar/result/wlsghl", + "/kapable.github.io/todayBentoChar/result/Qkfrks", + "/kapable.github.io/todayBentoChar/result/qhfk", + "/kapable.github.io/todayBentoChar/result/ska", + "/kapable.github.io/todayBentoChar/result/ghl", + "/kapable.github.io/todayBentoChar/result/shfks", + "/kapable.github.io/todayBentoChar/result/wnghkd", + "/kapable.github.io/todayBentoChar/result/qpdlwl", + "/kapable.github.io/todayBentoChar/result/cjdfhr", + "/kapable.github.io/todayBentoChar/result/dusqnsghd", + "/kapable.github.io/todayBentoChar/result/dusen", + "/kapable.github.io/todayBentoChar/result/gkdis", "/kapable.github.io/insideEmotionControlJP/", "/kapable.github.io/insideEmotionControlJP/result/chfhr", "/kapable.github.io/insideEmotionControlJP/result/vkfks", diff --git a/src/api/TESTS.js b/src/api/TESTS.js index ca0837fac..7c51513d4 100644 --- a/src/api/TESTS.js +++ b/src/api/TESTS.js @@ -23,6 +23,348 @@ function range(start, stop, step) { export const TESTS = [ // order tests with newly date order + // todayBentoChar + { + info: { + mainTitle: '오늘의 도시락 성격 테스트', + subTitle: '내게 맞는 도시락 반찬은 무엇일까?', + mainUrl: 'todayBentoChar', + scoreType: 'typeCountingMBTI', + mainImage: + 'https://images.ktestone.com/introImages/todayBentoChar-intro.jpg', + thumbImage: + 'https://images.ktestone.com/main-thumbnail/todayBentoChar-thumb.png', + horizontalBanner: + 'https://images.ktestone.com/horizontalNewTest/Korea/dotori.png', + lang: 'Kor', + category: 'characteristic', + }, + questions: [ + { + which: 'EI', + question: '친구들과 각자 도시락을 만들어 나눠 먹으려고 한다!', + answers: [ + { + type: 'E', + score: 2, + content: '친구에게 전화해서 어떤 메뉴로 만들 건지 물어본다', + }, + { + type: 'I', + score: 5, + content: '어떤 도시락을 만들지 혼자 검색해 보며 고민한다', + }, + ], + }, + { + which: 'EI', + question: '도시락을 먹으러 약속 장소에 도착했는데 사람이 너무 많다!', + answers: [ + { + type: 'E', + score: 2, + content: '이왕이면 사람 많은 중심 자리', + }, + { + type: 'I', + score: 5, + content: '최대한 한적한 구석 조용한 자리', + }, + ], + }, + { + which: 'EI', + question: '옆자리에 앉은 사람들이 함께 놀자고 말을 건다!', + answers: [ + { + type: 'E', + score: 2, + content: `재밌겠는데? 사람 많을수록 좋지!`, + }, + { + type: 'I', + score: 5, + content: `불편해.. 그냥 우리끼리 먹자`, + }, + ], + }, + { + which: 'SN', + question: '도시락을 어떻게 만들 거야?', + answers: [ + { + type: 'S', + score: 2, + content: `최대한 열심히 맛있게 만들어야지!`, + }, + { + type: 'N', + score: 5, + content: `난 ~모양을 내서 고급스러운 느낌으로 만들어 보려고!`, + }, + ], + }, + { + which: 'SN', + question: '내 도시락 반찬들은 어떤 위주일까?', + answers: [ + { + type: 'S', + score: 2, + content: '이전 만들어봤었던 맛이 보장된 반찬들', + }, + { + type: 'N', + score: 5, + content: `처음 만들어보는 새로운 레시피의 반찬들`, + }, + ], + }, + { + which: 'SN', + question: '열심히 만들던 도중에 내가 생각하는 것은?', + answers: [ + { + type: 'S', + score: 2, + content: `이렇게 만들면 되겠지, 양은 충분하겠지`, + }, + { + type: 'N', + score: 5, + content: `내 도시락 보면 다들 놀라겠지? 사 온 거라고 생각하는 거 아냐?`, + }, + ], + }, + { + which: 'TF', + question: `내 도시락을 맛본 친구가 ‘대충 만든 것 같은데 맛있다!’라고 한다면?`, + answers: [ + { + type: 'T', + score: 2, + content: '오 고마워 뿌듯하네', + }, + { + type: 'F', + score: 5, + content: '대충이라니.. 나 엄청 열심히 만들었는데…?', + }, + ], + }, + { + which: 'TF', + question: + '도시락을 먹기로 한 곳이 덥지만 울창한 나무가 많고 새들이 날아다닌다!', + answers: [ + { + type: 'T', + score: 2, + content: `더워.. 나무 많으니까 저기 그늘로 가자`, + }, + { + type: 'F', + score: 5, + content: '이게 여름 감성인가~ 덥긴 하지만 풍경이 너무 좋다!', + }, + ], + }, + { + which: 'TF', + question: `먹던 도중 친구가 나랑 있는게 가장 편하다고 한다면 내 대답은?`, + answers: [ + { + type: 'T', + score: 2, + content: '그래? 왜?? (순수하게 궁금함)', + }, + { + type: 'F', + score: 5, + content: '(기분이 좋아짐) 나도 당연히 너가 제일 편하지!', + }, + ], + }, + { + which: 'JP', + question: '도시락에 넣을 메뉴를 정하고 나면?', + answers: [ + { + type: 'J', + score: 2, + content: `정해둔 메뉴는 바꾸지 않고 만듦`, + }, + { + type: 'P', + score: 5, + content: `만들다가 메뉴가 달라지기도 함`, + }, + ], + }, + { + which: 'JP', + question: '생각보다 도시락을 빨리 만들고 있어서 시간이 남을 것 같다!', + answers: [ + { + type: 'J', + score: 2, + content: '시간에 맞춰 만들기 위해 천천히 여유롭게 움직임', + }, + { + type: 'P', + score: 5, + content: '빨리 만들고 쉴 생각에 더 바빠짐', + }, + ], + }, + { + which: 'JP', + question: '다 만들고 나서 뒷정리는?', + answers: [ + { + type: 'J', + score: 2, + content: '중간중간 깔끔하게 정리해놔서 크게 할 게 없음', + }, + { + type: 'P', + score: 5, + content: '한 번에 몰아서 하려고 쌓아놔서 정리할 게 많음', + }, + ], + }, + ], + results: [ + { + type: 'ESTJ', + desc: ``, + query: 'chfhr', + score_range: range(26), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ESTJ.jpg', + }, + { + type: 'ESTP', + desc: ``, + query: 'vkfks', + score_range: range(26, 51), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ESTP.jpg', + }, + { + type: 'ESFJ', + desc: ``, + query: 'gksmf', + score_range: range(51, 75), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ESFJ.jpg', + }, + { + type: 'ESFP', + desc: ``, + query: 'ghkfqkfgks', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ESFP.jpg', + }, + { + type: 'ENTJ', + desc: ``, + query: 'wlsghl', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ENTJ.jpg', + }, + { + type: 'ENTP', + desc: ``, + query: 'Qkfrks', + score_range: range(26), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ENTP.jpg', + }, + { + type: 'ENFJ', + desc: ``, + query: 'qhfk', + score_range: range(26, 51), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ENFJ.jpg', + }, + { + type: 'ENFP', + desc: ``, + query: 'ska', + score_range: range(51, 75), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ENFP.jpg', + }, + { + type: 'ISTJ', + desc: ``, + query: 'ghl', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ISTJ.jpg', + }, + { + type: 'ISTP', + desc: ``, + query: 'shfks', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ISTP.jpg', + }, + { + type: 'ISFJ', + desc: ``, + query: 'wnghkd', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ISFJ.jpg', + }, + { + type: 'ISFP', + desc: ``, + query: 'qpdlwl', + score_range: range(26), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/ISFP.jpg', + }, + { + type: 'INTJ', + desc: ``, + query: 'cjdfhr', + score_range: range(26, 51), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/INTJ.jpg', + }, + { + type: 'INTP', + desc: ``, + query: 'dusqnsghd', + score_range: range(51, 75), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/INTP.jpg', + }, + { + type: 'INFJ', + desc: ``, + query: 'dusen', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/INFJ.jpg', + }, + { + type: 'INFP', + desc: ``, + query: 'gkdis', + score_range: range(76, 101), + img_src: + 'https://images.ktestone.com/resultImages/todayBentoChar/INFP.jpg', + }, + ], + }, // insideEmotionControlJP { info: { @@ -3485,196 +3827,203 @@ export const TESTS = [ }, questions: [ { - which:"EI", - question: "What if you made an appointment with your lover's friends?", - answers:[ - { - type: "E", - score: 2, - content: "I'm looking forward to what kind of people they will be" - }, - { - type: "I", - score: 5, - content: 'I feel uncomfortable even before we meet' - }, - ], - }, - { - which:"EI", - question: "What date do you usually go on with your lover?", - answers:[ - { - type: "E", - score: 2, - content: "Activity-oriented Dating" - }, - { - type: "I", - score: 5, - content: "Indoor-focused dating" - }, - ] - }, - { - which:"EI", - question: "When You Feel Sad or Depressed?", - answers:[ - { - type: "E", - score: 2, - content: `I spend time with my lover and solve it` - }, - { - type: "I", - score: 5, - content: `I spend time alone at home` - }, - ] - }, - { - which:"SN", - question: "What is the topic of conversation you often talk about with your lover?", - answers:[ - { - type: "S", - score: 2, - content: `Conversations related to daily life` - }, - { - type: "N", - score: 5, - content: `An imaginary conversation` - }, - ] - }, - { - which:"SN", - question: "What if your lover suddenly sets a breakup song as your profile music?", - answers:[ - { - type: "S", - score: 2, - content: "I think you set it up because you liked the song" - }, - { - type: "N", - score: 5, - content: `It gives meaning and thinks about many things` - }, - ] - }, - { - which:"SN", - question: "What if you give a book to your lover?", - answers:[ - { - type: "S", - score: 2, - content: `A book that may help one's lover` - }, - { - type: "N", - score: 5, - content: `A book with a wide range of interpretability` - }, - ] - }, - { - which:"TF", - question: `What if you feel bad about your lover?`, - answers:[ - { - type: "T", - score: 2, - content: "Says what he is upset about to his lover" - }, - { - type: "F", - score: 5, - content: "I keep it to myself and bring it up later" - }, - ] - }, - { - which:"TF", - question: "If you were to give advice on a situation clearly caused by your lover mistake, what would you say?", - answers:[ - { - type: "T", - score: 2, - content: `Listen quietly to the story or tell me what's wrong` - }, - { - type: "F", - score: 5, - content: "Tells me the answer he wants by thinking about his lover's feelings" - }, - ] - }, - { - which:"TF", - question: `What if your lover says she had a depressing dream?`, - answers:[ - { - type: "T", - score: 2, - content: "Ask about your dream content and try to understand emotions" - }, - { - type: "F", - score: 5, - content: "Give words that can help you find empathy and stability" - }, - ] - }, - { - which:"JP", - question: "What is your preferred date plan?", - answers:[ - { - type: "J", - score: 2, - content: `A date with all one's schedules planned` - }, - { - type: "P", - score: 5, - content: `An impromptu date according to the date` - }, - ] - }, - { - which:"JP", - question: "When I suddenly want to see my lover?", - answers:[ - { - type: "J", - score: 2, - content: "I miss you, but I hold back thinking about my lover's schedule" - }, - { - type: "P", - score: 5, - content: "First, I call them to meet them" - }, - ] - }, - { - which:"JP", - question: 'If I go shopping with my lover?', - answers:[ - { - type: "J", - score: 2, - content: "Create a shopping list and only buy necessary items" - }, - { - type: "P", - score: 5, - content: "Roughly decide on needed items and make additional purchases while shopping" - }, - ] + which: 'EI', + question: "What if you made an appointment with your lover's friends?", + answers: [ + { + type: 'E', + score: 2, + content: "I'm looking forward to what kind of people they will be", + }, + { + type: 'I', + score: 5, + content: 'I feel uncomfortable even before we meet', + }, + ], + }, + { + which: 'EI', + question: 'What date do you usually go on with your lover?', + answers: [ + { + type: 'E', + score: 2, + content: 'Activity-oriented Dating', + }, + { + type: 'I', + score: 5, + content: 'Indoor-focused dating', + }, + ], + }, + { + which: 'EI', + question: 'When You Feel Sad or Depressed?', + answers: [ + { + type: 'E', + score: 2, + content: `I spend time with my lover and solve it`, + }, + { + type: 'I', + score: 5, + content: `I spend time alone at home`, + }, + ], + }, + { + which: 'SN', + question: + 'What is the topic of conversation you often talk about with your lover?', + answers: [ + { + type: 'S', + score: 2, + content: `Conversations related to daily life`, + }, + { + type: 'N', + score: 5, + content: `An imaginary conversation`, + }, + ], + }, + { + which: 'SN', + question: + 'What if your lover suddenly sets a breakup song as your profile music?', + answers: [ + { + type: 'S', + score: 2, + content: 'I think you set it up because you liked the song', + }, + { + type: 'N', + score: 5, + content: `It gives meaning and thinks about many things`, + }, + ], + }, + { + which: 'SN', + question: 'What if you give a book to your lover?', + answers: [ + { + type: 'S', + score: 2, + content: `A book that may help one's lover`, + }, + { + type: 'N', + score: 5, + content: `A book with a wide range of interpretability`, + }, + ], + }, + { + which: 'TF', + question: `What if you feel bad about your lover?`, + answers: [ + { + type: 'T', + score: 2, + content: 'Says what he is upset about to his lover', + }, + { + type: 'F', + score: 5, + content: 'I keep it to myself and bring it up later', + }, + ], + }, + { + which: 'TF', + question: + 'If you were to give advice on a situation clearly caused by your lover mistake, what would you say?', + answers: [ + { + type: 'T', + score: 2, + content: `Listen quietly to the story or tell me what's wrong`, + }, + { + type: 'F', + score: 5, + content: + "Tells me the answer he wants by thinking about his lover's feelings", + }, + ], + }, + { + which: 'TF', + question: `What if your lover says she had a depressing dream?`, + answers: [ + { + type: 'T', + score: 2, + content: + 'Ask about your dream content and try to understand emotions', + }, + { + type: 'F', + score: 5, + content: 'Give words that can help you find empathy and stability', + }, + ], + }, + { + which: 'JP', + question: 'What is your preferred date plan?', + answers: [ + { + type: 'J', + score: 2, + content: `A date with all one's schedules planned`, + }, + { + type: 'P', + score: 5, + content: `An impromptu date according to the date`, + }, + ], + }, + { + which: 'JP', + question: 'When I suddenly want to see my lover?', + answers: [ + { + type: 'J', + score: 2, + content: + "I miss you, but I hold back thinking about my lover's schedule", + }, + { + type: 'P', + score: 5, + content: 'First, I call them to meet them', + }, + ], + }, + { + which: 'JP', + question: 'If I go shopping with my lover?', + answers: [ + { + type: 'J', + score: 2, + content: 'Create a shopping list and only buy necessary items', + }, + { + type: 'P', + score: 5, + content: + 'Roughly decide on needed items and make additional purchases while shopping', + }, + ], }, ], results: [