From 6553486c89003524828b8bf47d6a79ab7afcd2d9 Mon Sep 17 00:00:00 2001 From: Rotem M Date: Mon, 14 Aug 2017 22:21:08 +0300 Subject: [PATCH] fixed typo --- detox/test/e2e/d-assertions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/detox/test/e2e/d-assertions.js b/detox/test/e2e/d-assertions.js index 93926712bf..cfb7617011 100644 --- a/detox/test/e2e/d-assertions.js +++ b/detox/test/e2e/d-assertions.js @@ -29,17 +29,17 @@ describe('Assertions', () => { await expect(element(by.id('UniqueId204'))).toHaveText('I contain some text'); }); - // matches by accesibility label, this might not be the specific displayed text but is much more generic - it('should assert an element has (accesibility) label', async () => { + // matches by accessibility label, this might not be the specific displayed text but is much more generic + it('should assert an element has (accessibility) label', async () => { await expect(element(by.id('UniqueId204'))).toHaveLabel('I contain some text'); }); - it('should assert an element has (accesibility) id', async () => { + it('should assert an element has (accessibility) id', async () => { await expect(element(by.label('I contain some text'))).toHaveId('UniqueId204'); }); // for example, the value of a UISwitch in the "on" state is "1" - it(':ios: should assert an element has (accesibility) value', async () => { + it(':ios: should assert an element has (accessibility) value', async () => { await expect(element(by.id('UniqueId146'))).toHaveValue('0'); await element(by.id('UniqueId146')).tap(); await expect(element(by.id('UniqueId146'))).toHaveValue('1');