To add a collaborator to this project you will need to use the Relish gem to add the collaborator via a terminal command. Soon you'll be able to also add collaborators here!
More about adding a collaboratorVerify find-parts web api when searching with multiple versions and revisions
This is defined as a manual feature file due to the need to setup data that is not already existing in the database.
When the database data setup is defined and these instances are added, we can
incorporate these scenarios in their respective automated feature files.
- Scenarios
-
- Import part data with multiple versions and revisions
- Define Top Level Products for each of the imported parts
- Define Assembly Process Steps for each new Top Level Product
- Create and import one new genealogy record for each APS
- Find parts by specifying a version with a wildcard
- Find parts by specifying a comma-delimited version
- Find parts by specifying a revision with a wildcard
- Find parts by specifying a comma-delimited revision
- Import part data with multiple versions and revisions
-
- Given
- I am logged in
- And
- I am on "Admin" section
- And
- I click link BOM Parser Data Mapping
- And
-
I include only the following field names
Field Name Parent Description* Parent Part Number* Parent Product Family Parent Version Parent Revision - And
- I click "Update"
- And
- I am on page "Parser Mapping"
- And
- I click "Update"
- And
- I click on link "BOM Import"
- And
- I fill in "Report Format" with "CSV (comma delimited)"
- And
- I select Report File "Manual_BOM_Input.csv"
- And
- I click "Import BOM file"
- Then
- I see success message "The provided Report hs been successfully uploaded"
- Define Top Level Products for each of the imported parts
-
| Part Number Version Revision | TLP Name |
| JBS-TOP V1 R1 | JBS TLP V1R1 |
| JBS-TOP V2 R2 | JBS TLP V2R2 |
| JBS-TOP V3 R1 | JBS TLP V3R1 |
| JBS-TOP V3 R2 | JBS TLP V3R2 |
| JBS-TOP V3 R3 | JBS TLP V3R3 |This scenario does not have any steps.
- Define Assembly Process Steps for each new Top Level Product
-
| Assembly Process Step Name | TLP Name |
| JBS APS V1R1 | JBS TLP V1R1 |
| JBS APS V2R2 | JBS TLP V2R2 |
| JBS APS V3R1 | JBS TLP V3R1 |
| JBS APS V3R2 | JBS TLP V3R2 |
| JBS APS V3R3 | JBS TLP V3R3 |This scenario does not have any steps.
- Create and import one new genealogy record for each APS
-
This scenario does not have any steps.
- Find parts by specifying a version with a wildcard
-
- Given
- XYZ API domain, Parts namespace and authorized user
- When
- Robot requests service name "find-parts"
- And
- with "part-number" parameter "JBS-TOP"
- And
- with "version" parameter "V*"
- And
- uses HTTP method "GET"
- Then
- Robot should see response status "success"
- And
-
returned node "list.part" should contain following attributes:
family part-number ver rev QC Product Family 1 JBS-TOP V1 R1 QC Product Family 1 JBS-TOP V2 R2 QC Product Family 1 JBS-TOP V3 R1 QC Product Family 1 JBS-TOP V3 R2 QC Product Family 1 JBS-TOP V3 R3
- Find parts by specifying a comma-delimited version
-
- Given
- XYZ API domain, Parts namespace and authorized user
- When
- Robot requests service name "find-parts"
- And
- with "part-number" parameter "JBS-TOP"
- And
- with "version" parameter "V3,V2"
- And
- uses HTTP method "GET"
- Then
- Robot should see response status "success"
- And
-
returned node "list.part" should contain following attributes:
family part-number ver rev QC Product Family 1 JBS-TOP V2 R2 QC Product Family 1 JBS-TOP V3 R1 QC Product Family 1 JBS-TOP V3 R2 QC Product Family 1 JBS-TOP V3 R3
- Find parts by specifying a revision with a wildcard
-
- Given
- XYZ API domain, Parts namespace and authorized user
- When
- Robot requests service name "find-parts"
- And
- with "part-number" parameter "JBS-TOP"
- And
- with "revision" parameter "R*"
- And
- uses HTTP method "GET"
- Then
- Robot should see response status "success"
- And
-
returned node "list.part" should contain following attributes:
family part-number ver rev QC Product Family 1 JBS-TOP V1 R1 QC Product Family 1 JBS-TOP V2 R2 QC Product Family 1 JBS-TOP V3 R1 QC Product Family 1 JBS-TOP V3 R2 QC Product Family 1 JBS-TOP V3 R3
- Find parts by specifying a comma-delimited revision
-
- Given
- XYZ API domain, Parts namespace and authorized user
- When
- Robot requests service name "find-parts"
- And
- with "part-number" parameter "JBS-TOP"
- And
- with "revision" parameter "R2,R3"
- And
- uses HTTP method "GET"
- Then
- Robot should see response status "success"
- And
-
returned node "list.part" should contain following attributes:
family part-number ver rev QC Product Family 1 JBS-TOP V2 R2 QC Product Family 1 JBS-TOP V3 R2 QC Product Family 1 JBS-TOP V3 R3
Last published almost 7 years ago by dabravolski.