BioDrop
BioDrop copied to clipboard
[BUG] Automated tests for Premium users
Description
We should at least test that pages with premium features and premium pages load without any error
Screenshots
No response
Do you want to work on this issue?
None
Additional information
No response
To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/BioDrop/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md
The issue has been unlocked and is now ready for dev. If you would like to work on this issue, you can comment to have it assigned to you. You can learn more in our contributing guide https://github.com/EddieHubCommunity/BioDrop/blob/main/CONTRIBUTING.md
Hello, I am new here and would like to take up this issue as my first contribution. Can this be assigned to me? Can someone please explain the issue with more details as well?
Hi @Abhishek-90 welcome! Thank you for your enthusiasm but we ask that all new contributors start out with issues which range from 1 Point to 3 Points.
using playwright?
yes we use playwright, you can find existing test files in the tests
directory
ℹ️ eddiejaoude has some opened assigned issues: 🔧View assigned issues
I would like to work on this. I will start by taking a look in the tests directory.
Awesome Erik! I have assigned it to you.
This issue is quite vague, I think we should keep it small enough to add value, then new issues can be created afterwards. After you have looked at the test directory let me know what you think or if you have any questions
I would like to take it up, but can you describe more as to what is the expectations out of it?
ℹ️ Abhishek-90 has some opened assigned issues: 🔧View assigned issues
I will take that if abhishek has opened assigned issues.
I will take that if abhishek has opened assigned issues.
@theunhackable I have assigned this to you - please take into consideration this comment.
Given the length of time since this issue has been assigned and as no PR has been created, @theunhackable I am unassigning this from you to give someone else a chance to work on it.
I would like to take it up.
I would like to take it up.
@Abhishek-90 I will assign this to you
So far as per my analysis, there 3 premium features present.
-
Hide Navbar
: We can add a test to check if when the account is apremium
user, the navbar is hidden. -
Hide Footer
: We can add a test to check if when the account is apremium
user, the footer is hidden. -
Custom Domain
: We can add a test to check if when the account is apremium
user, the domain(url) is of users choice.
To implement these, one thing that is required is to check if the account is premium, in that case, we can simply check if the for the page, the navbar and footer are hidden or no. For 3rd one, I will need some assistance.
Hence, we can create 3 different issues, to add 3 different test cases.
Let me know you views and suggestions.
Hello, I went through the features of premium page again and referred existing tests for different pages. There are some basic automated tests that also we can add:
- Go to url:
/account/manage/premium
, there should be a switch with LabelHide Navbar on your Profile
. - Go to url:
/account/manage/premium
, there should be a switch with LabelHide Footer on your Profile
. - Go to url:
/account/manage/premium
, there should be aSAVE
button which is disabled by default.
If there seems like valid test, let me know how should I proceed further, Should I add all 3 tests in 1 go, or shall I created 3 different issues for each cases. Each Issue can be a 2/3
pointer, whereas a single issue could be 8
pointer.