Skip to content

Commit 1c58299

Browse files
authored
e2e: test on iOS 15 (#559)
## 📜 Description Run e2e tests on iOS 15 too. ## 💡 Motivation and Context Initially I thought that it would be an overkill, but recently I fixed a bug and introduced a regression to iOS 15. I want to catch such regressions as soon as possible, so in this PR I'm adding a job that will run e2e tests on iOS 15. ## 📢 Changelog ### E2E - add iOS 15 config; ### CI - run tests on iOS 15; ## 🤔 How Has This Been Tested? Tested on CI 😊 ## 📝 Checklist - [x] CI successfully passed - [x] I added new mocks and corresponding unit-tests if library API was changed
1 parent 164eb79 commit 1c58299

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+21
-4
lines changed

.github/workflows/ios-e2e-test.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
path: example/ios/build/Build/Products/Release-iphonesimulator/KeyboardControllerExample.app/**
8888
e2e-test:
8989
name: ⚙️ Automated test cases (iOS-${{ matrix.devices.ios }})
90-
runs-on: macos-14
90+
runs-on: macos-${{ matrix.devices.macos }}
9191
timeout-minutes: 60
9292
env:
9393
WORKING_DIRECTORY: example
@@ -98,9 +98,10 @@ jobs:
9898
matrix:
9999
devices:
100100
[
101-
{ ios: 16, xcode: "14.3.1" },
102-
{ ios: 17, xcode: "15.4" },
103-
{ ios: 18, xcode: "16-beta" },
101+
{ ios: 15, xcode: "13.4.1", macos: 12 },
102+
{ ios: 16, xcode: "14.3.1", macos: 14 },
103+
{ ios: 17, xcode: "15.4", macos: 14 },
104+
{ ios: 18, xcode: "16-beta", macos: 14 },
104105
]
105106
needs: build
106107
steps:

e2e/.detoxrc.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,13 @@ module.exports = {
4141
},
4242
},
4343
devices: {
44+
simulator15: {
45+
type: "ios.simulator",
46+
device: {
47+
type: "iPhone 13 Pro",
48+
os: "iOS 15.5",
49+
},
50+
},
4451
simulator16: {
4552
type: "ios.simulator",
4653
device: {
@@ -86,6 +93,14 @@ module.exports = {
8693
},
8794
},
8895
configurations: {
96+
"example.ios.sim-15.debug": {
97+
device: "simulator15",
98+
app: "example.ios.debug",
99+
},
100+
"example.ios.sim-15.release": {
101+
device: "simulator15",
102+
app: "example.ios.release",
103+
},
89104
"example.ios.sim-16.debug": {
90105
device: "simulator16",
91106
app: "example.ios.debug",
107 KB
107 KB
167 KB
106 KB
106 KB
166 KB
137 KB
169 KB

0 commit comments

Comments
 (0)