Skip to content

Commit 608faff

Browse files
ShadowCat567Vieltojarviaws-amplify-bot
authored
chore: fix smoke tests (#14256)
* chore: update xcode version * chore: update ruby version * chore: update ruby * chore: change ruby version * chore: update iphone * chore: attempt to increase timeout * chore: reverting all but ruby upgrade * chore: update xcode and device * chore: iphone 15 * chore: let fastlane select iphone * chore: version 16.4 * chore: upgrade fastlane * chore: update gem.lock file * chore: remove blank line --------- Co-authored-by: Vieltojarvi <lvielto@amazon.com> Co-authored-by: aws-amplify-bot <aws@amazon.com>
1 parent 07c0073 commit 608faff

3 files changed

Lines changed: 105 additions & 94 deletions

File tree

.github/actions/run-smoke-tests/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ runs:
4747

4848
# For iOS tests
4949
- name: Setup Ruby
50-
uses: ruby/setup-ruby@22fdc77bf4148f810455b226c90fb81b5cbc00a7 # v1.171.0
50+
uses: ruby/setup-ruby@efbf473cab83af4468e8606cc33eca9281bb213f # v1.256.0
5151
if: runner.os == 'macOS'
5252
with:
5353
ruby-version: '3.2.1'
@@ -57,7 +57,7 @@ runs:
5757
if: runner.os == 'macOS'
5858
shell: bash
5959
run: |
60-
sudo xcode-select -s "/Applications/Xcode_15.1.app"
60+
sudo xcode-select -s "/Applications/Xcode_16.4.app"
6161
xcodebuild -version
6262
6363
- name: Run Smoke Tests

packages/amplify-e2e-tests/resources/example-ios-app/Gemfile.lock

Lines changed: 102 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,49 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
CFPropertyList (3.0.5)
4+
CFPropertyList (3.0.7)
5+
base64
6+
nkf
57
rexml
6-
addressable (2.8.0)
7-
public_suffix (>= 2.0.2, < 5.0)
8-
artifactory (3.0.15)
8+
addressable (2.8.7)
9+
public_suffix (>= 2.0.2, < 7.0)
10+
artifactory (3.0.17)
911
atomos (0.1.3)
10-
aws-eventstream (1.2.0)
11-
aws-partitions (1.575.0)
12-
aws-sdk-core (3.130.0)
13-
aws-eventstream (~> 1, >= 1.0.2)
14-
aws-partitions (~> 1, >= 1.525.0)
15-
aws-sigv4 (~> 1.1)
16-
jmespath (~> 1.0)
17-
aws-sdk-kms (1.55.0)
18-
aws-sdk-core (~> 3, >= 3.127.0)
19-
aws-sigv4 (~> 1.1)
20-
aws-sdk-s3 (1.113.0)
21-
aws-sdk-core (~> 3, >= 3.127.0)
12+
aws-eventstream (1.4.0)
13+
aws-partitions (1.1160.0)
14+
aws-sdk-core (3.232.0)
15+
aws-eventstream (~> 1, >= 1.3.0)
16+
aws-partitions (~> 1, >= 1.992.0)
17+
aws-sigv4 (~> 1.9)
18+
base64
19+
bigdecimal
20+
jmespath (~> 1, >= 1.6.1)
21+
logger
22+
aws-sdk-kms (1.112.0)
23+
aws-sdk-core (~> 3, >= 3.231.0)
24+
aws-sigv4 (~> 1.5)
25+
aws-sdk-s3 (1.199.0)
26+
aws-sdk-core (~> 3, >= 3.231.0)
2227
aws-sdk-kms (~> 1)
23-
aws-sigv4 (~> 1.4)
24-
aws-sigv4 (1.4.0)
28+
aws-sigv4 (~> 1.5)
29+
aws-sigv4 (1.12.1)
2530
aws-eventstream (~> 1, >= 1.0.2)
2631
babosa (1.0.4)
32+
base64 (0.3.0)
33+
bigdecimal (3.2.3)
2734
claide (1.1.0)
2835
colored (1.2)
2936
colored2 (3.1.2)
3037
commander (4.6.0)
3138
highline (~> 2.0.0)
3239
declarative (0.0.20)
33-
digest-crc (0.6.4)
40+
digest-crc (0.7.0)
3441
rake (>= 12.0.0, < 14.0.0)
35-
domain_name (0.5.20190701)
36-
unf (>= 0.0.5, < 1.0.0)
37-
dotenv (2.7.6)
42+
domain_name (0.6.20240107)
43+
dotenv (2.8.1)
3844
emoji_regex (3.2.3)
39-
excon (0.92.2)
40-
faraday (1.10.0)
45+
excon (0.112.0)
46+
faraday (1.10.4)
4147
faraday-em_http (~> 1.0)
4248
faraday-em_synchrony (~> 1.0)
4349
faraday-excon (~> 1.1)
@@ -53,27 +59,27 @@ GEM
5359
faraday (>= 0.8.0)
5460
http-cookie (~> 1.0.0)
5561
faraday-em_http (1.0.0)
56-
faraday-em_synchrony (1.0.0)
62+
faraday-em_synchrony (1.0.1)
5763
faraday-excon (1.1.0)
5864
faraday-httpclient (1.0.1)
59-
faraday-multipart (1.0.3)
60-
multipart-post (>= 1.2, < 3)
61-
faraday-net_http (1.0.1)
65+
faraday-multipart (1.1.1)
66+
multipart-post (~> 2.0)
67+
faraday-net_http (1.0.2)
6268
faraday-net_http_persistent (1.2.0)
6369
faraday-patron (1.0.0)
6470
faraday-rack (1.0.0)
6571
faraday-retry (1.0.3)
66-
faraday_middleware (1.2.0)
72+
faraday_middleware (1.2.1)
6773
faraday (~> 1.0)
68-
fastimage (2.2.6)
69-
fastlane (2.214.0)
74+
fastimage (2.4.0)
75+
fastlane (2.228.0)
7076
CFPropertyList (>= 2.3, < 4.0.0)
7177
addressable (>= 2.8, < 3.0.0)
7278
artifactory (~> 3.0)
7379
aws-sdk-s3 (~> 1.0)
7480
babosa (>= 1.0.3, < 2.0.0)
7581
bundler (>= 1.12.0, < 3.0.0)
76-
colored
82+
colored (~> 1.2)
7783
commander (~> 4.6)
7884
dotenv (>= 2.1.1, < 3.0.0)
7985
emoji_regex (>= 0.1, < 4.0)
@@ -82,128 +88,133 @@ GEM
8288
faraday-cookie_jar (~> 0.0.6)
8389
faraday_middleware (~> 1.0)
8490
fastimage (>= 2.1.0, < 3.0.0)
91+
fastlane-sirp (>= 1.0.0)
8592
gh_inspector (>= 1.1.2, < 2.0.0)
8693
google-apis-androidpublisher_v3 (~> 0.3)
8794
google-apis-playcustomapp_v1 (~> 0.1)
95+
google-cloud-env (>= 1.6.0, < 2.0.0)
8896
google-cloud-storage (~> 1.31)
8997
highline (~> 2.0)
98+
http-cookie (~> 1.0.5)
9099
json (< 3.0.0)
91100
jwt (>= 2.1.0, < 3)
92101
mini_magick (>= 4.9.4, < 5.0.0)
93102
multipart-post (>= 2.0.0, < 3.0.0)
94103
naturally (~> 2.2)
95-
optparse (~> 0.1.1)
104+
optparse (>= 0.1.1, < 1.0.0)
96105
plist (>= 3.1.0, < 4.0.0)
97106
rubyzip (>= 2.0.0, < 3.0.0)
98-
security (= 0.1.3)
107+
security (= 0.1.5)
99108
simctl (~> 1.6.3)
100109
terminal-notifier (>= 2.0.0, < 3.0.0)
101-
terminal-table (>= 1.4.5, < 2.0.0)
110+
terminal-table (~> 3)
102111
tty-screen (>= 0.6.3, < 1.0.0)
103112
tty-spinner (>= 0.8.0, < 1.0.0)
104113
word_wrap (~> 1.0.0)
105114
xcodeproj (>= 1.13.0, < 2.0.0)
106-
xcpretty (~> 0.3.0)
107-
xcpretty-travis-formatter (>= 0.0.3)
115+
xcpretty (~> 0.4.1)
116+
xcpretty-travis-formatter (>= 0.0.3, < 2.0.0)
117+
fastlane-sirp (1.0.0)
118+
sysrandom (~> 1.0)
108119
gh_inspector (1.1.3)
109-
google-apis-androidpublisher_v3 (0.18.0)
110-
google-apis-core (>= 0.4, < 2.a)
111-
google-apis-core (0.4.2)
120+
google-apis-androidpublisher_v3 (0.54.0)
121+
google-apis-core (>= 0.11.0, < 2.a)
122+
google-apis-core (0.11.3)
112123
addressable (~> 2.5, >= 2.5.1)
113124
googleauth (>= 0.16.2, < 2.a)
114125
httpclient (>= 2.8.1, < 3.a)
115126
mini_mime (~> 1.0)
116127
representable (~> 3.0)
117128
retriable (>= 2.0, < 4.a)
118129
rexml
119-
webrick
120-
google-apis-iamcredentials_v1 (0.10.0)
121-
google-apis-core (>= 0.4, < 2.a)
122-
google-apis-playcustomapp_v1 (0.7.0)
123-
google-apis-core (>= 0.4, < 2.a)
124-
google-apis-storage_v1 (0.13.0)
125-
google-apis-core (>= 0.4, < 2.a)
126-
google-cloud-core (1.6.0)
127-
google-cloud-env (~> 1.0)
130+
google-apis-iamcredentials_v1 (0.17.0)
131+
google-apis-core (>= 0.11.0, < 2.a)
132+
google-apis-playcustomapp_v1 (0.13.0)
133+
google-apis-core (>= 0.11.0, < 2.a)
134+
google-apis-storage_v1 (0.31.0)
135+
google-apis-core (>= 0.11.0, < 2.a)
136+
google-cloud-core (1.8.0)
137+
google-cloud-env (>= 1.0, < 3.a)
128138
google-cloud-errors (~> 1.0)
129139
google-cloud-env (1.6.0)
130140
faraday (>= 0.17.3, < 3.0)
131-
google-cloud-errors (1.2.0)
132-
google-cloud-storage (1.36.1)
141+
google-cloud-errors (1.5.0)
142+
google-cloud-storage (1.47.0)
133143
addressable (~> 2.8)
134144
digest-crc (~> 0.4)
135145
google-apis-iamcredentials_v1 (~> 0.1)
136-
google-apis-storage_v1 (~> 0.1)
146+
google-apis-storage_v1 (~> 0.31.0)
137147
google-cloud-core (~> 1.6)
138148
googleauth (>= 0.16.2, < 2.a)
139149
mini_mime (~> 1.0)
140-
googleauth (1.1.2)
150+
googleauth (1.8.1)
141151
faraday (>= 0.17.3, < 3.a)
142152
jwt (>= 1.4, < 3.0)
143-
memoist (~> 0.16)
144153
multi_json (~> 1.11)
145154
os (>= 0.9, < 2.0)
146155
signet (>= 0.16, < 2.a)
147156
highline (2.0.3)
148-
http-cookie (1.0.4)
157+
http-cookie (1.0.8)
149158
domain_name (~> 0.5)
150-
httpclient (2.8.3)
151-
jmespath (1.6.1)
152-
json (2.6.1)
153-
jwt (2.3.0)
154-
memoist (0.16.2)
155-
mini_magick (4.11.0)
156-
mini_mime (1.1.2)
157-
multi_json (1.15.0)
158-
multipart-post (2.0.0)
159-
nanaimo (0.3.0)
160-
naturally (2.2.1)
161-
optparse (0.1.1)
159+
httpclient (2.9.0)
160+
mutex_m
161+
jmespath (1.6.2)
162+
json (2.13.2)
163+
jwt (2.10.2)
164+
base64
165+
logger (1.7.0)
166+
mini_magick (4.13.2)
167+
mini_mime (1.1.5)
168+
multi_json (1.17.0)
169+
multipart-post (2.4.1)
170+
mutex_m (0.3.0)
171+
nanaimo (0.4.0)
172+
naturally (2.3.0)
173+
nkf (0.2.0)
174+
optparse (0.6.0)
162175
os (1.1.4)
163-
plist (3.6.0)
164-
public_suffix (4.0.7)
165-
rake (13.0.6)
166-
representable (3.1.1)
176+
plist (3.7.2)
177+
public_suffix (6.0.2)
178+
rake (13.3.0)
179+
representable (3.2.0)
167180
declarative (< 0.1.0)
168181
trailblazer-option (>= 0.1.1, < 0.2.0)
169182
uber (< 0.2.0)
170183
retriable (3.1.2)
171-
rexml (3.3.9)
172-
rouge (2.0.7)
184+
rexml (3.4.4)
185+
rouge (3.28.0)
173186
ruby2_keywords (0.0.5)
174-
rubyzip (2.3.2)
175-
security (0.1.3)
176-
signet (0.16.1)
187+
rubyzip (2.4.1)
188+
security (0.1.5)
189+
signet (0.21.0)
177190
addressable (~> 2.8)
178-
faraday (>= 0.17.5, < 3.0)
179-
jwt (>= 1.5, < 3.0)
191+
faraday (>= 0.17.5, < 3.a)
192+
jwt (>= 1.5, < 4.0)
180193
multi_json (~> 1.10)
181-
simctl (1.6.8)
194+
simctl (1.6.10)
182195
CFPropertyList
183196
naturally
197+
sysrandom (1.0.5)
184198
terminal-notifier (2.0.0)
185-
terminal-table (1.8.0)
186-
unicode-display_width (~> 1.1, >= 1.1.1)
199+
terminal-table (3.0.2)
200+
unicode-display_width (>= 1.1.1, < 3)
187201
trailblazer-option (0.1.2)
188202
tty-cursor (0.7.1)
189-
tty-screen (0.8.1)
203+
tty-screen (0.8.2)
190204
tty-spinner (0.9.3)
191205
tty-cursor (~> 0.7)
192206
uber (0.1.0)
193-
unf (0.1.4)
194-
unf_ext
195-
unf_ext (0.0.8.1)
196-
unicode-display_width (1.8.0)
197-
webrick (1.8.2)
207+
unicode-display_width (2.6.0)
198208
word_wrap (1.0.0)
199-
xcodeproj (1.19.0)
209+
xcodeproj (1.27.0)
200210
CFPropertyList (>= 2.3.3, < 4.0)
201211
atomos (~> 0.1.3)
202212
claide (>= 1.0.2, < 2.0)
203213
colored2 (~> 3.1)
204-
nanaimo (~> 0.3.0)
205-
xcpretty (0.3.0)
206-
rouge (~> 2.0.7)
214+
nanaimo (~> 0.4.0)
215+
rexml (>= 3.3.6, < 4.0)
216+
xcpretty (0.4.1)
217+
rouge (~> 3.28.0)
207218
xcpretty-travis-formatter (1.0.1)
208219
xcpretty (~> 0.2, >= 0.0.7)
209220

packages/amplify-e2e-tests/src/__tests__/smoke-tests/smoketest-ios.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ function rubyBundleInstall(cwd: string) {
4848
}
4949

5050
function buildAndTestExampleIosApp(cwd: string) {
51-
return spawn('bundle', ['exec', 'fastlane', 'scan', '--device', 'iPhone 13 Pro', '--deployment_target_version', '16.1'], {
51+
return spawn('bundle', ['exec', 'fastlane', 'scan', '--device', 'iPhone 16 Pro Max', '--deployment_target_version', '16.4'], {
5252
cwd,
5353
})
5454
.wait(/Test.*Succeeded/)

0 commit comments

Comments
 (0)