From 28c80d2e42bf88276975a40d417e5514bc869e81 Mon Sep 17 00:00:00 2001 From: Henning Hall Date: Fri, 19 Apr 2024 11:24:41 +0200 Subject: [PATCH] rm --- examples/detox/e2e/tests/mode.spec.js | 47 --------------------------- 1 file changed, 47 deletions(-) delete mode 100644 examples/detox/e2e/tests/mode.spec.js diff --git a/examples/detox/e2e/tests/mode.spec.js b/examples/detox/e2e/tests/mode.spec.js deleted file mode 100644 index 45194f7d..00000000 --- a/examples/detox/e2e/tests/mode.spec.js +++ /dev/null @@ -1,47 +0,0 @@ -const { setMode } = require('../utils') - -describe('Modes', () => { - before(async () => { - await device.reloadReactNative() - await element(by.text('Advanced')).tap() - }) - - it('datetime', async () => { - await setMode('datetime') - - await expect(element(by.id('day'))).toBeVisible() - await expect(element(by.id('minutes'))).toBeVisible() - await expect(element(by.id('hour'))).toBeVisible() - await expect(element(by.id('ampm'))).toBeVisible() - - await expect(element(by.id('month'))).toNotExist() - await expect(element(by.id('date'))).toNotExist() - await expect(element(by.id('year'))).toNotExist() - }) - - it('date', async () => { - await setMode('date') - - await expect(element(by.id('month'))).toBeVisible() - await expect(element(by.id('date'))).toBeVisible() - await expect(element(by.id('year'))).toBeVisible() - - await expect(element(by.id('day'))).toNotExist() - await expect(element(by.id('minutes'))).toNotExist() - await expect(element(by.id('hour'))).toNotExist() - await expect(element(by.id('ampm'))).toNotExist() - }) - - it('time', async () => { - await setMode('time') - - await expect(element(by.id('minutes'))).toBeVisible() - await expect(element(by.id('hour'))).toBeVisible() - await expect(element(by.id('ampm'))).toBeVisible() - - await expect(element(by.id('day'))).toNotExist() - await expect(element(by.id('month'))).toNotExist() - await expect(element(by.id('date'))).toNotExist() - await expect(element(by.id('year'))).toNotExist() - }) -})