Skip to content

Conversation

@backportbot-nextcloud
Copy link

backport of #9067

#8404

Signed-off-by: Vitor Mattos <[email protected]>
Verified only if the output contain a common json simbols: list of
objects: [{

Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
Will be a bit complex to match a string with quote because the regex
ignore quotes: ([^"]*). If we change the regex don't will be possible
found the end of string and maybe we will need to change the delimiter
of the json string:

https://stackoverflow.com/questions/8533943/cucumber-fill-in-a-field-with-double-quote-in-it#8534220

I changed to accept the argument also as PyStringNode and don't need do
nothin more inside the method because the PyStringNode class have a
magich methdo __toString().

Signed-off-by: Vitor Mattos <[email protected]>
…string

* Make the definition of steps more specific

Signed-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
@vitormattos vitormattos merged commit 7d6290d into stable26 May 2, 2023
@vitormattos vitormattos deleted the backport/9067/stable26 branch May 2, 2023 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants