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

[Automate Tab] Include DeepLink Technique #2767

Closed
xoscar opened this issue Jun 20, 2023 · 1 comment · Fixed by #2791
Closed

[Automate Tab] Include DeepLink Technique #2767

xoscar opened this issue Jun 20, 2023 · 1 comment · Fixed by #2791
Assignees

Comments

@xoscar
Copy link
Contributor

xoscar commented Jun 20, 2023

The frontend now supports a deep link to trigger tests automatically, it was part of issue's #2745 work.

Now, we have to showcase that feature as part of the automated tab in the test run.

Acceptance Criteria

AC1
As a user looking at the automate tab
I should be able to switch from CLI to Deep Link
And see the deep link usage to run my test

AC2
As a user looking at the automate tab and the Deep Link technique
I should be able to add variables to the execution
variables are a set of key - value pair similar to the environment entries
And the deep link should update accordingly

AC3
As a user looking at the automate tab and the Deep Link technique
I should be able to use the current environment I have selected as part of the run
And the deep link should update accordingly

AC3
As a user looking at the automate tab and the Deep Link technique
I should be able to copy the link and paste it into my browser

The deep link structure is the following:

<protocol>://<host><prefix?>/test/<testId>/version/<version>/run?environmentId=<envId>&variables=<variables>

Where the variables is an array of URL encoded key values. i.e [{key: 'HOST', value: 'localhost'}] encoded %5B%7Bkey%3A%20%27HOST%27%2C%20value%3A%20%27localhost%27%7D%5D

Example: https://beta.tracetest.io/test/UVmea5X4g/version/3/run?environmentId=dev&variables=%5B%7B"key"%3A"HOST"%2C"value"%3A"google.com"%7D%5D

Both environment id and variables are optional parameters

@xoscar xoscar changed the title [Deployment Tab] Include DeepLink Technique [Automate Tab] Include DeepLink Technique Jun 20, 2023
@olha23
Copy link

olha23 commented Jun 21, 2023

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.

2 participants