[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
[Step(1, "Click Run TC")]
[Step(2, "Click 'Push' button")]
- [Step(3, "Click navi back button")]
+ [Step(3, "Click navi back button. (You should press hw back button on FHub due to product UX.)")]
[Step(4, "The test result will show automatically.")]
[Postcondition(1, "NA")]
public async Task OnInvalidate_Check()
item.Popped += OnConfirm;
};
+ _navi.BackButtonPressed += (s, e) =>
+ {\r
+ _navi.Pop();\r
+ };
+
_navi.Show();
_testPage.ExecuteTCByPage(_navi);
await ManualTest.WaitForConfirm();
+ _navi.BackButtonPressed -= (s, e) => { };
var niviframe = _testPage.getNavigationPage();
if (niviframe != null)
niviframe.Pop();
[Property("AUTHOR", "Jeonghyun Yun, jh0506.yun@samsung.com")]
[Step(1, "Click Run TC")]
[Step(2, "Click 'Push' button")]
- [Step(3, "Click navi back button")]
+ [Step(3, "Click navi back button. (You should press hw back button on FHub due to product UX.)")]
[Step(4, "The test result will show automatically.")]
[Postcondition(1, "NA")]
public async Task OnInvalidate_Check()
item.Popped += OnConfirm;
};
+ _navi.BackButtonPressed += (s, e) =>
+ {\r
+ _navi.Pop();\r
+ };
+
_navi.Show();
_testPage.ExecuteTCByPage(_navi);
await ManualTest.WaitForConfirm();
+ _navi.BackButtonPressed -= (s, e) => { };
var niviframe = _testPage.getNavigationPage();
if (niviframe != null)
niviframe.Pop();
[Property("AUTHOR", "Li Hongqing, hongqing.li@samsung.com")]
[Precondition(1, "This test will be automatically passed on TV and Wearable. (Due to limitation on profiles)")]
[Step(1, "Click run TC")]
- [Step(2, "Click navi back button")]
+ [Step(2, "Click navi back button. (You should press hw back button on FHub due to product UX.)")]
[Step(3, "The test result(pass) will show")]
[Postcondition(1, "NA")]
public async Task Popped_Check()
{
Geometry = new Rect(0, 0, 30, 30)
};
- navi.Push(rect1, "First Page");
- Rectangle rect2 = new Rectangle(_window)
- {
- Geometry = new Rect(0, 0, 30, 30)
- };
- navi.Push(rect2, "Second Page");
+ navi.Push(rect1, "First Page");\r
+\r
+ navi.BackButtonPressed += (s, e) =>
+ {\r
+ navi.Pop();\r
+ };\r
+\r
navi.Show();
- _testPage.ExecuteTC(navi);
+ _testPage.ExecuteTCByPage(navi);
await ManualTest.WaitForConfirm();
navi.Popped -= (s, e) => { };
+ navi.BackButtonPressed -= (s, e) => { };
navi.Hide();
navi = null;
rect1 = null;
- rect2 = null;
}
else
{
};
navi.Show();
- _testPage.ExecuteTC(navi);
+ _testPage.ExecuteTCByPage(navi);
await ManualTest.WaitForConfirm();
navi.AnimationFinished -= (s, e) => { };
navi.Unrealize();
navi = null;
_btn = null;
rect1 = null;
+ var niviframe = _testPage.getNavigationPage();\r
+ if (niviframe != null)\r
+ niviframe.Pop();
}
}
}
\ No newline at end of file