Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run detox on iPhone 14 Pro Max #7774

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions e2e/SideMenu.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ describe.e2e('SideMenu', () => {

it(':ios: rotation should update drawer height', async () => {
await elementById(TestIDs.OPEN_LEFT_SIDE_MENU_BTN).tap();
await expect(elementByLabel('left drawer height: 869')).toBeVisible();
await expect(elementByLabel('left drawer height: 863')).toBeVisible();
await device.setOrientation('landscape');
await expect(elementByLabel('left drawer height: 428')).toBeVisible();
await expect(elementByLabel('left drawer height: 430')).toBeVisible();
await device.setOrientation('portrait');
await expect(elementByLabel('left drawer height: 869')).toBeVisible();
await expect(elementByLabel('left drawer height: 863')).toBeVisible();
});

it('should set left drawer width', async () => {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
"@typescript-eslint/parser": "4.33.0",
"babel-jest": "^27.0.0",
"clang-format": "^1.4.0",
"detox": "20.9.0",
"detox": "20.11.5-smoke.0",
"detox-testing-library-rnn-adapter": "^2.0.3",
"eslint": "7.32.0",
"eslint-config-prettier": "6.11.0",
Expand Down Expand Up @@ -156,7 +156,7 @@
"simulator": {
"type": "ios.simulator",
"device": {
"type": "iPhone 13 Pro Max"
"type": "iPhone 14 Pro Max"
}
},
"genymotion.emulator.name": {
Expand Down Expand Up @@ -228,4 +228,4 @@
}
}
}
}
}