allure-framework / allure-framework/allure-js

Add the ability to pass a precondition in an autotest so that it is displayed in allure

Open
#1,209 0 comments 15 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
281
Forks
137
Avg merge
1d 11h
Merged PRs (30d)
13

Description

**Is your feature request related to a problem? Please describe.**
I can't add precondition in my autotest (step my autotest and text message). Therefore, it is sometimes difficult for a tester to understand what belongs to the test and what to the precondition.

**Describe the solution you'd like**
Add the ability to add a precondition. So that this is displayed correctly in allure
await precondition('add precondition')

**Additional context**
image

Contributor guide

Open the contributing guide

Research direction

Start by locating the existing autotest step API and the code that serializes test steps into Allure results. Trace how a proposed precondition call would be represented and compare the generated report with the expected separation between preconditions and test steps; add coverage for the new behavior in the relevant integration tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
testing-qa
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.