From a5f42b1af11a494d0970fb6c00c47aa727ec5c6c Mon Sep 17 00:00:00 2001 From: Takeshi Kimata <117462761+kimatata@users.noreply.github.com> Date: Sun, 4 Aug 2024 13:06:47 +0900 Subject: [PATCH] chore: update seed data --- backend/seeders/seed.js | 92 ++++++++++++++++++++--------------------- 1 file changed, 46 insertions(+), 46 deletions(-) diff --git a/backend/seeders/seed.js b/backend/seeders/seed.js index 1a034ea..ea6b217 100644 --- a/backend/seeders/seed.js +++ b/backend/seeders/seed.js @@ -93,8 +93,8 @@ module.exports = { updatedAt: new Date(), }, { - name: 'Iron Muscle App(筋トレアプリ)', - detail: 'リリース前総合評価', + name: 'Iron Muscle App', + detail: 'Pre-release overall evaluation', userId: 1, isPublic: true, createdAt: new Date(2024, 6, 10), @@ -127,21 +127,21 @@ module.exports = { updatedAt: new Date(), }, { - name: 'アカウント', + name: 'Account', detail: '', projectId: 2, createdAt: new Date(), updatedAt: new Date(), }, { - name: 'トレーニング記録', + name: 'Tranning history', detail: '', projectId: 2, createdAt: new Date(), updatedAt: new Date(), }, { - name: 'タイムライン', + name: 'Timeline', detail: '', projectId: 2, createdAt: new Date(), @@ -175,7 +175,7 @@ module.exports = { updatedAt: new Date(), }, { - name: '総合評価第一回', + name: 'evaluation 1st', projectId: 2, configurations: 1, description: '5/14 - 5/31', @@ -184,7 +184,7 @@ module.exports = { updatedAt: new Date(), }, { - name: '総合評価第二回', + name: 'evaluation 2nd', projectId: 2, configurations: 1, description: '6/1 - 6/12', @@ -239,127 +239,127 @@ module.exports = { updatedAt: new Date(), }, { - title: 'メールアドレスでのアカウント登録', + title: 'Register account with email address', state: 1, priority: 2, type: 4, automationStatus: 1, - description: 'メールアドレス、パスワードをフォームに入力してサインアップボタンを押す', + description: 'Enter email addres and password in the form and click the Sign Up button.', template: 0, - preConditions: '未サインイン状態であること。アカウントがないこと。', - expectedResults: 'サインアップができ、自動でアカウントページに遷移する', + preConditions: '- You are not signed in\n- You have no account.', + expectedResults: 'You can sign up and you will be automatically redirected to your account page.', folderId: 3, createdAt: new Date(), updatedAt: new Date(), }, { - title: 'メールアドレスでのサインイン', + title: 'Sign in with email', state: 1, priority: 2, type: 4, automationStatus: 1, - description: 'メールアドレス、パスワードをフォームに入力してサインインボタンを押す', + description: 'nter email addres and password in the form and click the Sign In button.', template: 0, - preConditions: '未サインイン状態であること', - expectedResults: 'サインインができ、自動でアカウントページに遷移する', + preConditions: 'You are not signed in', + expectedResults: 'You can sign in and you will be automatically redirected to your account page.', folderId: 3, createdAt: new Date(), updatedAt: new Date(), }, { - title: 'ソーシャルアカウントサインイン', + title: 'Social Account Sign In', state: 1, priority: 1, type: 4, automationStatus: 1, - description: 'Googleアカウントで筋トレアプリにサインインできること', + description: 'You can sign in to the app with your Google account.', template: 0, - preConditions: '未サインイン状態であること', - expectedResults: 'サインインでき、自動でアカウントページに遷移する', + preConditions: 'You are not signed in', + expectedResults: 'You can sign in and you will be automatically redirected to your account page.', folderId: 3, createdAt: new Date(), updatedAt: new Date(), }, { - title: 'アカウント情報編集', + title: 'Edit Account', state: 1, priority: 3, type: 4, automationStatus: 1, - description: 'ユーザー名、アバター画像を変更できること', + description: 'You can update user name and avatar', template: 0, - preConditions: 'アバター画像(.png, .svg, .jpg)を用意する', - expectedResults: 'アバター画像を登録できること', + preConditions: 'Prepare sample avatar image file(.png, .svg, .jpg)', + expectedResults: 'You can resister avatar image', folderId: 3, createdAt: new Date(), updatedAt: new Date(), }, { - title: 'アカウント閲覧', + title: 'View Account', state: 1, priority: 0, type: 1, automationStatus: 1, - description: 'ほかの人のアカウント情報は見れないこと', + description: 'You cannot view not your account info', template: 1, - preConditions: '特になし', + preConditions: 'nothing', expectedResults: '', folderId: 3, createdAt: new Date(), updatedAt: new Date(), }, { - title: '筋トレ記録(部位選択)', + title: 'Muscle memory (Selection of muscle train part)', state: 1, priority: 2, type: 1, automationStatus: 1, - description: '部位選択', + description: 'Selection of muscle train part', template: 1, - preConditions: '特になし', - expectedResults: '筋トレ部位を選択できること', + preConditions: 'nothing', + expectedResults: 'Able to choose which parts of your body to train', folderId: 4, createdAt: new Date(), updatedAt: new Date(), }, { - title: '筋トレ記録(回数選択)', + title: 'Muscle Memory (training sessions selection)', state: 1, priority: 2, type: 1, automationStatus: 1, - description: '回数選択', + description: 'sessions selection', template: 1, - preConditions: '特になし', - expectedResults: '筋トレ回数を選択できること', + preConditions: 'nothing', + expectedResults: 'Able to select the number of muscle training sessions', folderId: 4, createdAt: new Date(), updatedAt: new Date(), }, { - title: '筋トレ記録 ダイアログのクローズ', + title: 'Muscle Memory(closing dialog)', state: 1, priority: 3, type: 3, automationStatus: 1, - description: '選択ダイアログの機能性確認', + description: 'dialog functional check', template: 1, - preConditions: 'ダイアログを開く', - expectedResults: 'ダイアログの「×」ボタンを押して閉じれること', + preConditions: 'open the dialog', + expectedResults: 'able to close the dialog by clicking "x" button', folderId: 4, createdAt: new Date(), updatedAt: new Date(), }, { - title: '筋トレ記録 選択ダイアログ', + title: 'Muscle Memory(selectio dialog)', state: 1, priority: 3, type: 3, automationStatus: 1, - description: '選択ダイアログのレスポンシブ確認', + description: 'responsibility of selection dialog', template: 1, - preConditions: 'スマホでウェブサイトにアクセスする', - expectedResults: 'ダイアログの表示がおかしくないこと', + preConditions: 'access the app by mobile device', + expectedResults: 'dialog will be displayed properly', folderId: 4, createdAt: new Date(), updatedAt: new Date(), @@ -491,14 +491,14 @@ module.exports = { updatedAt: new Date(), }, { - step: 'ブラウザのシークレットモードに入る', - result: '開発者モードのLocal Storageを開き、sessionがないことを確認する。', + step: 'Open browser with secret mode', + result: 'Open Local Storage in Developer Tools and confirm that there is no session.', createdAt: new Date(), updatedAt: new Date(), }, { - step: "'account/userinfo?userid=xxx'に遷移する", - result: 'エラーページにリダイレクトされ、403エラーなこと。', + step: "move to 'account/userinfo?userid=xxx' page", + result: 'Redirected to an error page with a 403 error.', createdAt: new Date(), updatedAt: new Date(), },