qmetry / qaf

Quality Automation Framework for web, mobileweb, mobile native and rest web-service using Selenium, webdrier, TestNG and Java Jersey
https://qmetry.github.io/qaf
MIT License
254 stars 138 forks source link

JsonSyntaxException: BDD step with list of map argument issue with only one entry and one key in call #401

Closed cjayswal closed 2 years ago

cjayswal commented 2 years ago

QAF Version

3.0.1

Created from https://groups.google.com/g/qaf-users/c/5faDWnZ4A0E/m/wN45jQp7FAAJ

Steps To Reproduce

1. Create step with list of maps argument
2. Call step in bdd with only one entry with only one key
3. run test

Expected behavior

should work fine

Actual behavior

com.google.gson.JsonSyntaxException: java.lang.IllegalStateException: Expected BEGIN_ARRAY but was BEGIN_OBJECT at path $

Test case sample

Refer post in users-group.