forked from CMU-17313Q/cmu-17313q-f24-nodebb-f24-NodeBB
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Manual Testing: Console testing on google chrome (User Story 2) #41
Open
lhitmi
wants to merge
70
commits into
f24
Choose a base branch
from
manual-testing
base: f24
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lhitmi
added
frontend
main code is written in frontend
backend
main code is written in backend
labels
Oct 19, 2024
aattiyah
added
High impact
Features that have a high impact on the application
High effort
Features that need high effort to implement
and removed
High impact
Features that have a high impact on the application
labels
Oct 19, 2024
Pull Request Test Coverage Report for Build 11420912120Details
💛 - Coveralls |
aattiyah
changed the title
Console testing on google chrome
Manual Testing: Console testing on google chrome (User Story 2
Oct 19, 2024
aattiyah
changed the title
Manual Testing: Console testing on google chrome (User Story 2
Manual Testing: Console testing on google chrome (User Story 2)
Oct 19, 2024
akobaidan
approved these changes
Oct 20, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the code looks good so far.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backend
main code is written in backend
frontend
main code is written in frontend
High effort
Features that need high effort to implement
Test
This tests features that were implemented
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
During this sprint, we encountered challenges that led us to scrap the initial database concept. Instead, we adapted the code to handle data directly through the controller on the page. However, we still faced issues, which prompted us to conduct manual API testing to ensure everything was working.
In Google Chrome, using the Console tab, we executed the following command to check the GET API's response:
fetch('http://localhost:4568/api/admin/get-bug-log')
.then(res => res.json())
.then(console.log)
This command allowed us to observe how the GET API behaved. We received a response containing relevant information such as the uid, username, and login status, confirming that the data was being received. The results are shown in the screenshot below:
We also verified this through the Network tab when submitting the form with the data we entered, as shown in the following screenshot:
The GET request function can be further verified by the following screenshot showing that data is being fetched upon submission:
You can clearly see in the console that the submitted data was fetched.
We can also see it when running a command on the console as shown by this screenshot
this is the error we are receiving that is blocking the post
Contributors to this pull request:
This pull request resolves issue #40