-
Notifications
You must be signed in to change notification settings - Fork 195
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
[tests-only][full-ci] Test coverage for federated user trying to delete deleted federation connection #11017
base: master
Are you sure you want to change the base?
Conversation
a1b5880
to
7888b35
Compare
7888b35
to
935ba4c
Compare
@@ -132,3 +132,13 @@ Feature: delete federated connections | |||
} | |||
} | |||
""" | |||
|
|||
@issue-10223 | |||
Scenario: federated user tries to delete previously deleted federated connection |
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.
also, try to test these behaviors if possible
#10223 (comment)
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.
Okeii.. I will make another follow-up PR. 👍
935ba4c
to
9f8585e
Compare
LGTM 👍 |
tests/acceptance/features/apiOcm/deleteFederatedConnections.feature
Outdated
Show resolved
Hide resolved
85d12e5
to
6094f61
Compare
6094f61
to
1a5d5cd
Compare
@issue-10223 | ||
Scenario: federated user tries to delete previously deleted federated connection | ||
Given user "Brian" has deleted federated connection with user "Alice" | ||
When user "Brian" tries to delete federated connection with user "Alice" using the Graph API |
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.
Would the behavior be same if Alice tries to delete the federated connection here?
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.
Yes. It gives 400 (Bad request) when Alice tries to delete the federated connection that has already been deleted by her. We can have test coverage for this scenario also. Will add in the follow-up PR.
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.
better to add in this PR, rather than follow-up
1a5d5cd
to
8aad2a1
Compare
|
Description
This PR adds up the following scenario to test:
federated user trying to delete deleted federation connection
Related Issue
Part of: #10971
Bug report: #10223
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: