fix: e2e test that should have never passed in first place

This commit is contained in:
Nathan Walker
2025-07-09 22:31:29 -07:00
parent 579a25d583
commit cb9dddeb96

View File

@ -417,10 +417,10 @@ export class SafeAreaTests extends testModule.UITest<any> {
private dock_children_components_in_safe_area(pageOptions?: helper.PageOptions) { private dock_children_components_in_safe_area(pageOptions?: helper.PageOptions) {
const snippet = ` const snippet = `
<DockLayout id="dock" stretchLastChild="true"> <DockLayout id="dock" stretchLastChild="true">
<Label id="childLeft" dock="Left" text="left" backgroundColor="red" /> <Label id="childLeft" dock="left" text="left" backgroundColor="red" />
<Label id="childTop" dock="Top" text="top" backgroundColor="green" /> <Label id="childTop" dock="top" text="top" backgroundColor="green" />
<Label id="childRight" dock="Right" text="right" backgroundColor="blue" /> <Label id="childRight" dock="right" text="right" backgroundColor="blue" />
<Label id="childBottom" dock="Bottom" text="bottom" backgroundColor="yellow" /> <Label id="childBottom" dock="bottom" text="bottom" backgroundColor="yellow" />
<Label id="childFill" text="fill"/> <Label id="childFill" text="fill"/>
</DockLayout> </DockLayout>
`; `;
@ -466,16 +466,16 @@ export class SafeAreaTests extends testModule.UITest<any> {
private dock_nested_layouts_beyond_safe_area(pageOptions?: helper.PageOptions) { private dock_nested_layouts_beyond_safe_area(pageOptions?: helper.PageOptions) {
const snippet = ` const snippet = `
<DockLayout id="dock" stretchLastChild="true"> <DockLayout id="dock" stretchLastChild="true">
<DockLayout id="childLeft" dock="Left" text="left" backgroundColor="red"> <DockLayout id="childLeft" dock="left" text="left" backgroundColor="red">
<Label text="left"/> <Label text="left"/>
</DockLayout> </DockLayout>
<DockLayout id="childTop" dock="Top" text="top" backgroundColor="green"> <DockLayout id="childTop" dock="top" text="top" backgroundColor="green">
<Label text="top" /> <Label text="top" />
</DockLayout> </DockLayout>
<DockLayout id="childRight" dock="Right" text="right" backgroundColor="blue"> <DockLayout id="childRight" dock="right" text="right" backgroundColor="blue">
<Label text="right" /> <Label text="right" />
</DockLayout> </DockLayout>
<DockLayout id="childBottom" dock="Bottom" text="bottom" backgroundColor="yellow"> <DockLayout id="childBottom" dock="bottom" text="bottom" backgroundColor="yellow">
<Label text="bottom" /> <Label text="bottom" />
</DockLayout> </DockLayout>
<DockLayout id="childFill" text="fill"> <DockLayout id="childFill" text="fill">