Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nirgur committed Jul 22, 2024
1 parent 71e53aa commit 44e773a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,8 @@ test.describe('widget', () => {
});
});

await page.waitForTimeout(STATE_TIMEOUT);

const searchInput = page
.getByTestId('search-input')
.locator('input')
Expand All @@ -683,7 +685,7 @@ test.describe('widget', () => {
// only search results shown in grid
await expect(
page.locator(`text=${mockUsers[0]['loginIds'][0]}`).first(),
).toBeHidden({ timeout: 15000 });
).toBeHidden({ timeout: 20000 });
});

test('close notification', async ({ page }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,4 @@ export const getCanResetPassword = createSelector(
(isSingleUser, isUsersEditable) => isSingleUser && isUsersEditable,
);

export const getCanDelete = createSelector(
getIsUsersSelected,
(isUsersSelected) => isUsersSelected,
);
export const getCanDelete = getIsUsersSelected;

0 comments on commit 44e773a

Please sign in to comment.