Passing defined variable through different scenarios is not working

前端 未结 1 1893
清酒与你
清酒与你 2021-01-15 02:22

Trying to pass a reference of the response of a POST scenario to another scenario with PATCH method and changing one of the properties and getting errors. Debbuging the sour

1条回答
  •  臣服心动
    2021-01-15 02:54

    This is by design - if you need variables to be in the scope for all Scenarios within a feature, move it to the Background. And if you want this variable to be initialized only once, look at the callonce keyword.

    0 讨论(0)
提交回复
热议问题