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

Replaced wrongly formatted mock Slack URLs with properly formatted mock Slack URLs #139

Merged
merged 3 commits into from
Nov 28, 2023

Conversation

Noir01
Copy link
Contributor

@Noir01 Noir01 commented Nov 11, 2023

Integrates with #814 in the backend notifications repo

Description

Replaces mock Slack URLs (which wouldn't pass validation tests) with mock Slack URLs (which will pass validation tests)

Issues Resolved

Check List

  • Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

…mmy Slack URL

Signed-off-by: Aniruddh Srivastava <aniruddh@purdue.edu>
@Noir01
Copy link
Contributor Author

Noir01 commented Nov 15, 2023

I don't understand why these tests are failing.

@Hailong-am
Copy link
Collaborator

I don't understand why these tests are failing.

will fix the failing by #140

@Noir01
Copy link
Contributor Author

Noir01 commented Nov 17, 2023

I don't understand why these tests are failing.

will fix the failing by #140

Got it.

@Noir01
Copy link
Contributor Author

Noir01 commented Nov 20, 2023

How can I trigger the checks again? I think they might've been failing cause the tests in main weren't updated. Now that #814 has been merged, I think the tests will pass.

@yuye-aws
Copy link
Member

How can I trigger the checks again? I think they might've been failing cause the tests in main weren't updated. Now that #814 has been merged, I think the tests will pass.

Rerunning now

@Hailong-am
Copy link
Collaborator

How can I trigger the checks again? I think they might've been failing cause the tests in main weren't updated. Now that #814 has been merged, I think the tests will pass.

@Noir01 You need to run yarn test:jest -u to update snapshot of unit tests.

Ran `yar test:jest -u`

Signed-off-by: Aniruddh <ansriv2005@gmail.com>
Copy link

codecov bot commented Nov 23, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (29c191c) 86.70% compared to head (117c980) 86.70%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #139   +/-   ##
=======================================
  Coverage   86.70%   86.70%           
=======================================
  Files          52       52           
  Lines        1497     1497           
  Branches      360      360           
=======================================
  Hits         1298     1298           
  Misses        196      196           
  Partials        3        3           
Flag Coverage Δ
dashboards-notifications 86.70% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Noir01
Copy link
Contributor Author

Noir01 commented Nov 23, 2023

Sorry, I don't understand the error messages again. I'm not very familiar with Cypress, so I'm not able to debug either.

@SuZhou-Joe
Copy link
Member

SuZhou-Joe commented Nov 23, 2023

Sorry, I don't understand the error messages again. I'm not very familiar with Cypress, so I'm not able to debug either.

Should be a flaky test, rerunning it to see the result.

@SuZhou-Joe SuZhou-Joe merged commit 7aba242 into opensearch-project:main Nov 28, 2023
10 of 11 checks passed
opensearch-trigger-bot bot pushed a commit that referenced this pull request Nov 28, 2023
…ck Slack URLs (#139)

* Replaced wrongly formatted dummy Slack URL with properly formatted dummy Slack URL

Signed-off-by: Aniruddh Srivastava <aniruddh@purdue.edu>

* Update snapshot of unit tests

Ran `yar test:jest -u`

Signed-off-by: Aniruddh <ansriv2005@gmail.com>

---------

Signed-off-by: Aniruddh Srivastava <aniruddh@purdue.edu>
Signed-off-by: Aniruddh <ansriv2005@gmail.com>
Co-authored-by: Hailong Cui <ihailong@amazon.com>
(cherry picked from commit 7aba242)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
@Noir01 Noir01 deleted the patch-2 branch November 28, 2023 03:02
zhichao-aws pushed a commit that referenced this pull request Nov 30, 2023
…ck Slack URLs (#139) (#143)

* Replaced wrongly formatted dummy Slack URL with properly formatted dummy Slack URL



* Update snapshot of unit tests

Ran `yar test:jest -u`



---------




(cherry picked from commit 7aba242)

Signed-off-by: Aniruddh Srivastava <aniruddh@purdue.edu>
Signed-off-by: Aniruddh <ansriv2005@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Hailong Cui <ihailong@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants