Пример #1
0
        public void TranslatingViewKeepsScrollViewPosition()
        {
            RunningApp.WaitForElement(_failedText);
            RunningApp.Tap(_button1);
            RunningApp.Tap(_button2);
#if WINDOWS
            var label = RunningApp.WaitForElement(_failedText);
            Assert.AreEqual(0, label[0].Rect.Height);
            Assert.AreEqual(0, label[0].Rect.Width);
#else
            var result = RunningApp.QueryUntilNotPresent(() => RunningApp.Query(_failedText));
#endif
        }