webrtc / KITE

KITE is a test engine designed to test WebRTC interoperability across browsers
Apache License 2.0
468 stars 126 forks source link

Issue while running config JSON files #127

Closed bhavishya2107 closed 4 years ago

bhavishya2107 commented 4 years ago

Machine: Intel i7 7th gen OS: Ubuntu 18.04 LTS

When I try running r configs/iceconnection.apprtc.config.json inside /Github/KITE/KITE-AppRTC-Test it returns me an error i.e.

Error in (function (file, local = FALSE, echo = verbose, print.eval = echo,  : 
  configs/iceconnection.apprtc.config.json:2:30: unexpected ','
1: {
2:   "name": "IceConnectionTest",
                                ^

the similar issue is with running r configs/search.local.config.json inside /Github/KITE/KITE-Example-Test it returns

Error in (function (file, local = FALSE, echo = verbose, print.eval = echo,  : 
  search.local.config.json:2:59: unexpected ','
1: {
2:   "name": "Kite Test Search Example with Allure reporting",
                                                             ^

Below are the details of the above files opened in gedit

iceconnection.apprtc.config.json

{
"name": "IceConnectionTest %ts",
"callable": true,
"grids": [
{
"type": "local",
"url": "http://localhost:4444/wd/hub"
}
],
"tests": [
{
"name": "IceConnectionTest",
"tupleSize": 2,
"description": "This test check the ICEConnection state between two browsers communicating via appr.tc",
"testImpl": "org.webrtc.kite.apprtc.tests.IceConnectionTest",
"csvReport": true,
"payload" : {
"url": "https://appr.tc",
"takeScreenshotForEachTest": true,
"getStats" : {
"enabled": true,
"statsCollectionTime": 2000,
"statsCollectionInterval": 2000,
"peerConnections": ["appController.call_.pcClient_.pc_"],
"selectedStats" : ["inbound-rtp", "outbound-rtp", "candidate-pair", "track"]
}
}
}
],
"clients": [
{
"browserName": "chrome",
"version":"81",
"platform": "localhost"
}
]
}

search.local.config.json

{
"name": "Kite Test Search Example with Allure reporting",
"grids": [
{
"type": "local",
"url": "http://localhost:4444/wd/hub"
}
],
"tests": [
{
"name": "KiteExampleSearchTest %ts",
"tupleSize": 3,
"description": "This example test opens google and searches for Cosmo Software Consulting and verify the first result",
"testImpl": "org.webrtc.kite.example.KiteExampleSearchTest",
"payload": {
"test1": "ONE",
"test2": "TWO"
}
}
],
"clients": [
{
"browserName": "chrome",
"version": "81",
"platform": "localhost"
},
{
"browserName": "firefox",
"version":"76",
"platform": "localhost"
}
]
}
namvuCosmo commented 4 years ago

Hello,

Sorry for the super late reply, I was busy and forgot about your issue. Is it still an issue?

namvuCosmo commented 4 years ago

closed due to no activity