Code Monkey home page Code Monkey logo

codeceptjs-xray-helper's People

Contributors

amitasil avatar medtoure18 avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

codeceptjs-xray-helper's Issues

jira_request_timing_info request timed out

Hi ,
The jira software we have in company is very very slow to load. Is it possible to add some wait in xray plugin?

<form id="jira_request_timing_info" class="dont-default-focus" >                                                                                               
        <fieldset class="parameters hidden">                                                                                                                   
                <input type="hidden" title="jira.request.start.millis" value="1597283846850" />                                                                
                <input type="hidden" title="jira.request.server.time" value="592" />                                                                           
                <input type="hidden" title="jira.request.id" value="717x388194x4" />                                                                           
                <input type="hidden" title="jira.session.expiry.time" value="-" />                                                                             
                <input type="hidden" title="jira.session.expiry.in.mins" value="-" />                                                                          
                <input id="jiraConcurrentRequests" type="hidden" name="jira.request.concurrent.requests" value="4" />                                          
                <input type="hidden" title="db.reads.time.in.ms" value="44" />                                                                                 
                <input type="hidden" title="db.writes.time.in.ms" value="5" />                                                                                 
                <input type="hidden" title="db.conns.time.in.ms" value="103" />                                                                                
        </fieldset>                                                                                                                                            
</form>                                                                                                                                                        
<!--                                                                                                                                                           
                         REQUEST ID : 717x388194x4                                                                                                             
                  REQUEST TIMESTAMP : [13/Aug/2020:11:57:26 +1000]                                                                                             
                       REQUEST TIME : 0.5920                                                                                                                   
                         ASESSIONID : 146t0e5                                                                                                                  
                CONCURRENT REQUESTS : 4                                                                                                                        
                            NODE ID : jira-dc2-app1                                                                                                            
                                                                                                                                                               
                              db.reads : OpSnapshot{name='db.reads', invocationCount=46, elapsedTotal=44899282, elapsedMin=634738, elapsedMax=3829716, resultSe
tSize=0, cpuTotal=0, cpuMin=0, cpuMax=0}                                                                                                                       
                             db.writes : OpSnapshot{name='db.writes', invocationCount=5, elapsedTotal=5010337, elapsedMin=914354, elapsedMax=1157696, resultSet
Size=0, cpuTotal=0, cpuMin=0, cpuMax=0}                                                                                                                        
                              db.conns : OpSnapshot{name='db.conns', invocationCount=86, elapsedTotal=103432963, elapsedMin=636932, elapsedMax=8597593, resultS
etSize=0, cpuTotal=0, cpuMin=0, cpuMax=0}                                                                                                                      
-->                                                                                                                                                            
                                                                                                                                                               
</body>                                                                                                                                                        
</html>                                                                                                                                                        
                                                                                                                                                               
undefined:2            ```                                                                                                                                        

X-Ray data package fails to build when testsExportedFromTestExecution is set to true

The creation of the data package for transmission to the JIRA server fails when testsExportedFromTestExecution:is set to true.

Helper extract from codecept.comf.js
xrayReport: {
require: "codeceptjs-xray-helper",
enabled: true,
debug:true,
jira_url: 'https://invitationhomes.atlassian.net',
jira_user: '[email protected]',
jira_password: '********',
test_revison: '001',
testEnvironments: '["browser:chrome", "Linux"]',
testsExportedFromTestExecution:true
}

Feature file contents:

@QA-346
Feature: FEEN BDD Evaluation Test Execution

@TEST_FEEN-688
Scenario: BDD Smoke Test Login
Given I navigate to FEENIX login page
And I enter FEENIX username "[email protected]"
And I enter FEENIX password "********"
And I click FEENIX login button
Then I see "HOME AVAILABILITY" page

Stack Trace:
Error processing global.after event:
TypeError: Cannot read property 'split' of undefined
at /Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs-xray-helper/index.js:106:72
at Array.forEach ()
at EventEmitter. (/Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs-xray-helper/index.js:102:26)
at EventEmitter.emit (events.js:219:5)
at EventEmitter.emit (domain.js:482:12)
at Object.emit (/Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs/lib/event.js:117:28)
at done (/Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs/lib/codecept.js:168:13)
at module.exports (/Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs/lib/hooks.js:28:13)
at Codecept.teardown (/Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs/lib/codecept.js:122:5)
at /Users/james.francisco/repos/feenixbdd/node_modules/codeceptjs/lib/codecept.js:173:28

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.