Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1 of 3 tasks
delatrie opened this issue Nov 13, 2023 · 0 comments · Fixed by #414
Closed
1 of 3 tasks

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

delatrie opened this issue Nov 13, 2023 · 0 comments · Fixed by #414
Assignees

Comments

@delatrie
Copy link
Contributor

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.

@delatrie delatrie self-assigned this Nov 13, 2023
@delatrie delatrie mentioned this issue Nov 13, 2023
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant