-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathaction.yml
More file actions
92 lines (91 loc) · 3.64 KB
/
Copy pathaction.yml
File metadata and controls
92 lines (91 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: "Run mabl tests"
description: >-
Register a deployment event with mabl and run associated tests. Set the
SLACK_WEBHOOK_URL env var to post Slack notifications when a deployment fails.
branding:
icon: play-circle
color: white
inputs:
application-id:
description: ^
'Mabl id for the deployed application. You can get the id using the
curl builder at https://app.mabl.com/workspaces/-/settings/apis. Either
this or environment-id must be provided'
required: false
environment-id:
description: ^
'Mabl id for the deployed environment. You can get the id using the
curl builder at https://app.mabl.com/workspaces/-/settings/apis. Either
this or application-id must be provided'
required: false
browser-types:
description: ^
'Override browser types to test. If not provided, mabl will test
the browsers configured on the triggered test plans (comma or new line delimited).'
required: false
plan-labels:
description: ^
'Include all plans with ANY of the supplied labels (comma or new line delimited).'
required: false
uri:
description: ^
'The base uri to test browser based tests against. If provided, this will
override the default uri associated with the environment in mabl'
deprecationMessage: "use 'app-url' instead"
required: false
app-url:
description: ^
'The base URL to run WEB BROWSER TESTS against. If provided, this will
override the default web browser URL associated with the environment in mabl (note, this replaces `uri`, and will override the value in `uri` if both are provided)'
required: false
api-url:
description: ^
'The base URL to run API TESTS against. If provided, this will
override the default API URL associated with the environment in mabl'
required: false
mabl-branch:
description: ^
'Run tests on the mabl branch of tests with this name. Defaults to "master".'
required: false
http-headers:
description: ^
'Headers to add to all requests e.g. "My-Header:the-value" (comma or new line delimited).'
required: false
rebaseline-images:
description: ^
'Set to true to reset the visual baseline to the current deployment'
required: 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'
continue-on-failure:
description: ^
'Set to true to continue the build even if there are test failures'
required: false
default: 'false'
event-time:
description: "Event time the deployment occurred. Defaults to now."
required: false
outputs:
mabl-deployment-id:
description: "Mabl deployment event id"
plans_run:
description: "Total number of mabl plans run against this deployment. A mabl plan is a collection of similarly configured tests."
plans_passed:
description: "Number of mabl plans that passed against this deployment. A mabl plan is a collection of similarly configured tests."
plans_failed:
description: "Number of mabl plans that failed against this deployment. A mabl plan is a collection of similarly configured tests."
tests_run:
description: "Total number of mabl tests run against this deployment."
tests_passed:
description: "Number of mabl tests that passed against this deployment."
tests_failed:
description: "Number of mabl tests that failed against this deployment."
runs:
using: "node20"
main: "lib/src/entrypoint.js"