=== Test case: graphql_domain_SUITE:unknown_host_type_error_formatting/1 (click for source code)

=== Config value:

    [{protocol,cli},
     {schema_endpoint,admin},
     {watchdog,<0.17278.0>},
     {{ejabberd_cwd,mongooseim@localhost},
      "/home/circleci/project/_build/mim1/rel/mongooseim"},
     {preset,"pgsql_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_domain_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@983bb6b138f0.2024-04-26_13.09.46/big_tests.tests.graphql_domain_SUITE.logs/run.2024-04-26_13.12.57/graphql_domain_suite.unknown_host_type_error_formatting.26371.html"},
     {tc_group_properties,[{name,domain_cli},sequence]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_domain_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@983bb6b138f0.2024-04-26_13.09.46/big_tests.tests.graphql_domain_SUITE.logs/run.2024-04-26_13.12.57/log_private/"}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@983bb6b138f0.2024-04-26_13.09.46"

=== Started at 2024-04-26 13:12:59


*** CT 2024-04-26 13:12:59.192 *** View log from node mongooseim@localhost when started🔗 mongooseim@localhost_1484.html

*** User 2024-04-26 13:12:59.436 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  domain addDomain --domain example.com --hostType NonExistingHostType
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"domain\",\n        \"addDomain\"\n      ],\n      \"message\" : \"Unknown host type\",\n      \"extensions\" : {\n        \"hostType\" : \"NonExistingHostType\",\n        \"domain\" : \"example.com\",\n        \"code\" : \"unknown_host_type\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"domain\" : {\n      \"addDomain\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2024-04-26 13:12:59.436 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "domain",
        "addDomain"
      ],
      "message" : "Unknown host type",
      "extensions" : {
        "hostType" : "NonExistingHostType",
        "domain" : "example.com",
        "code" : "unknown_host_type"
      }
    }
  ],
  "data" : {
    "domain" : {
      "addDomain" : null
    }
  }
}


*** User 2024-04-26 13:12:59.672 ***🔗
Execute /home/circleci/project/_build/mim1/rel/mongooseim/bin/mongooseimctl  domain domainsByHostType --hostType NonExistingHostType
Result "{\n  \"errors\" : [\n    {\n      \"path\" : [\n        \"domain\",\n        \"domainsByHostType\"\n      ],\n      \"message\" : \"Unknown host type\",\n      \"extensions\" : {\n        \"hostType\" : \"NonExistingHostType\",\n        \"code\" : \"unknown_host_type\"\n      }\n    }\n  ],\n  \"data\" : {\n    \"domain\" : {\n      \"domainsByHostType\" : null\n    }\n  }\n}\n"
ExitStatus 1

*** User 2024-04-26 13:12:59.672 ***🔗
ResultString:
{
  "errors" : [
    {
      "path" : [
        "domain",
        "domainsByHostType"
      ],
      "message" : "Unknown host type",
      "extensions" : {
        "hostType" : "NonExistingHostType",
        "code" : "unknown_host_type"
      }
    }
  ],
  "data" : {
    "domain" : {
      "domainsByHostType" : null
    }
  }
}

*** CT 2024-04-26 13:12:59.673 *** View log from node mongooseim@localhost when finished🔗 mongooseim@localhost_1484.html



=== Ended at 2024-04-26 13:12:59
=== successfully completed test case
=== === Returned value: ok


Test run history | Top level test index | Latest test result