Conversation
Signed-off-by: Bibaswan Prasai <bibaswanprasai12@gmail.com>
|
@bibaswan7 your PR diff looks like it contains changes that are unrelated to the issue here |
The first commit contains the necessary change to fix the issue, while the second commit is about updating the snapshot. Please let me know if I made any mistake. |
|
I really want to make my first contribution, please help me |
|
Judging by the changes in your PR, it looks like the updating snapshots command is the cause of the issue. Make sure to only commit changes that you intend. I'd suggest reverting the update snapshots commit. If a snapshot needs to be updated, only update the required snapshot. My hunch for why you see this issue is that your editor is auto formatting all these files even though it should not. But thats just a hunch since i dont know more about what the issue here is. |
33d8d7c to
3e729b2
Compare
|
Oh I didn't realize my VS code was auto formatting these files. Thanks for your insight. |
Codecov Report
@@ Coverage Diff @@
## main #5152 +/- ##
==========================================
+ Coverage 66.72% 66.76% +0.03%
==========================================
Files 3278 3278
Lines 62999 62999
Branches 10031 10031
==========================================
+ Hits 42037 42059 +22
+ Misses 18571 18473 -98
- Partials 2391 2467 +76
Flags with carried forward coverage won't be shown. Click here to find out more.
|
|
I see current fix is good. Seems previous problems are all resolved. I am re-running the failed test. Meanwhile, @bibaswan7 could you add a CHANGELOG? You could find the CHANGELOG.md file and see many references. |
Signed-off-by: Bibaswan Prasai <bibaswanprasai12@gmail.com>
|
Hi @ananzh I have just added a changelog just like you asked |
@bibaswan7, I believe the suggestion here was to ensure the snapshot that is required to successfully run the test is updated and to avoid unrelated updates. So to check here at the failing test: https://github.com/opensearch-project/OpenSearch-Dashboards/actions/runs/6400770684/job/17378924045?pr=5152 We can see the failing snapshot coming from this test file: which the suggestion from Ashwin could be accomplished by running: Also, would you be willing to provide your local development env details? |
|
Hi @bibaswan7, are you still working on this PR, since I've updated the snapshots for this specific problem and it works on my end. If you encounter any problem, I'm also glad to help. If you don't mind I can open a PR to fix this issue right now too. Thanks! |
Yes, please do @Willie-The-Lord , I am really interested to see what to do with snapshots |
|
@bibaswan7 Based on the test you failed, which is |
Ohh thanks @Willie-The-Lord for clarifying, I wasn't able to figure out what I was supposed to do |
|
I think we can close this one in favor of #5304 ? |
|
@bibaswan7 I'm closing as a duplicate of #5304, but please reopen if that was a mistake. |
Description
When navigated to discover page and clicked on Open, the header shows "Open search", while it should be showing "OpenSearch"
Issues Resolved
#5145
Check List
yarn test:jestyarn test:jest_integrationyarn test:ftr