|
|
@ -288,8 +288,9 @@ export class CellPageObject extends BasePage { |
|
|
|
for (let i = 0; i < value.length; ++i) { |
|
|
|
for (let i = 0; i < value.length; ++i) { |
|
|
|
await chips.nth(i).locator('.name').waitFor({ state: 'visible' }); |
|
|
|
await chips.nth(i).locator('.name').waitFor({ state: 'visible' }); |
|
|
|
await chips.nth(i).locator('.name').scrollIntoViewIfNeeded(); |
|
|
|
await chips.nth(i).locator('.name').scrollIntoViewIfNeeded(); |
|
|
|
|
|
|
|
await chips.nth(i).locator('.name').waitFor({ state: 'visible' }); |
|
|
|
const chipText = await chips.nth(i).locator('.name').textContent(); |
|
|
|
const chipText = await chips.nth(i).locator('.name').textContent(); |
|
|
|
expect(value.includes(chipText)).toBe(true); |
|
|
|
expect(value).toContain(chipText); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (verifyChildList) { |
|
|
|
if (verifyChildList) { |
|
|
|