Skip to content

CI: Display CLT Test EDIT link with a given domain as a parameter in action #87

Description

@donhardman

Now with our UI, we can not just post error tests to comments in pull requests but also provide a link to edit it in the UI.

The link looks like this:

{UI_HOST}/?test_path=core%2Ftest-auto-schema.rec&branch=master&failed_tests[]=core%2Ftest-auto-schema.rec

So we should think about adding something like ui_domain to pass to the action to keep it able to run for different projects that may run UI on different domains, but also improve the experience and land users to edit.

test_path is the ORIGINAL test we will open on landing.
branch is a given branch where it happened.
failed_tests[] should be an array of FAILED tests; it works ONLY for highlighting them in the UI (like what to check).

If we want to pass more, we use like failed_tests[]=...&failed_tests[]=... that will highlight 2++.

Values should be properly URL encoded.

Metadata

Metadata

Assignees

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