Skip to content

Link.Issue and Link.Tms set Link.url field to null #416

Description

@delatrie

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

The Link.Issue and Link.Tms factory methods set the url field of the newly created Link to null leading to an invalid link being rendered.

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

Given the "https://my-host/{issue}" pattern and the following link:

AllureLifecycle.Instance.UpdateTestCase(t => t.links.Add(Link.Issue("ISSUE-1")));

The link is rendered with the "https://my-host/" URL instead of the "https://my-host/ISSUE-1"

What is the expected behavior?

Both factory methods should create a Link with both name and url set to the same provided value.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions