diff --git a/src/test/invoke-operation.feature b/src/test/invoke-operation.feature index 1256a08f..ab1d9e8a 100644 --- a/src/test/invoke-operation.feature +++ b/src/test/invoke-operation.feature @@ -225,13 +225,15 @@ Feature: Invoke Operation Scenario Outline: Invoke operation - multiple parameters of same type Given a resource with a "https://waychaser.io/rel/pong" operation with the "" method that returns the following provided parameters - | NAME | TYPE | - | alpha | | - | bravo | | + | NAME | TYPE | + | alpha | | + | bravo | | + | charlie | | When waychaser successfully loads that resource And we invoke the "https://waychaser.io/rel/pong" operation with the input - | alpha | one | - | bravo | two | + | alpha | one | + | bravo | two | + | charlie | three | Then resource returned will contain those values Examples: @@ -246,3 +248,34 @@ Feature: Invoke Operation | POST | path | | PUT | path | | PATCH | path | + + @wip + Scenario Outline: Invoke operation - multiple parameters of same type with extra params + Given a resource with a "https://waychaser.io/rel/pong" operation with the "" method that returns the following provided parameters + | NAME | TYPE | + | alpha | | + | bravo | | + | charlie | | + When waychaser successfully loads that resource + And we invoke the "https://waychaser.io/rel/pong" operation with the input + | bravo | two | + | other | notUsed | + | charlie | three | + | alpha | one | + Then resource returned will contain only + | alpha | one | + | bravo | two | + | charlie | three | + + Examples: + | METHOD | TYPE | + | GET | query | + | DELETE | query | + | POST | query | + | PUT | query | + | PATCH | query | + | GET | path | + | DELETE | path | + | POST | path | + | PUT | path | + | PATCH | path |