Skip to content

Commit b859321

Browse files
authored
Merge pull request #390 from bcgov/qa-backend-tags
added backend tags
2 parents 5ff41f5 + 05e96a0 commit b859321

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

tests/src/test/java/ca/bc/gov/open/jagefilingapi/qa/cucumber/Options/RunCucumberTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
features = {"src/test/java/features"},
1010
glue ={"stepDefinitions"},
1111
monochrome = true,
12+
tags = "@backend",
1213
plugin = {
1314
"pretty",
1415
"html:target/cucumber-reports/cucumber-pretty",

tests/src/test/java/features/backendfeatures/createCsoAccount.feature

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,19 @@
11
Feature: New CSO accounts can be created if a BCeID profile is not associated with a CSO account
22

33
@cso
4+
@backend
45
Scenario: Verify a CSO account can be created successfully for requests made with valid request body
56
Given POST http request is made to "CREATE_CSO_ACCOUNT_API" with a valid request body
67
When status is 201 and content type is verified
78
Then verify response returns names, email and accounts with type and identifiers
89
@cso
10+
@backend
911
Scenario: Verify a CSO account cannot be created for requests made with incorrect account type
1012
Given POST http request is made to "CREATE_CSO_ACCOUNT_API" with incorrect account type
1113
When status is 400 and content type is verified
1214
Then verify response body has error, status and an empty message
1315
@cso
16+
@backend
1417
Scenario: Verify a CSO account cannot be created for requests made with incorrect path
1518
Given POST http request is made to "INCORRECT_CREATE_CSO_ACCOUNT_API" with incorrect path value
1619
When status is 404 and content type is verified

0 commit comments

Comments
 (0)