-
Notifications
You must be signed in to change notification settings - Fork 34
Add integration tests for search by a catalog in user's collection #1097
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
Comments
How do we enable the feature in the test case? |
That's a good question, let's enable it then! (To make life easier to us.) |
Are this test-cases scenario good? -search\access An Authorized user can request search in his collection - search\validation |
What would be the test data set for "no search result" in my collection? What would be the test data set for "search result" to have some data for in my collection search? |
Please suggest |
@mukeshk I'm looking on it right now :) |
use the same data as for anonymous user (just copy&paste + we need to check a checkbox)
use the same data as for anonymous user (just copy&paste + we need to check a checkbox) -- it should work AFAIR because user "coder" has series #1 in his collection |
with coder/test account. So the test case differs only in checkbox flag. |
Actually, no. The checkbox is always selected. They differ by catalog name/number.
That's a great question! I've checked and see that "coder" has no series in his collection. That means that we can't use this user for this test and have to create another one. So, we need:
Let me know if you need help/guidance here. |
1.create a test user who has series with id=1 in this collection Also, can you put together something on the data model - any diagram, data dictionary to explain the DB design. Not immediately though :). |
Thanks for the response! There 2 ways -- slow (when you wait the full instructions) and a little faster (where I give you pointers, you try, I help you to remove roadblocks and after few iterations we have make it working). Which one do you prefer? |
I will prefer the faster one, I will love to work my way through understand
things.
Unless you prefer to start some other task.
…On Fri 2 Aug, 2019, 3:07 PM Slava Semushin, ***@***.***> wrote:
Thanks for the response! There 2 ways -- slow (when you wait the full
instructions) and a little faster (where I give you pointers, you try, I
help you to remove roadblocks and after few iterations we have make it
working). Which one do you prefer?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1097?email_source=notifications&email_token=AAJPE6GYQOTSKJARSL7HMI3QCP54PA5CNFSM4IF3ZPS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3NHVYA#issuecomment-517634784>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAJPE6HEQ2JM42VS6K4PMM3QCP54PANCNFSM4IF3ZPSQ>
.
|
So, the first step is to add a test user that will have a series in his collection. We need to add a new database migration.
If you want to play with database, try the following:
There you will see the current state of database, all the tables and you might play with queries in order to make everything work. |
I build a SQL script by looking at other scripts. Am I correct? |
Yes, everything sounds good. Let's continue the discussion in PR ;-) |
Related to #1097 where we will have logic-user.robot also. [skip ci]
…in user's collection. Part of php-coder#673 Fix php-coder#1097
…in user's collection. Part of php-coder#673 Fix php-coder#1097
The puzzle
673-67e9da55
from #673 has to be resolved:mystamps/src/main/webapp/WEB-INF/views/site/index.html
Line 185 in 9778afa
The puzzle was created by Mukesh Katariya on 22-Jul-19.
The text was updated successfully, but these errors were encountered: