Skip to content

Commit

Permalink
try stablize callout tests by disable layer (#15934)
Browse files Browse the repository at this point in the history
  • Loading branch information
xugao authored Nov 13, 2020
1 parent 992cf23 commit aa2728e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/vr-tests/src/stories/Callout.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import * as React from 'react';
import Screener from 'screener-storybook/src/screener';
import { storiesOf } from '@storybook/react';
import { FabricDecoratorTall } from '../utilities/index';
import { Callout, DirectionalHint, ICalloutProps } from '@fluentui/react';

const calloutContent = (
Expand All @@ -14,6 +13,10 @@ const calloutContent = (
const defaultProps: ICalloutProps = {
target: '#target',
calloutWidth: 200,

// Layer is causing tests being unstable.
// TODO: investigate and re-enable using Layer.
doNotLayer: true,
};

storiesOf('Callout', module)
Expand All @@ -31,7 +34,6 @@ storiesOf('Callout', module)
{story()}
</div>
))
.addDecorator(FabricDecoratorTall)
.addDecorator(story =>
// prettier-ignore
<Screener
Expand Down

0 comments on commit aa2728e

Please sign in to comment.