Comments (2)
Hi, @saritvakrat can you assist plz what version of Jest you exactly use?
from jest-allure-circus.
@c4lifasecondary Hi, would be great to get some assitance since now we cant use for example allure.issue
jest.config.js:
testEnvironmentOptions: {
jiraUrl: 'https://hhhgital.atlassian.net/browse/',
environmentInfo: process.env.ENV_NAME,
testPath: '/tests/*'
},
Getting this error:
TypeError: Cannot read properties of null (reading 'addLink')
49 | allure.issue('GNG-181.');
| ^
50 | beforeAll(async () => {
51 | // Login in order to create an app and get sessions list
52 | headers = await authentication.getHeadersWithJSESSIONIDCookie();
at JestAllureInterface.link (node_modules/allure-js-commons/src/Allure.ts:47:22)
at JestAllureInterface.issue (node_modules/jest-allure-circus/src/jest-allure-interface.ts:111:8)
When adding This line to jest.setup.js : require('jest-allure-circus');
TypeError: Cannot read properties of null (reading 'addLink')
134 | // unstable
135 | describe.skip('Form Validation Errors - data validation', () => {
> 136 | allure.issue('https:/15419');
| ^
138 |
at JestAllureInterface.link (node_modules/allure-js-commons/src/Allure.ts:47:22)
at JestAllureInterface.issue (node_modules/jest-allure-circus/src/jest-allure-interface.ts:111:8)
"devDependencies": {
"@jest/globals": "^29.3.1",
"@types/jest": "^29.2.5",
"@types/node": "^18.11.18",
"typescript": "^5.2.2"
},
"dependencies": {
"jest-allure-circus": "^1.0.21",
"jest-html-reporters": "^3.1.4",
"jest-junit": "^16.0.0",
"jest-runner-groups": "^2.2.0",
"ts-jest": "^29.0.3" }
from jest-allure-circus.
Related Issues (13)
- Cant install via Yarn - package not found HOT 2
- Using Jest 29- after configuring allure: Test environment jest-circus-allure cannot be found. Make sure the testEnvironment configuration option points to an existing node module HOT 4
- Add Support for Puppeteer + Jest Circus HOT 5
- Question | Not clear - is it possible to add console.logs to the reporter from jest?
- TypeError: Cannot read properties of undefined (reading 'call') HOT 2
- docblock pragmas doesn't exists in allure results HOT 2
- Failed tests are ugly because text has ANSI escape codes HOT 3
- Impossible to use wait-for-expect package HOT 5
- Choose package manager
- Is it possible to integrate it with jest-playwright-preset? HOT 1
- There is a mistake in types of logStep function HOT 1
- Add Jest v29 support HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jest-allure-circus.