-
Notifications
You must be signed in to change notification settings - Fork 187
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] adding test for deprovisioning notification using different date format #7065
Conversation
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Show resolved
Hide resolved
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Show resolved
Hide resolved
| deprovision_date | deprovision_date_format | | ||
| 2006-01-02T15:04:05.999999999+07:00 | 2006-01-02T15:04:05.999999999Z07:00 | | ||
| 3:04PM | 3:04PM | | ||
| Jan 2 15:04:05 | Jan _2 15:04:05 | |
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.
when we make an api request using date format like Jan _2 15:04:05
the server removes the _
with a space so i added a space few places to make assertions.
1a0648a
to
5f7b9fe
Compare
d20f1e3
to
bbf53a0
Compare
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
bbf53a0
to
076d412
Compare
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
eb1426e
to
afb2d50
Compare
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
1730530
to
219aa2d
Compare
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
f62aec4
to
718875e
Compare
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.
LGTM
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.
Please, use a different date than in the format
tests/acceptance/features/apiNotification/deprovisioningNotification.feature
Outdated
Show resolved
Hide resolved
718875e
to
28d3df3
Compare
Kudos, SonarCloud Quality Gate passed! |
When the administrator creates a deprovisioning notification for date "<deprovision_date>" of format "<deprovision_date_format>" | ||
Then the HTTP status code should be "200" | ||
When user "Alice" lists all notifications | ||
Then the HTTP status code should be "200" |
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.
instead of double when then use And and check both status with single step.Same apply for the down scenario.
Description
added two scenarios for deprovisioning notification
Scenario: administrator creates a deprovisioning notification with diffrent date format
Scenario: administrator change a deprovisioning notification with diffrent date format
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: