mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-09 09:20:54 +00:00
Fix review comment and QMS tests
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
This commit is contained in:
parent
481924d822
commit
11ab73bdf8
@ -198,13 +198,13 @@
|
||||
{/if}
|
||||
</svelte:fragment>
|
||||
<svelte:fragment slot="category" let:item>
|
||||
{#if created.length > 0 && created.find((it) => it._id === item._id) !== undefined}
|
||||
{#if created.length > 0 && created.includes(item._id)}
|
||||
<div class="menu-group__header">
|
||||
<span class="overflow-label">
|
||||
<Label label={presentation.string.Created} />
|
||||
</span>
|
||||
</div>
|
||||
{:else if selectedObjects.length > 0 && selectedObjects.find((it) => it === item._id) !== undefined}
|
||||
{:else if selectedObjects.length > 0 && selectedObjects.includes(item._id)}
|
||||
<div class="menu-group__header">
|
||||
<span class="overflow-label">
|
||||
<Label label={presentation.string.Selected} />
|
||||
|
@ -6,7 +6,7 @@ export class CommonPage {
|
||||
const searchWord = fullWordSearch ? name : name.split(' ')[0]
|
||||
await page.locator('div.selectPopup input').fill(searchWord)
|
||||
}
|
||||
await page.locator('div.selectPopup div.list-item:first-child').click({ delay: 100 })
|
||||
await page.locator('div.selectPopup div.list-item', { hasText: name }).click({ delay: 100 })
|
||||
}
|
||||
|
||||
async selectListItem (page: Page, name: string): Promise<void> {
|
||||
|
Loading…
Reference in New Issue
Block a user