Skip to content

Commit 1907558

Browse files
committed
[objarr] Extra E2E cases
1 parent bf051c3 commit 1907558

1 file changed

Lines changed: 56 additions & 0 deletions

File tree

test/e2e/demos/ui-components.test.ts

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,34 @@ describe('ui-components', () => {
606606
'boolean',
607607
)
608608
).click();
609+
await expectedFramedElement(
610+
page,
611+
'table:nth-of-type(1) tbody tr:nth-of-type(1) td button',
612+
'object',
613+
);
614+
await expectedFramedElement(page, '#edit button', 'object');
615+
616+
await (
617+
await expectedFramedElement(
618+
page,
619+
'table:nth-of-type(1) tbody tr:nth-of-type(1) td button',
620+
'object',
621+
)
622+
).click();
623+
await expectedFramedElement(
624+
page,
625+
'table:nth-of-type(1) tbody tr:nth-of-type(1) td button',
626+
'array',
627+
);
628+
await expectedFramedElement(page, '#edit button', 'array');
629+
630+
await (
631+
await expectedFramedElement(
632+
page,
633+
'table:nth-of-type(1) tbody tr:nth-of-type(1) td button',
634+
'array',
635+
)
636+
).click();
609637
await expectedFramedElement(
610638
page,
611639
'table:nth-of-type(1) tbody tr:nth-of-type(1) td button',
@@ -692,6 +720,34 @@ describe('ui-components', () => {
692720
'boolean',
693721
)
694722
).click();
723+
await expectedFramedElement(
724+
page,
725+
'table:nth-of-type(1) tbody tr:nth-of-type(5) td button',
726+
'object',
727+
);
728+
await expectedFramedElement(page, '#edit button', 'object');
729+
730+
await (
731+
await expectedFramedElement(
732+
page,
733+
'table:nth-of-type(1) tbody tr:nth-of-type(5) td button',
734+
'object',
735+
)
736+
).click();
737+
await expectedFramedElement(
738+
page,
739+
'table:nth-of-type(1) tbody tr:nth-of-type(5) td button',
740+
'array',
741+
);
742+
await expectedFramedElement(page, '#edit button', 'array');
743+
744+
await (
745+
await expectedFramedElement(
746+
page,
747+
'table:nth-of-type(1) tbody tr:nth-of-type(5) td button',
748+
'array',
749+
)
750+
).click();
695751
await expectedFramedElement(
696752
page,
697753
'table:nth-of-type(1) tbody tr:nth-of-type(5) td button',

0 commit comments

Comments
 (0)