From 05be7ff1d47b9c2272c8fb0c470a20b00aa891b1 Mon Sep 17 00:00:00 2001 From: lynamemi Date: Tue, 13 Feb 2018 11:16:50 -0800 Subject: [PATCH 1/2] No default selected, click to select added --- apps/vr-tests/src/stories/ChoiceGroup.stories.tsx | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx b/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx index dc4609f217909e..f17e12e0a84a13 100644 --- a/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx +++ b/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx @@ -29,9 +29,12 @@ storiesOf('ChoiceGroup', module) steps={ new Screener.Steps() .snapshot('default', { cropTo: '.testWrapper' }) .hover('div.ms-ChoiceField:nth-of-type(1)') - .snapshot('hover selected', { cropTo: '.testWrapper' }) - .hover('div.ms-ChoiceField:nth-of-type(2)') .snapshot('hover unselected', { cropTo: '.testWrapper' }) + .click('div.ms-ChoiceField:nth-of-type(1)') + .snapshot('selected', { cropTo: '.testWrapper' }) + .click('div.ms-ChoiceField:nth-of-type(1)') + .hover('div.ms-ChoiceField:nth-of-type(1)') + .snapshot('hover selected', { cropTo: '.testWrapper' }) .end() } > @@ -40,14 +43,12 @@ storiesOf('ChoiceGroup', module) )) .add('Root', () => ( )) .add('Required', () => ( ( ( Date: Tue, 13 Feb 2018 12:21:45 -0800 Subject: [PATCH 2/2] Removed leftover defaultSelectedKey --- apps/vr-tests/src/stories/ChoiceGroup.stories.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx b/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx index f17e12e0a84a13..21fa7b976c8344 100644 --- a/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx +++ b/apps/vr-tests/src/stories/ChoiceGroup.stories.tsx @@ -80,7 +80,6 @@ storiesOf('ChoiceGroup', module) .add('With default size images', () => (