Remove flaky Switch e2e test (#23410)
Summary: 'Switch that starts on should switch' appears to be flaky, as it has failed on seemingly unrelated commits, only to succeed on the next CI run. `Switch` is scheduled to be removed from the core repository anyway, so I'm removing this test to ensure we get a clear signal for the rest of the repository. [GENERAL] [Changed] - Tests: Removed flaky Switch e2e test. Pull Request resolved: https://github.com/facebook/react-native/pull/23410 Differential Revision: D14057068 Pulled By: cpojer fbshipit-source-id: dc7bc74c3d23ec3856107fec4ee9fa388adce2e5
This commit is contained in:
Родитель
da6a26548b
Коммит
05c56edf41
|
@ -37,17 +37,6 @@ describe('Switch', () => {
|
|||
await expect(element(by.id(testID))).toHaveValue('1');
|
||||
await expect(element(by.id(indicatorID))).toHaveText('On');
|
||||
});
|
||||
|
||||
it('Switch that starts on should switch', async () => {
|
||||
const testID = 'on-off-initial-on';
|
||||
const indicatorID = 'on-off-initial-on-indicator';
|
||||
|
||||
await expect(element(by.id(testID))).toHaveValue('1');
|
||||
await expect(element(by.id(indicatorID))).toHaveText('On');
|
||||
await element(by.id(testID)).tap();
|
||||
await expect(element(by.id(testID))).toHaveValue('0');
|
||||
await expect(element(by.id(indicatorID))).toHaveText('Off');
|
||||
});
|
||||
});
|
||||
|
||||
describe('Switches can be disabled', () => {
|
||||
|
|
Загрузка…
Ссылка в новой задаче