nkyazhin / jest-puppeteer-allure Goto Github PK
View Code? Open in Web Editor NEWThis package allows you to generate an allure report.
License: MIT License
This package allows you to generate an allure report.
License: MIT License
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?
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.