From 7fa54d6d11bc3967344793a3fc2169401b47369f Mon Sep 17 00:00:00 2001 From: Tom Howard Date: Mon, 11 Jan 2021 02:44:01 +1100 Subject: [PATCH] Added test for mutliple params of differing type --- src/test/invoke-operation.feature | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/src/test/invoke-operation.feature b/src/test/invoke-operation.feature index ab1d9e8a..d8ec1259 100644 --- a/src/test/invoke-operation.feature +++ b/src/test/invoke-operation.feature @@ -249,7 +249,6 @@ Feature: Invoke Operation | 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 | @@ -279,3 +278,30 @@ Feature: Invoke Operation | POST | path | | PUT | path | | PATCH | path | + + @wip + Scenario Outline: Invoke operation - multiple parameters of same different 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 | | + | charlie | | + When waychaser successfully loads that resource + And we invoke the "https://waychaser.io/rel/pong" operation with the input + | alpha | one | + | bravo | two | + | charlie | three | + Then resource returned will contain those values + + Examples: + | METHOD | TYPE1 | TYPE2 | + | GET | query | path | + | DELETE | query | path | + | POST | query | path | + | PUT | query | path | + | PATCH | query | path | + | GET | path | query | + | DELETE | path | query | + | POST | path | query | + | PUT | path | query | + | PATCH | path | query |