Skip to content

Commit

Permalink
Fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
twistedpair committed Jan 8, 2025
1 parent a9060d5 commit 4a50a6e
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 7 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 16 additions & 5 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: ^
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down

0 comments on commit 4a50a6e

Please sign in to comment.