Fix tests
This commit is contained in:
@ -13,7 +13,7 @@ export function PipelineAddButton() {
|
|||||||
const { enqueueSnackBar } = useSnackBar();
|
const { enqueueSnackBar } = useSnackBar();
|
||||||
|
|
||||||
const { closeDropdownButton, toggleDropdownButton } = useDropdownButton({
|
const { closeDropdownButton, toggleDropdownButton } = useDropdownButton({
|
||||||
key: 'add-company-progress',
|
key: 'add-pipeline-progress',
|
||||||
});
|
});
|
||||||
|
|
||||||
const createCompanyProgress = useCreateCompanyProgress();
|
const createCompanyProgress = useCreateCompanyProgress();
|
||||||
|
|||||||
@ -69,6 +69,7 @@ export function Opportunities() {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<PageContainer>
|
<PageContainer>
|
||||||
|
<RecoilScope>
|
||||||
<PageHeader
|
<PageHeader
|
||||||
title="Opportunities"
|
title="Opportunities"
|
||||||
icon={<IconTargetArrow size={theme.icon.size.md} />}
|
icon={<IconTargetArrow size={theme.icon.size.md} />}
|
||||||
@ -91,6 +92,7 @@ export function Opportunities() {
|
|||||||
</RecoilScope>
|
</RecoilScope>
|
||||||
</BoardOptionsContext.Provider>
|
</BoardOptionsContext.Provider>
|
||||||
</PageBody>
|
</PageBody>
|
||||||
|
</RecoilScope>
|
||||||
</PageContainer>
|
</PageContainer>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -41,7 +41,7 @@ export const AddCompanyFromHeader: Story = {
|
|||||||
|
|
||||||
await button.click();
|
await button.click();
|
||||||
|
|
||||||
await canvas.findByText('Algolia');
|
await canvas.findByText('Airbnb');
|
||||||
});
|
});
|
||||||
|
|
||||||
await step('Change pipeline stage', async () => {
|
await step('Change pipeline stage', async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user