Skip to content

Only one failure appear in allure report if multiple soft assertion errors #704

Open
@knysh

Description

@knysh

Describe the bug
Preconditions: Test contains multiple soft assertion and multiple fails.

To Reproduce
Steps to reproduce the behavior:

  1. run the test
  2. generate report

Expected behavior
allure report contains all errors that happened in test

Actual behavior
allure report contains only first error happened

Screenshots
image

test code:

import { test } from '@integration-tests/fixtures/setup.fixture';
import { expect } from '@playwright/test';

test.only('Soft assertion check', async () => {
  expect.soft('first').toBe('false1');
  expect.soft('second').toBe('false2');
});

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions