SWT301 Test Case
SWT301 Test Case
Khánh
Name
Function M: Test cases for Premium upgrade
Subitems
Định
Name
Valid Inputs for Comment
Subitems
Create Comment
Subitems
Update Comment
Subitems
Delete Comment
Subitems
Get Comment
Subitems
Create Advertisement
Subitems
Get Advertisements
Subitems
Update Advertisement
Subitems
Delete advertisement
Subitems
Ngọc
Name
Login Function
Subitems
Register Function
Subitems
LogOut Function
Subitems
Thắng
Name
Function A
Subitems
Function F
Subitems
Function J
Subitems
correct CVV code., Test the cancel payment feature., Verify error message when the account balance is insufficient for paymen
Name
Verify the display of monthly and yearly subscription plans on the payment page.
Test the selection of the monthly plan.
Test the selection of the yearly plan.
Verify successful payment process for the monthly plan.
Verify successful payment process for the yearly plan.
Verify error message when using an expired credit card.
Verify error message when entering an incorrect CVV code.
Test the cancel payment feature.
Verify error message when the account balance is insufficient for payment.
Verify system behavior when there is a network error during payment.
Verify error handling when entering an invalid card number.
Verify user account status is updated after successful payment.
Verify the payment page supports multiple payment methods (e.g., credit card, PayPal, bank transfer).
Verify system behavior when payment is attempted with a blocked or blacklisted card.
Verify the user's email is correct in the checkout page
Verify the system does not allow duplicate subscriptions if the user is already subscribed.
Return to the home page after successful payment
home page, Verify that admin receives a confirmation prompt before deleting a tank specification., Function Q: Test Cases for "
Name
Verify that admin receives a confirmation prompt before deleting a tank specification.
Verify that the redirect to Dashboard after login Admin
Verify the "Số lượng User" statistic fields
Verify the "Số lượng Member" statistic fields
Verify the "Tổng số lượng cá Koi" statistic fields
Verify the "Tổng số lượng Tank" statistic fields
Verify the home button to return to the home page
Function Q: Test Cases for "Bảng thống kê" Section
Verify that the welcome message remains visible in "Bảng thống kê" section.
Function R: Test Cases for "Quản lý người dùng" Section
Verify that the welcome message remains visible in "Quản lý người dùng" section.
Verify when click the "Edit" button
Verify When click the "Xóa" button
Verify that administrators receive a confirmation prompt before deleting users.
Verify functionalities in "Quản lý người dùng" section, including viewing, editing, and deleting users.
Verify system behavior when there is a network error during payment., Verify successful payment process for the monthly p
Name
Verify successful payment process for the monthly plan.
Verify successful payment process for the yearly plan.
Verify error message when using an expired credit card.
Verify error message when entering an incorrect CVV code.
Test the cancel payment feature.
Verify system behavior when there is a network error during payment.
Verify the display of monthly and yearly subscription plans on the payme
Name
Verify the display of monthly and yearly subscription plans on the payment page.
Test the selection of the monthly plan.
Test the selection of the yearly plan.
Verify error message when the account balance is insufficient for payment.
Name
Get comments by BlogID
Validate the Price is float, Validate the Element is null, Validate the Element is existed, Validate the Category is null, Va
Name
Validate the Title is not null
Validate the Description is not null
Validate the Description length is under 1000 characters
Validate the Price is not null
Validate the Price is float
Validate the Element is null
Validate the Element is existed
Validate the Category is null
Validate the Category is existed
Validate input set of Images
Create Advertisement with va
Name
Create Advertisement with valid inputs
Create Advertisement with Guest or User account
Verify User information
Verify CreateDate
Verify Status
Get all advertise
Name
Get all advertisements
Get verified advertisements
Get pending advertisements
Get advertisement by AdvertisementID
sement with null Category, Update advertisement with Category not existed in database, Update advertisement with valid inputs
Name
Update advertisement with null Title
Update advertisement with null Description
Update advertisement with non-owner account
Update advertisement with null Element
Update advertisement with Element not existed in database
Update advertisement with null Category
Update advertisement with Category not existed in database
Update advertisement with valid inputs
Name
Delete advertisement with Admin Account
Delete advertisement with non-owner Account
Name
Verify pending advertisements
box validation, Test Email text box validation, Test Email text box validation, Test password text box, Test password text box, T
Name
Test Login Form
Test Email text box validation
Test Email text box validation
Test Email text box validation
Test password text box
Test password text box
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form
Test Login form
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form validation
Test Login form
Test Login form
Test Login form
Test Login form
Test Login form
Test Login form
st Register form, Test Register form validation, Test Register form validation, Test Register form validation, Test Register form v
Name
Test Register form
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form validation
Test Register form
Test Register form
Test Register form
Name
Test LogOut
Name
Test Profile page
Test edit profile form, Test edit profile form validation, Test edit profile form validation, Test edit profile for
Name
Test edit profile form
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
Test edit profile form
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
Test edit profile form validation
rrect calculation of Element ID for a valid birth year, Verify incorrect calculation of Element ID for a null birth year, Validate the D
Name
Verify incorrect calculation of Element ID for a null birth year
Verify correct calculation of Element ID for a valid birth year
Validate the DOB to calculate element in UI
Validate the DOB to calculate element
Verify calculation element function with no login in UI
Verify calculation element function with login in UI
Verify calculation element function with no login
UI, Verify add blog function with role admin in UI, Verify add blog function with wrong role, Verify add blog function with valid inp
Name
Verify add blog function with wrong role in UI
Verify add blog function with role admin in UI
Verify add blog function with wrong role
Verify add blog function with valid input
Verify add blog function with empty title
Verify add Get Blog by Id function with non-existing blogID in system
Verify update Blog function with valid input
Verify update Blog function with empty title
Verify update Blog function with non-existing blog Id
Verify Delete Blog function
Verify Delete Blog function with non-existing blog Id
Verify add blog function with valid input
Verify add blog function with empty title in UI
Verify add blog function with empty imageURL in UI
Verify add blog function with different type of imageURL in UI
xisting shape of tank in system, Verify elementFromShape method with a non-existing shape of tank in system, Verify compatib
Name
Verify elementFromColor method with a existing color of Koi fish in system.
Verify elementFromColor method with a non-existing color of Koi fish in system.
Verify elementFromShape method with a existing shape of tank in system
Verify elementFromShape method with a non-existing shape of tank in system
Verify compatibilityScore method with only neutral relationships in fish elements.
Verify compatibilityScore method with both favorable and unfavorable relationships in fish elements.
Verify compatibilityScore method when tank element is unfavorable.
Verify chatCompletion method with null request.
Verify chatCompletion method with a valid request but ChatGPT returns no response.
Verify chatCompletion method with a invalid request for chatCompletion
Verify compatibilityScore method when request input is not invalid
Verify calculate Element Compatibility function with no subscription packgage in UI
Verify Element Compatibility function calculation when exceeding the number of fish selected in UI
Verify Element Compatibility function calculation when exceeding the number of tank selected in UI
Verify Element Compatibility function calculation with wrong role(role user)
Verify Element Compatibility function calculation when null fish input in UI
Verify Element Compatibility function calculation when api key of Chatgpt is expired
Verify Element Compatibility function calculation when api key of Chatgpt is missing
Verify Element Compatibility function calculation when null tank input in UI
Verify Element Compatibility function calculation when null user's element input in UI
Verify search function with colors of koi fish
Verify chatCompletion method with a valid request when connect bad
Verify chatCompletion method with a empty request for chatGptCompletion method
Test Case Procedure Expected Output Inter-test case Dependence
ment., Verify the payment page supports multiple payment methods (e.g., credit card, PayPal, bank transfer)., Verify system be
Owner Status Date
ge remains visible in "Quản lý người dùng" section., Verify when click the "Edit" button, Verify When click the "Xóa" button, Verif
Owner Status Date
el payment feature.
Owner Status Date
Pass 2024-07-11
Fail 2024-07-11
Fail 2024-07-11
Pass 2024-07-11
Pass 2024-07-11
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" butto
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" bu
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the
2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. not input username (3-20 cha
e. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 char
me Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ng
1. Go to Home Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. in
me Page. 2. Scroll down a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-
n a bit and Click "Đăng nhập" button on the right. 3. Click the "Đăng ký ngay !" link 4. input username (3-20 characters) 5. input
1. Click the "Chỉnh sửa thông tin" button 2. change into right format
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the p
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into
1. Click the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật
the "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's tex
"Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text bo
e "Chỉnh sửa thông tin" button 2. change into right format username 3. input the pass word into the "Mật khẩu hiện tại" 's text b
ify chatCompletion method with a valid request but ChatGPT returns no response., Verify chatCompletion method with a invalid
Result Test date
1. Login the system with member role 2. Set valid input for userElement, fishElement, tank
1. Login the system with member role 2. Set invalid input for compatibilityScore metho
1. Login the system with member role2. Set valid input for userElement, fishElement, ta
1. Login the system with member role2. Set valid input for userElement, fish
Note
ment is attempted with a blocked or blacklisted card., Verify the user's email is correct in the checkout page, Verify the system d
Test Case Procedure
1. Open the payment page.
2. Check if both monthly and yearly plans are displayed.
1. Select the monthly plan on the payment page.
2. Proceed to checkout.
1. Select the yearly plan on the payment page.
1.2.Select
Proceed to checkout.
the monthly plan.
2. Enter valid payment information.
1. 3.
Select the yearly
Confirm payment. plan.
2. Enter valid payment information.
3.
1.Confirm payment.
Select any plan.
2. Enter expired card details.
1. Select any plan.
2. Enter card details with an incorrect CVV.
1. Select any plan.
2. Click "back" before confirming payment.
1.Select any plan.
2.Enter payment 1.Select
details with
anyan
plan.insufficient balance.
2.Enter payment details.
1.Select anyduring
3.Simulate a network interruption plan. the payment process.
2.Enter an invalid card number (e.g., random numbers or incorrect form
1.Complete 3.Confirm payment.
a payment for any plan.
2.Check the user account 1.Open the payment reflects
status to ensure it page. the active subscrip
2.Check if multiple payment options (credit card, PayPal, bank transfer) are availab
1.Select
3.Select each option individually andany subscription
proceed plan.step to ensure func
to the next
2.Enter payment information for a blocked or blacklisted card.
3.Attempt
1. Usertoiscomplete
at Paymentthe Page
payment.
2.Look at Email section.
1.Log in with a user who already has an active subscription.
2.Attempt to purchase the same plan again.
ors receive a confirmation prompt before deleting users., Verify functionalities in "Quản lý người dùng" section, including viewin
Test Case Procedure
1,Log in as admin.
2,Navigate to the tank list.
3,Attempt
1. Log intoasdelete a tank.
an admin.
2. 1.
Observe
Log in the Dashboard.
as an admin.
2. Navigate to the Admin Dashboard.
3. Check the1. Log in as an
"Số lượng admin.
User" statistic fields
2. Navigate to the Admin Dashboard.
1. Log in as an admin.
3. Check the "Số lượng Member" statistic fields
2. Navigate to the Admin Dashboard.
1. Logsốinlượng
3. Check the "Tổng as an cá
admin.
Koi" statistic fields
2. Navigate to the Admin Dashboard.
3. Check the "Tổng1. Logsốinlượng
as admin.
Tank" statistic fields
2. Press the "Quản lí" button.
3.Press home button.
1. Log in as an admin.
2. Navigate to the Admin Dashboard.
3. Click on the "Bảng thống kê" section.
4. Check to see if the welcome message is still displayed.
1. Log in as an admin+ Navigate to the Admin Dashboard.
2. Click on1.the "Quản
Log in as lý người dùng" section.
administrator
3. Check to 2.Navigate
see 1.
if the
Logwelcome
to as
in message
theadministrator
Admin is still displayed.
Console.
3. Click on to
2.Navigate "Quản lí người
the Admin dùng".
Console.
3. 4. Click
Click the "Edit"
"Quản lí ngườibutton.
dùng".
1,Log
4. Clickin the
as administrator.
"Xóa" button.
2,Navigate to the
5. Press the"Quản lí người dùng"
"Ok" button.
3,Press the "Xóa"
1,Log in as an administrator.button.
2,Navigate to the "Quản lý người dùng" section.
Note
Test Case Procedure 1. Login as owner of the advertisement user want to update
2. Go to "Quảng Cáo"
1. Login as owner of the
3. Click onadvertisement
"Quảng cáo của usertôi"want to update
2. Go to "Quảng
4. Click on "Cập nhật quảng cáo"Cáo"
3. Click
1. Login as non-owner 5. of onthe"Quảng
Input cáo field
advertisement
null in Title củauser
tôi" want to update
1. Login as owner of 4. Click
2.the on "Cập
Go advertisement
to "Quảng Cáo"nhật"
user want to update
5. Click
3. Input
2. Go nullto
on in"Quảng
Description
"Quảng cáo củafield
Cáo" tôi"
1. Login as owner of the
4.3.Click
Click on advertisement
on"Cập"Quảngnhậtcáo
quảnguser
của tôi"want to update
cáo"
4. Click2. Go to
on "Cập "Quảng Cáo"
nhật quảng cáo"
1. Login as owner of the
3. Click onadvertisement
"Quảng cáo củausertôi"want to update
5.2.Input
Go null
to Element
"Quảng field
Cáo"
4. Click
1. Login as owner on "Cập
of the nhật quảng
advertisement usercáo"want to update
5. Input 3. Click
Element not on "Quảng
existed in cáo của
database tôi"
in Element field
1. Login as non-owner 2. Go
4. Clickofonthe to "Quảng Cáo"
advertisement
"Cập nhật quảng usercáo" want to update
3.5.Click
2. Go
Input onnull"Quảng
to "Quảng cáo của
Cáo"
in Category tôi"
field
4.3.Click
Clickon on"Cập"Quảngnhậtcáo
quảng
của cáo"
tôi"
5. Input Category
4. Clicknoton existed in database
"Cập nhật quảng cáo"in Category field
5. Input valid inputs
6. Click on "Cập nhật"
Test Case Procedure 1. Login as non-owner of the advertisement user want to update
2. Go to "Quảng Cáo"
1. Login 3.
asChoose
non-owner
the of the advertisement
advertisement you wantusertowant to update
delete
2. Go to "Quảng
4. Click on "Xóa" Cáo"
3. Choose the advertisement you want to delete
4. Click on "Xóa"
Test Case Procedure 1. Login as Admin
2. Go to "Quảng Cáo"
3. Click on "Quảng cáo đang chờ"
4. Choose the advertisement you want to verified or rejected
5. Click on "Xác nhận"
Note
Note
Expected Output
A confirmation prompt appears before the tank specification
The dashboard page be shown
The dashboard should display the correct number of total users regis
The dashboard should display the correct number of total members reg
The dashboard should display the correct total number o
The dashboard should display the correct total number o
Dashboard page to redirect to Home page
The welcome message should remain visible and unchanged after clicking on the "Bảng thống kê" section, maintaining the
The welcome message should remain visible and unchanged after clicking on the "Quản lý người dùng, maintaining the mess
Display these data fields with following information: 'Tên', 'Email', 'Ngày Sinh', 'Mệnh', "Trạng thá
Reload the "Quản lí người dùng" section. The user will be removed from
Confirmation prompt appears before deleting user
The functions under "Manage users", including viewing, editing, and d
Expected Output
Payment is successful, and a confirmation message is d
Payment is successful, and a confirmation message is d
Error message "Your card has expired." is displayed, and paymen
Error message "Your card's security code is incomplete." is displayed, and
Payment is successfully canceled, and no charges are
The system displays a network error message and does not proc
Expected Output
Both plans are displayed with correct pricing and detailed i
The monthly plan is selected successfully and displays the c
The yearly plan is selected successfully and displays the co
Error message "Insufficient balance" is displayed, and payment i
text
Expected Output
Comment creation fails with an error "Content cannot b
Comment creation fails with an error "Comment must be under 1
Comment creation fails with an error "Blog cannot be
Comment creation fails with an error "Blog is not exis
Expected Output
Comment creation fails with an error "Unauthentica
Comment create successfully with correct User inform
CommentDate is correctly set to LocalDate.now(
Comment creation successfully, return with a unique CommentID, Us
Expected Output
Comment updation fails with an error "Content cannot
Comment updation fails with an error "Comment must be under
Comment updation fails with an error "You don't have pe
Comment update successfully.
Expected Output
Comment deletion fails with an error "You don't have per
Comment delete successfully.
Comment delete successfully.
Expected Output
Show all comments of that blog.
Expected Output
Advertisement creation fails with an error "Title cannot b
Advertisement creattion fails with an error "Description cann
Advertisement creation fails with an error "Description is only 1000
Advertisement creation fails with an error "Price cannot
Advertisement creation fails with an error "Price type is
Advertisement creation fails with an error "Element canno
Advertisement creation fails with an error "Element not e
Advertisement creation fails with an error "Category canno
Advertisement creation fails with an error "Category not
Advertisement creation successfully, return with set of
Expected Output
Advertisement creation successfully, return with unique AdvertisementID, User, C
Comment updation fails with an error "You don't have pe
Advertisement's User field will hold your informatio
CreateDate field will hold LocalDateTime.now() corre
Status field will hold "Pending".
Expected Output
Show out list of all advertisements.
Show out list of verified advertisements.
Show out list of pending advertisements.
Show out the advertisement that user want to find
Expected Output
Advertisement updation fails with the error "Title cannot
Advertisement updation fails with the error "Description can
Non-owner not allow to interact with other people adverti
Advertisement updation fails with the error "Element is n
Advertisement updation fails with the error "Element not
Advertisement updation fails with the error "Category cann
Advertisement updation fails with the error "Category not
Advertisement updation successful with Status turn into "
Expected Output
Advertisement deletion successful.
Advertisement deletion fails with the error "You don't have p
Expected Output
Advertisements updating the status based on Admin's ve
text
Expected Output
The Login form is displayed with the folowing informa
- "Đăng nhập" title
- "Email"
- Email's text box with blur "Email" and a letter icon on the right
- "Mật khẩu"
- Password's text box with blur "Mật khẩu", a lock icon on the right of the text box and a unsee
Email's text box turn red with the icon- and
"Quênthenmật Khẩu
show an?" link
red message bel
- blue "Đăng nhập" button
Email's text box turn red with
- white the nhập
"Đăng icon and
bằngthen show button
Google" an redwith
message
an Googbe
-"hoặc
Email's text box must not turn redĐăng kí ngay
with the icon !"
andwith theshow
then "Đăng ankíred
ngay !" is a
messag
The password in Password's text box must be shown with o
The password in Password's text box must be shown
Browser show log "Request failed with status code 4
Show an error red message "Mật khẩu phải từ 6-40 k
Browser show log Request failed with status code 4
Show an error red message "Tài khoản/Mật khẩu đăng nhập sai h
Browser show log "Request failed with status code 4
Show an error red message after"Tài
the khoản/Mật
action it would khẩubeđăng nhập sai h
like this:
Login- form
Redirect to Homeinto
will change Page like this:
- Login and Sign in button -replace
"Nhập email with the Vipnhập"
đăng upgrade titlebutton an
- "Chúng tôi sẽ gửi mã xác thực về mail của bạn
Email's text box turn red with the -"Email"
icon and and thenan Email's
show an red textmessage
box be
Login form will change into like this:
Email's text box turn red with the icon and thenthực
- "Xác show an red
email" titlemessage belo
- "Mã OTP đã gửi đến mail [email protected], vui lòng xác thự
- OTP number input box
- "Gửi
Redirect youlạitomã" linkpage
gmail
-Login
"Đi đến formgmail" link
will change with an mail
into icon
like this:
Login Form show a error message "Wrong OTP co
- "Cập nhật mật khẩu" title
- "Mật khẩu" with aBrowser
password show
text log
box"Đổi
andmật khẩu thành
an hidden passwordcông!"fu
- "Xác nhận mật khẩu"The Login form
with ashow
Browser is
password displayed with
text boxfailed
log "Request the
and an folowing
with hidden informa
statuspasswo
code 4
Show an error red message - "Đăng
- "Cập nhật" nhập"
"Mật blue
khẩutitle
buttonphải từ 6 kí tự đ
Confirm password tex box turn red and show- an "Email"
error red message "Mật
- Email's text box with blur "Email" and a letter icon on the right
- "Mật khẩu"
- Password's text box with blur "Mật khẩu", a lock icon on the right of the text box and a unsee
Redirect
- "Quên tomật
GoogleKhẩulogin?" linkpage
after the action it would be like this:
- blue "Đăng
Redirect to nhập"
Home button
Page
- Login and- white
Sign in"Đăng
buttonnhập
replacebằngwithGoogle"
the Vip button
upgrade with button
an Goog
an
-"hoặc Đăng kí ngay !" with the "Đăng kí ngay !" is a
Expected Output
gày sinh" - Date's text box with an schedule icon on the right - "Mật khẩu" - Password's text box with blur "Mật khẩu", a lock icon
Show error message "Tên đăng nhập phải từ 3-20 k
Show error message "Email không hợp lệ!"
Show error message "Mật khẩu phải từ 6 -40 kí tự
Show error message "Mật khẩu không trùng khớp
Show error message "Vui lòng nhập tên đăng nhậ
show error message "Vui lòng nhập email!"
Show error message "Vui lòng chọn ngày sinh!"
Show error message "Vui lòng nhập mật khẩu!"
Show error message "Vui lòng xác nhận mật khẩu
Redirect to Login page
ayed with the folowing informations: - "Xác thực email" title - "Mã OTP đã gửi đến mail [email protected], vui lòng xác t
Browser show log"Xác thực thành công!" Redirect to Lo
text
Expected Output
An IllegalArgumentException is thrown with the message "Date of b
The elementId is calculated accurately based on the birthYear, using the canN
System will throw AppException with message "Invalid request" and HttpS
System will throw AppException with message "Invalid request" and HttpS
An RuntimeException is thrown with the message "Request failed with
The system will load and then show the consulting results according
An AppException is thrown with the message "Unauthenticated" and HttpS
Expected Output
System will hide add blog button with wrong role(membe
System will show add blog button with admin role to ad
System will throw AuthorizationDeniedException with message "You don't have p
System will blog is created successfully with a generated BlogID and
System will throw AppException with message "title cannot be empty"
System will throw AppException with message "BlogID not found" a
System will show blog is successfully updated with new in
System will throw AppException with message "title cannot be empty"
System will throw AppException with message "BlogID not found" a
System will show response is "Blog is successfully de
System will throw AppException with message "BlogID not found" a
System will send response "Tạo bài viết thành công" on
System will show warning message "
Tiêu đề không được để trống!"
System will show warning message "Vui lòng chọn ít nhất
System will show warning message "Chỉ được chọn
s not invalid, Verify calculate Element Compatibility function with no subscription packgage in UI, Verify Element Compatibility f
Expected Output
The element is defined based on the colors of Koi fish in
An AppException is thrown with the message "Unknow color" and HttpS
The element is defined based on the shape of tank in s
An AppException is thrown with theSystem
message will "Tank
show result for: and HttpS
not found"
+fishCompatibilityScore should reflect neutral compat
+tankCompatibilityScoreSystem
should willreflect
showneutral
result for:
compatibility
fishCompatibilityScore should reflect
+calculateCompatibilityScore should a balance
show between
ashow
combined favorable
score and
reflecting
System
tankCompatibilityScore will
should result
reflect for:
compatibility with
fishCompatibilityScore+Advise
shouldfrom chatgpt
reflect AI
acompatibility
calculateCompatibilityScore should correctly balance both favorablewith
and
tankCompatibilityScore should reflect neutral
+Advise from chatgpt AI compatibility with
calculateCompatibilityScore should show reduced overall compatibility du
An AppException is thrown with the message
+Advise "Invalid request"
from chatgpt AI and HttpS
An AppException is thrown with the message "OpenAI API Gateway Timeout" and H
An FeignException.BadRequest is thrown with the message "Invalid request format or content for Cha
An AppException is thrown with the message "Invalid request" and HttpSt
The system will redirect you to a warning page if you have not purchased
System will show warning message "Chỉ được chọn tối đa
System will show warning message "Vui lòng chỉ chọn
System will throw AuthorizationDeniedException with message "You don't have p
System will show warning message "Vui lòng chọn cá, hồ và yếu tố
An AppException is thrown with the message "Api key expired or not renewed" an
An AppException is thrown with the message "Missing api key of chatgpt" and
System will show warning message "Vui lòng chọn cá, hồ và yếu tố
System will show warning message "Vui lòng chọn cá, hồ và yếu tố
System will show koi fish with color matching
An AppException is thrown with the message "Connection error to ChatGPT" and
An AppException is thrown with the message "An unexpected error occurred" and
text
Test Case 4 or 5
ới User Management"
text
text
text
elected in UI, Verify Element Compatibility function calculation when exceeding the number of tank selected in UI, Verify Eleme
Inter-test case Dependence
Result Test date