Skip to content
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

Refactored article_finder.jsx to Functional Component #5573

Conversation

omChauhanDev
Copy link
Contributor

Refactored Article Finder from class component to functional component.

For Article Finder
Before:
Before.webm

After:
After.webm

@omChauhanDev
Copy link
Contributor Author

@ragesoss Kindly guide me fixing this error due to which this CI / build test is failing.

@ragesoss
Copy link
Member

ragesoss commented Jan 8, 2024

Hmmm... it's the article finder spec that is failing, so you should check whether that spec passes locally for you. I'll re-run CI just in case it was simply a flaky test unrelated to your change.

@omChauhanDev
Copy link
Contributor Author

@ragesoss I tried running yarn test locally and all the 36 test suites of 204 tests passed successfully.
Here, is the video of the same.

All.Test.Passed.webm

@ragesoss
Copy link
Member

@om-chauhan1 yarn test only executes the javascript tests. The failing test is one of the browser-based Feature specs from the Ruby rspec test suite.

@omChauhanDev omChauhanDev force-pushed the RefactoringClassComponentsStream2 branch from c24ec66 to 799d03b Compare January 27, 2024 07:21
@ragesoss ragesoss merged commit 0be8a7f into WikiEducationFoundation:master Feb 14, 2024
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants