Skip to content

Commit

Permalink
test: test
Browse files Browse the repository at this point in the history
  • Loading branch information
Anton Baliasnikov committed Dec 13, 2022
1 parent a42dd02 commit 971da81
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:
IGNORED_TESTS="$(cat ${JSON_RESULTS} | jq '.results.counts.ignored')"
FAILED_TESTS="$(cat ${JSON_RESULTS} | jq '.results.counts.failure')"
TESTS_WITH_ERRORS="$(cat ${JSON_RESULTS} | jq '.results.counts.error')"
if [[ ${FAILED_TESTS} == 0 || ${TESTS_WITH_ERRORS} == 0 ]] ; then
if [[ ${FAILED_TESTS} == 0 && ${TESTS_WITH_ERRORS} == 0 ]] ; then
CONCLUSION=success
fi
fi
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@ Feature: Credential schemas
| schemas |
| 4 |

@skip
Scenario: Schema creation with identical id should fail
When Acme creates a new schema with some id
And Acme tries to create a new schema with identical id
Then He sees the request failure with identical id error

Scenario Outline: Wrong specified fields for schema generation requests should fail
When Acme tries to create a new schema with <value> in field <field>
Then He sees the request with status <status>
Expand All @@ -25,12 +19,18 @@ Feature: Credential schemas
| id | -1 | 400 |
| attributes | null | 400 |

@skip @bug
Scenario: Schema creation with identical id should fail
When Acme creates a new schema with some id
And Acme tries to create a new schema with identical id
Then He sees the request failure with identical id error

@skip @bug
Scenario Outline: Wrong specified filter parameters for schema generation requests should fail
When Acme tries to get schemas with <value> in parameter <parameter>
Then He sees the request with status <status>
Examples:
| parameter | value | status |
| limit | 1 | 200 |
| limit | -1 | 400 |
| offset | -1 | 400 |
| offset | 1000000 | 400 |

0 comments on commit 971da81

Please sign in to comment.