From fb28107cc4363e1259999dcc3c9678de47426d28 Mon Sep 17 00:00:00 2001 From: Bocki Date: Tue, 5 Apr 2022 14:46:42 +0200 Subject: [PATCH] [Core] Fix prtester context issue (#2609) --- .github/prtester.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/prtester.py b/.github/prtester.py index 080d7d26..f7e9dda0 100644 --- a/.github/prtester.py +++ b/.github/prtester.py @@ -31,6 +31,9 @@ def testBridges(bridges,status): # if an example or default value is missing for a required attribute, it will throw an error # any non-required fields are not tested!!! for parameter in parameters: + if parameter.get('type') == 'hidden' and parameter.get('name') == 'context': + cleanvalue = parameter.get('value').replace(" ","+") + formstring = formstring + '&' + parameter.get('name') + '=' + cleanvalue if parameter.get('type') == 'number' or parameter.get('type') == 'text': if parameter.has_attr('required'): if parameter.get('placeholder') == '':