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:
@ -77,7 +77,7 @@ export const CompanyName: Story = {
|
||||
delay: 200,
|
||||
});
|
||||
|
||||
await sleep(1000);
|
||||
await sleep(500);
|
||||
|
||||
const qontoChip = canvas
|
||||
.getAllByTestId('dropdown-menu-item')
|
||||
|
||||
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user