Code Monkey home page Code Monkey logo

Comments (2)

wswebcreation avatar wswebcreation commented on September 22, 2024

Hi @gaurist

Can you please provide more information like:

  • Which version of wdio-cucumber-framework you are on
  • have you tried to debug the response from the beforeFeature

Have you also checked the CucumberJS docs. They changed a lot in the structure of the response of CucumberJS.

from wdio-cucumber-framework.

gaurist avatar gaurist commented on September 22, 2024

Hi @wswebcreation : wdio-cucumber-framework : 2.2.8 , following is the response from beforeFeature.
with version 1.1.0, uri was included in the response.

{  
   "type":"Feature",
   "tags":[  

   ],
   "location":{  
      "line":1,
      "column":1
   },
   "language":"en",
   "keyword":"Feature",
   "name":"Testing feature file path",
   "children":[  
      {  
         "type":"ScenarioOutline",
         "tags":[  
            {  
               "type":"Tag",
               "location":{  
                  "line":3,
                  "column":3
               },
               "name":"@id=test"
            }
         ],
         "location":{  
            "line":4,
            "column":3
         },
         "keyword":"Scenario Outline",
         "name":"Verify the  Google Elements",
         "steps":[  
            {  
               "type":"Step",
               "location":{  
                  "line":5,
                  "column":5
               },
               "keyword":"Given ",
               "text":"I open the <path> page"
            },
            {  
               "type":"Step",
               "location":{  
                  "line":6,
                  "column":5
               },
               "keyword":"When ",
               "text":"I visit the google page"
            },
            {  
               "type":"Step",
               "location":{  
                  "line":7,
                  "column":5
               },
               "keyword":"And ",
               "text":"I expect element \"googlebox\" to be present"
            }
         ],
         "examples":[  
            {  
               "type":"Examples",
               "tags":[  

               ],
               "location":{  
                  "line":10,
                  "column":5
               },
               "keyword":"Examples",
               "name":"",
               "tableHeader":{  
                  "type":"TableRow",
                  "location":{  
                     "line":11,
                     "column":7
                  },
                  "cells":[  
                     {  
                        "type":"TableCell",
                        "location":{  
                           "line":11,
                           "column":9
                        },
                        "value":"path"
                     }
                  ]
               },
               "tableBody":[  
                  {  
                     "type":"TableRow",
                     "location":{  
                        "line":12,
                        "column":7
                     },
                     "cells":[  
                        {  
                           "type":"TableCell",
                           "location":{  
                              "line":12,
                              "column":9
                           },
                           "value":"wwww.google.com"
                        }
                     ]
                  }
               ]
            }
         ]
      }
   ]
}

from wdio-cucumber-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.