test: adds test to check if adding a new company or people works (#1714)

* test: adds test to check if adding a new company or people works

* test: improves people/add and companies/add tests

* style: cleanup

* style: cleanup
This commit is contained in:
Ronit Panda
2023-09-28 14:47:25 +05:30
committed by GitHub
parent cbadcba188
commit 2dbce935ba
5 changed files with 139 additions and 1 deletions

View File

@ -8,10 +8,11 @@ type OwnProps = {
export const PageAddButton = ({ onClick }: OwnProps) => (
<IconButton
Icon={IconPlus}
dataTestId="add-button"
size="medium"
variant="secondary"
data-testid="add-button"
accent="default"
onClick={onClick}
ariaLabel="Add"
/>
);