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.
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.recSo we should think about adding something like
ui_domainto 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_pathis the ORIGINAL test we will open on landing.branchis 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.