Add ability to remove profile picture on Profile Settings (#538)

* Add ability to remove profile picture on Profile Settings

* Fix lint

* Fix according to review
This commit is contained in:
Charles Bochet
2023-07-08 10:41:16 -07:00
committed by GitHub
parent e2822ed095
commit 36ace6cc03
22 changed files with 363 additions and 75 deletions

View File

@ -77,7 +77,7 @@ export const CompanyName: Story = {
delay: 200,
});
await sleep(1000);
await sleep(500);
const qontoChip = canvas
.getAllByTestId('dropdown-menu-item')

View File

@ -197,12 +197,14 @@ export const EditRelation: Story = {
let secondRowCompanyCell = await canvas.findByText(
mockedPeopleData[1].company.name,
);
await sleep(25);
await userEvent.click(secondRowCompanyCell);
secondRowCompanyCell = await canvas.findByText(
mockedPeopleData[1].company.name,
);
await sleep(25);
await userEvent.click(secondRowCompanyCell);
@ -240,11 +242,13 @@ export const SelectRelationWithKeys: Story = {
let firstRowCompanyCell = await canvas.findByText(
mockedPeopleData[0].company.name,
);
await sleep(25);
await userEvent.click(firstRowCompanyCell);
firstRowCompanyCell = await canvas.findByText(
mockedPeopleData[0].company.name,
);
await sleep(25);
await userEvent.click(firstRowCompanyCell);
const relationInput = await canvas.findByPlaceholderText('Search');