-
Notifications
You must be signed in to change notification settings - Fork 37
112 lines (111 loc) · 3.29 KB
/
e2e.yml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
name: dpc-sdp/ripple/e2e
on:
workflow_dispatch:
inputs:
project:
type: string
required: true
be_url:
type: string
required: true
fe_url:
type: string
required: true
jobs:
fe_smoke:
uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main
secrets: inherit
with:
name: 'FE smoke'
test_type: ":smoke-test:"
tags: "@core and @smoke"
fe_url: ${{ inputs.fe_url }}
be_url: ${{ inputs.be_url }}
project: ${{ inputs.project }}
test_id: "fixture"
parallel: 10
tag: 'sdp-dev-r1-chrome'
fe_core:
needs: fe_smoke
uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main
secrets: inherit
with:
name: 'FE core'
test_type: ':e2e:'
tags: "@core and @regression and not @mobile"
fe_url: ${{ inputs.fe_url }}
be_url: ${{ inputs.be_url }}
project: ${{ inputs.project }}
test_id: "fixture"
parallel: 10
tag: 'sdp-dev-r1-chrome'
fe_core_safari:
needs: fe_smoke
uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main
secrets: inherit
with:
name: 'FE Core Safari'
test_type: ':e2e:'
tags: '@core and @regression and not @mobile'
fe_url: ${{ inputs.fe_url }}
be_url: ${{ inputs.be_url }}
project: ${{ inputs.project }}
test_id: "fixture"
parallel: 1
tag: 'sdp-dev-r1-chrome'
browser: 'browserstack.safari'
fe_core_android_chrome:
needs: fe_smoke
uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main
secrets: inherit
with:
name: 'FE Core Android Chrome'
test_type: ':e2e:'
tags: '@core and @regression and not @desktop'
fe_url: ${{ inputs.fe_url }}
be_url: ${{ inputs.be_url }}
project: ${{ inputs.project }}
test_id: "fixture"
parallel: 1
tag: 'sdp-dev-r1-chrome'
browser: 'browserstack.androidChrome'
fe_core_iphone_safari:
needs: fe_smoke
uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main
secrets: inherit
with:
name: 'FE Core iPhone Safari'
test_type: ':e2e:'
tags: '@core and @regression and not @desktop'
fe_url: ${{ inputs.fe_url }}
be_url: ${{ inputs.be_url }}
project: ${{ inputs.project }}
test_id: "fixture"
parallel: 1
tag: 'sdp-dev-r1-chrome'
browser: 'browserstack.iphoneSafari'
fe_core_visual:
needs: fe_smoke
uses: dpc-sdp/github-actions/.github/workflows/run_e2e_fe.yml@main
secrets: inherit
with:
name: 'FE core visual'
app: frontend-visual
test_type: ":applitools:"
eyes_appname: 'sdp-core-v1'
tags: "@core and @visual-regression-minimal"
fe_url: ${{ inputs.fe_url }}
be_url: ${{ inputs.be_url }}
project: ${{ inputs.project }}
test_id: "fixture"
parallel: 1
tag: 'sdp-dev-r1-chrome'
set_status:
needs: [fe_core, fe_core_safari, fe_core_iphone_safari, fe_core_android_chrome, fe_core_visual]
if: ${{ always() }}
uses: dpc-sdp/github-actions/.github/workflows/set_status.yml@main
secrets: inherit
with:
context: 'e2e'
description: 'Ripple E2E testing'
target_url: ${{ github.event.repository.html_url }}/actions/runs/${{ github.run_id }}