Giter Club home page Giter Club logo

examples-js's Introduction

examples-js

Examples for js integrations with ReportPortal.

Here are examples for the following agents:

examples-js's People

Contributors

amsterget avatar bam6ycha avatar chivekrodis avatar dependabot[bot] avatar katrin-kot avatar katsiarynatatarynovich avatar oranje322 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

examples-js's Issues

[agent-js-cucumber] Total TestCase count is reflecting incorrectly

Hello @AmsterGet and Team,

I ran the sample project you have provided with the command npm run example:simpleTestWithRetries
And I get the expected below results with Total of 10 Tests, 8 passed and 2 failed:
image

Now i made the below minor change in the stepDef file.
When("I ask whether it's Friday yet", function() {
this.actualAnswer = isItFriday(this.today);
throw new Error('Check Failed')
});

Now I run the same command again expecting the results as -> Total 10 Tests, 5 passed and 5 failed (3 extra failures compared to above as the particular scenario has 3 examples)
But instead i get -> Total 12 Tests, 5 passed and 7 failed.
image

Example 1 - retry 3 (considered as 1 test)
Example 2 - 1st attempt (Fail) (considered as 1 test)
Example 2 - 2 retries (Both Fail) (considered as 1 test)
Example 3 - 1st attempt (Fail) (considered as 1 test)
Example 3 - 2 retries (Both Fail) (considered as 1 test)

Hence instead of 3 tests - we get 5 here :(

Could you please guide me!!

Thanks,
Deepalee Khare

Launch is not created 405

I have checked out the code and provided

  1. Report portal deafult cloud configurations to update the report - Failing
  2. Personal portals configurations - Failing

Screen Shot 2022-12-16 at 1 31 09 AM

Issue 2 no launch is created

module.exports = defineConfig({ headless: true, reporter: '@reportportal/agent-js-cypress', reporterOptions: { endpoint: 'http://152.554.218.73:8082jj', token: launch: 'default_TEST_EXAMPLE', project: , description: 'default_TEST_EXAMPLE', }, e2e: { setupNodeEvents(on, config) { return registerReportPortalPlugin(on, config) }, }, });
Could someone help I am I missing some thing?

The cypress example does not work

Not exactly sure what the issue is but it works fine with testcafe. Maybe the call to the endpoint is wrong:

universal-analytics �[0mFinished sending tracking calls �[38;5;44m+25s�[0m
follow-redirects �[0mredirecting to https://mywebsite.net/ui/#notfound 

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.