Git Product home page Git Product logo

jest-puppeteer-allure's People

Contributors

nkyazhin avatar

Stargazers

 avatar  avatar

Watchers

 avatar

jest-puppeteer-allure's Issues

Not set description

No description is added to the test case.
My test case looks like this:

it("View functions list", async () => {
        reporter.severity(Severity.CRITICAL);
        reporter.description("description");
        await page.goto("https://console-route-ci00641491-edevgen2-faas-dev-1.apps.dev-gen2.sigma.sbrf.ru/dashboard");
});

But the description does not appear in the allure report and the name of the file with the test is written
How fix this and fill the description correctly?

Unexpected endStep(). There are no any steps running.

I'm using jest-puppeteer-allure, with jest-puppeteer.
Versions that I'm using in the project.
"jest": "27.4.3"
"jest-puppeteer": "6.0.2"
"jest-puppeteer-allure": "1.4.0"
"puppeteer": "12.0.1"
So in the its, I'm using reporter.startStep and reporter.endStep to do the tracking.

The problem start to occurs after updating to version 12 of puppeteer and upgrading jest and jest-puppeteer too.

But revisioning all project, all the startSteps have endSteps for itselfs.
I realized that it can be, because of the waitForSelector/waitForTimeout that we use in project, but sometimes even when remove the waits the problem still occurs.
The problem is inconsistent, sometimes you can reproduce very well, and other times the test pass normally.

image

And the test suite only fail because the warning of the end Step, in otherwise it would pass ok.

I don't know if you will be able to reproduce, but if you need I'll be here for any doubts.

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.