Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Confusing order of test body elements #430

Copy link
Copy link
Open
@dr29bart

Description

@dr29bart
Issue body actions

I'm submitting a ...

  • bug report
  • feature request

What is the current behavior?

Rest-assured request/response attachments are in the end of the body:
image

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

import io.qameta.allure.restassured.AllureRestAssured;
import io.restassured.RestAssured;
import org.testng.annotations.Test;

import static org.assertj.core.api.Assertions.assertThat;

public class T {

    @Test public static void testa() {
        RestAssured.replaceFiltersWith(new AllureRestAssured());
        assertThat(1).isGreaterThan(0);

        RestAssured.given().get("https://google.com");

        assertThat(5).isGreaterThan(3);
    }
}

What is the expected behavior?

Rest-assured request/response attachments are in order according to test events:
image

What is the motivation / use case for changing the behavior?

Make the report more straightforward

Please tell us about your environment:

Allure version 2.13.2
Test framework testng@7.1.0
Allure integration allure-testng@2.13.2
Allure integration allure-assertj@2.13.2
Allure integration allure-rest-assured@2.13.2
Generate report using allure-commandline@2.13.2

Other information

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.