Fix BiDi serialization test (#40723)
Co-authored-by: Maksim Sadym <sadym@google.com>
diff --git a/webdriver/tests/bidi/script/call_function/result.py b/webdriver/tests/bidi/script/call_function/result.py
index a930cf2..df989c4 100644
--- a/webdriver/tests/bidi/script/call_function/result.py
+++ b/webdriver/tests/bidi/script/call_function/result.py
@@ -66,10 +66,10 @@
{
"type": "object",
"value": [
- ["foo", {"type": "object"}],
- ["qux", {"type": "string", "value": "quux"}],
["1", {"type": "string", "value": "fred"}],
["2", {"type": "string", "value": "thud"}],
+ ["foo", {"type": "object"}],
+ ["qux", {"type": "string", "value": "quux"}],
],
},
),
diff --git a/webdriver/tests/bidi/script/evaluate/result.py b/webdriver/tests/bidi/script/evaluate/result.py
index afdfb5f..faea80a 100644
--- a/webdriver/tests/bidi/script/evaluate/result.py
+++ b/webdriver/tests/bidi/script/evaluate/result.py
@@ -60,10 +60,10 @@
{
"type": "object",
"value": [
- ["foo", {"type": "object"}],
- ["qux", {"type": "string", "value": "quux"}],
["1", {"type": "string", "value": "fred"}],
["2", {"type": "string", "value": "thud"}],
+ ["foo", {"type": "object"}],
+ ["qux", {"type": "string", "value": "quux"}],
],
},
),