From a6b22772ce4c0407452a06ae2ad3ba53d77ef6dd Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Thu, 19 Dec 2024 11:18:56 -0700 Subject: [PATCH] updating many cuzz.json --- .../stable/test/end_to_end/candid_rpc/complex_types/cuzz.json | 1 + examples/stable/test/end_to_end/candid_rpc/date/cuzz.json | 4 +++- .../test/end_to_end/candid_rpc/ledger_canister/cuzz.json | 3 ++- .../test/end_to_end/candid_rpc/management_canister/cuzz.json | 1 + .../test/end_to_end/candid_rpc/stable_structures/cuzz.json | 1 + 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/examples/stable/test/end_to_end/candid_rpc/complex_types/cuzz.json b/examples/stable/test/end_to_end/candid_rpc/complex_types/cuzz.json index f5a803aa9d..2934e5d1a4 100644 --- a/examples/stable/test/end_to_end/candid_rpc/complex_types/cuzz.json +++ b/examples/stable/test/end_to_end/candid_rpc/complex_types/cuzz.json @@ -2,6 +2,7 @@ "callDelay": "0", "expectedErrors": [ "Reject text:.*Uncaught Error: Author not found", + "Reject text:.*Uncaught TypeError: cannot read property 'Symbol.iterator' of undefined", "Method: createPost \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Author not found", "Method: createReaction \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Author not found", "Method: createThread \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Author not found", diff --git a/examples/stable/test/end_to_end/candid_rpc/date/cuzz.json b/examples/stable/test/end_to_end/candid_rpc/date/cuzz.json index fa42b984cc..bef7ff7994 100644 --- a/examples/stable/test/end_to_end/candid_rpc/date/cuzz.json +++ b/examples/stable/test/end_to_end/candid_rpc/date/cuzz.json @@ -31,10 +31,12 @@ "Method: setUtcMonth \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument", "Method: setUtcHours \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument", "Method: setUtcMinutes \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument", + "Method: setUtcSeconds \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument", "Method: setUtcMilliseconds \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat32 argument", "Method: getTime \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught RangeError: cannot convert NaN or Infinity to BigInt", "Method: setTime \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught RangeError: cannot convert NaN or Infinity to BigInt", "Method: parse \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught RangeError: cannot convert NaN or Infinity to BigInt", - "xUncaught Error: Failed to encode Candid arguments: Error: Invalid nat64 argument" + "Method: utc \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught RangeError: cannot convert NaN or Infinity to BigInt", + "Method: utc \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught Error: Failed to encode Candid arguments: Error: Invalid nat64 argument" ] } diff --git a/examples/stable/test/end_to_end/candid_rpc/ledger_canister/cuzz.json b/examples/stable/test/end_to_end/candid_rpc/ledger_canister/cuzz.json index f2686b2d7a..4bd7c05170 100644 --- a/examples/stable/test/end_to_end/candid_rpc/ledger_canister/cuzz.json +++ b/examples/stable/test/end_to_end/candid_rpc/ledger_canister/cuzz.json @@ -5,6 +5,7 @@ "Method: account_balance \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Invalid account identifier: Checksum failed for .*, expected check bytes .* but found", "Method: executeTransfer \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Deserialization Failed: \\\\\"Fail to decode argument 0 from table5 to record", "Method: transfer \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Deserialization Failed: \\\\\"Fail to decode argument 0 from table5 to record", - "Method: getAccountBalance \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Deserialization Failed: \\\\\"Fail to decode argument 0 from table5 to record" + "Method: getAccountBalance \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Deserialization Failed: \\\\\"Fail to decode argument 0 from table5 to record", + "Method: getBlocks \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Deserialization Failed: \\\\\"Fail to decode argument 0 from table0 to record" ] } diff --git a/examples/stable/test/end_to_end/candid_rpc/management_canister/cuzz.json b/examples/stable/test/end_to_end/candid_rpc/management_canister/cuzz.json index 248c353432..2771abb535 100644 --- a/examples/stable/test/end_to_end/candid_rpc/management_canister/cuzz.json +++ b/examples/stable/test/end_to_end/candid_rpc/management_canister/cuzz.json @@ -7,6 +7,7 @@ "Method: executeStartCanister \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request", "Method: executeStopCanister \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request", "Method: executeUninstallCode \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request", + "Method: executeUpdateSettings \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught Error: Rejection code 3, Unable to route management canister request", "xnot found" ] } diff --git a/examples/stable/test/end_to_end/candid_rpc/stable_structures/cuzz.json b/examples/stable/test/end_to_end/candid_rpc/stable_structures/cuzz.json index 198907fd0e..d2c996f24c 100644 --- a/examples/stable/test/end_to_end/candid_rpc/stable_structures/cuzz.json +++ b/examples/stable/test/end_to_end/candid_rpc/stable_structures/cuzz.json @@ -5,6 +5,7 @@ "Method: stableMap17Remove \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught SyntaxError: unexpected token", "Method: stableMap17Insert \\(update\\)[\\s\\S]*\"Request ID\":[\\s\\S]*\"Error code\":[\\s\\S]*\"Reject code\":[\\s\\S]*\"Reject message\":.*Uncaught SyntaxError: unexpected data at the end", "Method: stableMap17ContainsKey \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught SyntaxError: unexpected token", + "Method: stableMap17ContainsKey \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught SyntaxError: unexpected data at the end", "Method: stableMap17Get \\(query\\)[\\s\\S]*\"Status\":[\\s\\S]*\"Code\":[\\s\\S]*\"Message\":.*Uncaught SyntaxError: unexpected token" ] }