-
Notifications
You must be signed in to change notification settings - Fork 5
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
FS-52: Testing keyword search #71
base: 3.x
Are you sure you want to change the base?
Conversation
cypress/integration/keyword.test.js
Outdated
|
||
describe('Keyword search', () => { | ||
const keyword = 'Terrier'; | ||
const resultCount = 4; |
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.
@russom-woldezghi I retested this yesterday after destroying my vagrant and provisioning it again. I now get 2 results consistently on all sites including this one, so I think 2 might be correct. Can you verify with the current demo environment?
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.
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.
My result matches this
I should add that when I run the behat tests within the federated search demo I get test fails there as well, so I may still need to fix something on that end. |
@russom-woldezghi I am going to test again after resolving the issues where Behat tests were failing. |
@russom-woldezghi after troubleshooting my demo environment with @agentrickard I now have 5 results for terrier, so I've gone from too few (2 before) to too many (test expects 4). I'm still also getting a fail on the test for |
The issue introduced was that I was missing a site index and was resulting in 4 not 5 results for the word "Terrier". I wasn't able to reproduce the error with I will look into the hook registry issue Ken called out during scrum, just to make sure the error with |
Ticket
FS-52: Testing Keyword Search
Description
Testing instruction
node_modules
directoryyarn install
&&yarn start
yarn cypress
to start Cypress electron binary. This will open another app to run test.Open question