diff --git a/README.md b/README.md index e34e194..adbd42a 100644 --- a/README.md +++ b/README.md @@ -107,8 +107,12 @@ jobs: types to test e.g. `chrome, firefox, safari, internet_explorer`. If not provided, mabl will test the browsers configured on the triggered test. - `plan-labels` {string} (optional): comma or new line separated plan labels to test. Plans matching **any** label will be run. e.g. `smoke-test, beta-feature`. Note: additional selection criteria must also be met like application-id or environment-id, if supplied. -- `uri` {string} (optional) the base uri to test against. If provided, this will +- `uri` {string} (optional, DEPRECATED - use web_uri) the base uri to run browser based tests against. If provided, this will override the default uri associated with the environment in mabl +- `web_uri` {string} (optional) the base uri to run **Web Browser tests** against. If provided, this will + override the default web browser uri associated with the environment in mabl (note, this replaces `uri`, and will supersede the value in `uri` if both are provided) +- `api_uri` {string} (optional) the base uri to run **API tests** against. If provided, this will + override the default API uri associated with the environment in mabl - `mabl-branch` {string} (optional) run tests on the mabl branch of tests with this name. Defaults to `master`. - `http-headers` {string} (optional) Headers to add to all requests e.g. "My-Header:the-value" (comma or new line delimited). - `rebaseline-images` {boolean} (optional) - Set `true` to reset the visual diff --git a/action.yml b/action.yml index ab25c0d..3556a5a 100644 --- a/action.yml +++ b/action.yml @@ -27,8 +27,19 @@ inputs: required: false uri: description: ^ - 'Base URI to test against. If provided, this will override the default URI - associated with the environment in mabl' + 'DEPRECATED, see 'web_uri'. The base uri to test browser based tests against. If provided, this will + override the default uri associated with the environment in mabl' + deprecationMessage: "'uri' is deprecated, use 'web_uri' instead" + required: false + web_uri: + description: ^ + 'The base uri to run WEB BROWSER TESTS against. If provided, this will + override the default web browser uri associated with the environment in mabl (note, this replaces `uri`, and will override the value in `uri` if both are provided)' + required: false + api_uri: + description: ^ + 'The base uri to run API TESTS against. If provided, this will + override the default API uri associated with the environment in mabl' required: false mabl-branch: description: ^ @@ -42,19 +53,19 @@ inputs: description: ^ 'Set to true to reset the visual baseline to the current deployment' required: false - default: false + default: 'false' set-static-baseline: description: ^ 'Set to true to use the current deployment as an exact static baseline. If this is set, mabl will not model dynamic areas and will use the current deployment as a pixel-exact visual baseline.' required: false - default: false + default: 'false' continue-on-failure: description: ^ 'Set to true to continue the build even if there are test failures' required: false - default: false + default: 'false' event-time: description: "Event time the deployment occurred. Defaults to now." required: false diff --git a/package.json b/package.json index 162a8b0..d443a00 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mabl-github-deployments-action", - "version": "1.14.0", + "version": "1.15.0", "description": "mabl github action for GitHub pipelines integration", "main": "lib/src/entrypoint.js", "scripts": {