mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-17 12:57:42 +08:00
fix: e2e test that should have never passed in first place
This commit is contained in:
@ -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">
|
||||||
|
Reference in New Issue
Block a user