Note
Return back to the README.md file.
I have used the recommended HTML W3C Validator to validate all of my HTML files.
I have used the recommended CSS Jigsaw Validator to validate all of my CSS files.
Directory | File | Screenshot | Notes |
---|---|---|---|
checkout | checkout.css | ||
profiles | profile.css | ||
static | style.css |
I have used the recommended JShint Validator to validate all of my JS files.
Directory | File | Screenshot | Notes |
---|---|---|---|
checkout | stripe_elements.js | ||
profiles | countryfield.js | ||
static | main.js | The errors shown in this screenshot are related to the Bootstrap Tooltip JavaScript. For reference, I've included the official documentation here: Bootstrap Tooltip Documentation. |
I have used the recommended PEP8 CI Python Linter to validate all of my Python files.
Directory | File | CI URL | Screenshot | Notes |
---|---|---|---|---|
bag | admin.py | PEP8 CI | ||
bag | contexts.py | PEP8 CI | ||
bag | models.py | PEP8 CI | ||
bag | bag_tools.py | PEP8 CI | ||
bag | urls.py | PEP8 CI | ||
bag | views.py | PEP8 CI | ||
checkout | admin.py | PEP8 CI | ||
checkout | forms.py | PEP8 CI | ||
checkout | models.py | PEP8 CI | ||
checkout | signals.py | PEP8 CI | ||
checkout | urls.py | PEP8 CI | ||
checkout | views.py | PEP8 CI | ||
checkout | webhook_handler.py | PEP8 CI | ||
checkout | webhooks.py | PEP8 CI | ||
home | admin.py | PEP8 CI | ||
home | models.py | PEP8 CI | ||
home | urls.py | PEP8 CI | ||
home | views.py | PEP8 CI | ||
project | manage.py | PEP8 CI | ||
products | admin.py | PEP8 CI | ||
products | contexts.py | PEP8 CI | ||
products | forms.py | PEP8 CI | ||
products | models.py | PEP8 CI | ||
products | urls.py | PEP8 CI | ||
products | views.py | PEP8 CI | ||
profiles | admin.py | PEP8 CI | ||
profiles | forms.py | PEP8 CI | ||
profiles | models.py | PEP8 CI | ||
profiles | urls.py | PEP8 CI | ||
profiles | views.py | PEP8 CI | ||
shoply | cvs_to_json.py | PEP8 CI | ||
shoply | dataset_processor.py | PEP8 CI | ||
shoply | kaggle_api_handler.py | PEP8 CI | ||
shoply | settings.py | PEP8 CI | ||
shoply | urls.py | PEP8 CI | ||
user_activity | admin.py | PEP8 CI | ||
user_activity | models.py | PEP8 CI | ||
user_activity | views.py | PEP8 CI |
Cross-browser testing is important to make sure your website works well on different browsers, like Chrome, Firefox, Safari, and Edge. Since each browser can show things a little differently, testing helps catch any problems with how your site looks or works.
I've tested my deployed project on multiple browsers to check for compatibility issues.
Browser | Home | Product | Product Details | Checkout | Notes |
---|---|---|---|---|---|
Chrome | Works as expected | ||||
Edge | Works as expected | ||||
Firefox | Works as expected |
I've tested my deployed project on multiple devices to check for responsiveness issues.
Device | Home | Product | Details | Checkout | Notes |
---|---|---|---|---|---|
Mobile (DevTools) | Works as expected | ||||
Tablet (DevTools) | Works as expected | ||||
Desktop | Works as expected |
I've tested my deployed project using the Lighthouse Audit tool to check for any major issues.
After reviewing my Google Lighthouse results, I can see there’s room for improvement in a few areas. My mobile performance score of 60 is lower than I’d like, so I plan to optimize loading speeds and reduce file sizes. I’m happy with the accessibility score of 85+, but I know I could improve it further by refining color contrast and ARIA roles. The best practices score of 75 shows there are some security and optimization issues to address, and while my SEO score of 100 is great, I’ll need to keep an eye on that. On desktop, performance at 70+ still needs some attention, and best practices (74) could be improved too. I’ll focus on improving these areas while keeping my accessibility and SEO scores strong.
Defensive programming was manually tested with the below user acceptance testing:
I fully acknowledge that automated testing would be an essential part of a comprehensive testing strategy in a real-world scenario. In this case, my testing approach has been more manual, focusing on key aspects of browser compatibility and user experience.
-
The HTML validator will show an error with the body tags if another tag is missing.
- To fix this, I replacing the missing tag.
-
Python
E501 line too long
(93 > 79 characters)- To fix this by re-oganising onto different lines or shortening phrasing.
-
There are two bugs in the JSHint linter that can’t be fixed because they’re tied to how Bootstrap is structured internally. These issues come from the code used to enable Popper.js tooltips, and fixing them would go beyond the scope of this project. For now, they’ve been noted and left to be addressed later.
-
There was a warning in the HTML validator about a possible misuse of the aria-label, but after checking, everything seemed fine. Fixing this would require reaching out to the W3C team, and since it’s just a warning and doesn’t appear to be an issue with my code, I decided to leave it for now.
Note
There are no remaining bugs that I am aware of.