57 lines
1.4 KiB
YAML
57 lines
1.4 KiB
YAML
apiVersion: unidesk.pikastech.local/v1alpha1
|
|
kind: ExternalFormWorkflow
|
|
metadata:
|
|
id: fixture-registration
|
|
spec:
|
|
runner:
|
|
node: NC01
|
|
lane: v03
|
|
origin:
|
|
url: http://127.0.0.1
|
|
allowedHosts:
|
|
- 127.0.0.1
|
|
browserProxyMode: direct
|
|
fixture:
|
|
htmlPath: config/web-probe-external-form/fixture.html
|
|
browser:
|
|
viewportWidth: 1280
|
|
viewportHeight: 800
|
|
timeoutMs: 30000
|
|
maxUploadBytes: 5242880
|
|
commandTimeoutSeconds: 30
|
|
pollMs: 250
|
|
state:
|
|
remoteRoot: .state/web-probe-external-form
|
|
allowIrreversibleSubmit: false
|
|
secret:
|
|
configPath: config/web-probe-external-form/secrets.fixture.yaml
|
|
targetId: external-form-fixture
|
|
secretName: fixture-external-form
|
|
targetKeys:
|
|
- applicantName
|
|
- applicantEmail
|
|
actions:
|
|
- id: open-registration
|
|
type: goto
|
|
url: /form
|
|
- id: fill-name
|
|
type: fill
|
|
selector: input[name="custname"]
|
|
valueRef: applicantName
|
|
- id: fill-email
|
|
type: fill
|
|
selector: input[name="custemail"]
|
|
valueRef: applicantEmail
|
|
- id: upload-fixture
|
|
type: upload
|
|
selector: input[name="resume"]
|
|
path: config/web-probe-external-form/fixture.html
|
|
- id: inspect-controls
|
|
type: inspect
|
|
- id: captcha
|
|
type: pause
|
|
selector: input[name="custtel"]
|
|
reason: captcha-required
|
|
- id: draft-screenshot
|
|
type: screenshot
|