allure-framework / allure-python

Allure integrations for Python test frameworks
https://allurereport.org/
Apache License 2.0
718 stars 237 forks source link

Couldn't change link to new TMS --allure-link-pattern problem (TestOps) #702

Closed alekseibeda closed 1 year ago

alekseibeda commented 1 year ago

I'm submitting a ...

What is the current behavior?

Current pytest setup.cfg:

minversion = 6.0
addopts = --disable-pytest-warnings --allure-link-pattern=test_case:https://testit.office.bercut.ru/projects/125378/tests/{}

[flake8]
ignore =
    D302,  # Exclude error D302 Use u""" for Unicode docstrings
    D100,  # Exclude error D100 Missing docstring in public module
    D104,  # Exclude error D104 Missing docstring in public package
    D102,  # Exclude error D102 Missing docstring in public method
    D101,  # Exclude error D101 Missing docstring in public class
    E128,  # Exclude error E128 continuation line under-indented for visual indent
    D205,  # D205 - 1 blank between summary and desc in docstring
    D400,  # D400 - 1st docstring line should end with a period
    W291,  # W291 - trailing whitespace in strings
    W293   # W293 - blank line contains whitespace

max-line-length = 120

exclude = Test,Source*

As it showed in config test links should be formed like: https://testit.office.bercut.ru/projects/125378/tests/ + "test_case_id" However links have been pointing to previos TMS: image

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

It happens every time Jenkins starts job that running our git tests repository

What is the expected behavior?

We expect link changing to format declared in cfg file

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

Our current manual TMS changing from TestRail to TestIT

Please tell us about your environment:

Other information

Qameta sofware support ticket link: https://help.qameta.io/support/tickets/1099 [//]: # ( . e.g. detailed explanation, stacktraces, related issues, suggestions . how to fix, links for us to have more context, eg. Stackoverflow, Gitter etc )

skhomuti commented 1 year ago

Closed due to testops missconfiguration, there's no --allure-link-pattern problem