diff --git a/.nvmrc b/.nvmrc index 53d838af21..9de2256827 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -lts/gallium +lts/iron diff --git a/detox/test/e2e/30.custom-keyboard.test.js b/detox/test/e2e/30.custom-keyboard.test.js index 6e902c60ec..5eea6ab766 100644 --- a/detox/test/e2e/30.custom-keyboard.test.js +++ b/detox/test/e2e/30.custom-keyboard.test.js @@ -3,7 +3,7 @@ describe(':ios: Custom Keyboard', () => { await device.reloadReactNative(); await element(by.text('Custom Keyboard')).tap(); }); - + afterEach(async () => { await element(by.id('closeButton')).tap(); }); @@ -17,6 +17,6 @@ describe(':ios: Custom Keyboard', () => { it('should obscure elements at bottom of screen when visible', async () => { await expect(element(by.text('Obscured by keyboard'))).toBeVisible(); await element(by.id('textWithCustomInput')).tap(); - await expect(element(by.text('Obscured by keyboard'))).toBeNotVisible(); + await expect(element(by.text('Obscured by keyboard'))).not.toBeVisible(); }); }); diff --git a/detox/test/e2e/assets/elementScreenshot.ios.horiz.png b/detox/test/e2e/assets/elementScreenshot.ios.horiz.png index 79874aa34f..eafb96ec81 100644 Binary files a/detox/test/e2e/assets/elementScreenshot.ios.horiz.png and b/detox/test/e2e/assets/elementScreenshot.ios.horiz.png differ diff --git a/detox/test/e2e/assets/elementScreenshot.ios.vert.png b/detox/test/e2e/assets/elementScreenshot.ios.vert.png index caeacd1029..8631a33989 100644 Binary files a/detox/test/e2e/assets/elementScreenshot.ios.vert.png and b/detox/test/e2e/assets/elementScreenshot.ios.vert.png differ diff --git a/detox/test/e2e/detox.config.js b/detox/test/e2e/detox.config.js index 84a2a367b0..0ace016154 100644 --- a/detox/test/e2e/detox.config.js +++ b/detox/test/e2e/detox.config.js @@ -99,7 +99,7 @@ const config = { type: 'ios.simulator', headless: Boolean(process.env.CI), device: { - type: 'iPhone 12 Pro Max', + type: 'iPhone 14 Pro Max', }, }, diff --git a/detox/test/src/Screens/VisibilityExpectationScreen.js b/detox/test/src/Screens/VisibilityExpectationScreen.js index 4eec0a33ba..a767f10da4 100644 --- a/detox/test/src/Screens/VisibilityExpectationScreen.js +++ b/detox/test/src/Screens/VisibilityExpectationScreen.js @@ -26,10 +26,7 @@ export default class VisibilityExpectationScreen extends Component { Half Visible Element Element should be only half-visible. - - Half Visible Element - - + Move Element Button Element should be 1/4 visible after button is pressed.