Skip to content

Commit 1c67429

Browse files
NikolaSimsicUrazAkgultan
authored andcommitted
Updated config
1 parent ad097dc commit 1c67429

94 files changed

Lines changed: 23 additions & 6 deletions

File tree

Some content is hidden

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

.github/workflows/NativePipeline.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ jobs:
267267
- name: "Install Node dependencies"
268268
working-directory: native-template
269269
run: npm i
270+
270271
- name: "Setup Pods cache"
271272
uses: actions/cache@v3.3.1
272273
with:
@@ -421,6 +422,13 @@ jobs:
421422
uses: actions/download-artifact@v3.0.2
422423
with:
423424
name: mda
425+
# Used when new xCode version of simulator should be created
426+
- name: Update Xcode
427+
run: sudo xcode-select --switch /Applications/Xcode_14.0.1.app
428+
- name: "Clean detox framework cache"
429+
run: npx detox clean-framework-cache
430+
- name: "Build detox framework cache"
431+
run: npx detox build-framework-cache
424432
- name: "Start runtime"
425433
uses: ./.github/actions/start-runtime
426434
with:
@@ -439,6 +447,14 @@ jobs:
439447
run: |
440448
brew tap wix/brew
441449
brew install applesimutils
450+
- name: Check available runtimes
451+
run: xcrun simctl list runtimes
452+
- name: Check avialble device types
453+
run: xcrun simctl list devicetypes
454+
# - name: Create iOS 16.0 simulator for iPhone 14
455+
# run: xcrun simctl create "iPhone 14" com.apple.CoreSimulator.SimDeviceType.iPhone-14 com.apple.CoreSimulator.SimRuntime.iOS-16-0
456+
- name: List supported iOS devices
457+
run: applesimutils --list
442458
- name: "Run tests"
443459
run: yarn workspaces foreach ${{ needs.scope.outputs.scope }} run test:e2e:ios
444460
- name: "Archive runtime logs"

configs/e2e/mendix-versions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"latest": "10.5.0.21627",
2+
"latest": "10.6.0.23895",
33
"8": "8.18.23.62193"
44
}

detox/detox.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const ANDROID_SDK_VERSION = "30"; // Set to 30 because: https://github.com/wix/Detox/issues/3071
22
const ANDROID_DEVICE_TYPE = "pixel";
3-
const IOS_SDK_VERSION = "16.2";
3+
const IOS_SDK_VERSION = "16.0";
44
const IOS_DEVICE_TYPE = "iPhone 14";
55

66
module.exports = {

detox/src/helpers.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ async function setDemoMode(): Promise<void> {
4545
if (device.getPlatform() === "ios") {
4646
const type = device.name.substring(device.name.indexOf("(") + 1, device.name.lastIndexOf(")"));
4747
execSync(
48-
`xcrun simctl status_bar "${type}" override --time "12:00" --batteryState charged --batteryLevel 100 --wifiBars 3 --cellularMode active --cellularBars 4`
48+
`xcrun simctl status_bar "${type}" override --time "12:00" --batteryState charged --batteryLevel 100 --wifiBars 3`
4949
);
5050
} else {
5151
const id = device.id;

packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.2/iPhone/Accordion should allow custom items as group headers 1.png renamed to packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.0/iPhone/Accordion should allow custom items as group headers 1.png

File renamed without changes.

packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.2/iPhone/Accordion should allow custom items as group headers 1.png.png renamed to packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.0/iPhone/Accordion should allow custom items as group headers 1.png.png

File renamed without changes.

packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.2/iPhone/Accordion should render custom icons correctly 1.png renamed to packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.0/iPhone/Accordion should render custom icons correctly 1.png

File renamed without changes.

packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.2/iPhone/Accordion should render custom icons correctly.png renamed to packages/pluggableWidgets/accordion-native/e2e/images/expected/ios/16.0/iPhone/Accordion should render custom icons correctly.png

File renamed without changes.

packages/pluggableWidgets/background-gradient-native/e2e/images/expected/ios/16.2/iPhone/Background Gradient should render more than one color 1.png renamed to packages/pluggableWidgets/background-gradient-native/e2e/images/expected/ios/16.0/iPhone/Background Gradient should render more than one color 1.png

File renamed without changes.

packages/pluggableWidgets/background-gradient-native/e2e/images/expected/ios/16.2/iPhone/Background Gradient should render one color 1.png renamed to packages/pluggableWidgets/background-gradient-native/e2e/images/expected/ios/16.0/iPhone/Background Gradient should render one color 1.png

File renamed without changes.

0 commit comments

Comments
 (0)