public override void TestSetup()
        {
            base.TestSetup();

            MultipleEntryPage       = new MultipleEntryPage(App);
            OptionSelectionPage     = new OptionSelectionPage(App);
            PickEntryReturnTypePage = new PickEntryReturnTypePage(App);
        }
Exemplo n.º 2
0
        public void VerifyKeyboardReturnType(ReturnType returnType, CustomEntryType customEntryType)
        {
            //Arrange
            var expectedCustomizableEntryPlaceholder = returnType.ToString();

            //Act
            OptionSelectionPage.SetEntryPickerType(customEntryType);
            OptionSelectionPage.TapOpenSelectEntryPageButton();

            PickEntryReturnTypePage.SelectReturnTypeFromPicker(returnType);

            //Assert
            var retrievedCustomizableEntryPlaceholder = PickEntryReturnTypePage.CustomizableEntryPlaceholder;

            Assert.AreEqual(expectedCustomizableEntryPlaceholder, retrievedCustomizableEntryPlaceholder);
        }
Exemplo n.º 3
0
        public void EnterTextIntoMultipleEntriesUsingReturnButton(CustomEntryType customEntryType)
        {
            //Arrange
            const string enteredText = "Hello World";
            string       expectedLabelTextStringBuilder = GetExpectedLabelText(enteredText, MultipleEntryPageConstants.GoReturnTypeCommandParameterString);

            //Act
            OptionSelectionPage.SetEntryPickerType(customEntryType);
            OptionSelectionPage.TapOpenMultipleEntryPageButton();

            MultipleEntryPage.EnterTextIntoAllEntrysUsingReturnButton(enteredText);

            //Assert
            var retrievedLabelText = MultipleEntryPage.ResultsLabelText;

            Assert.AreEqual(expectedLabelTextStringBuilder, retrievedLabelText);
        }
Exemplo n.º 4
0
        public override void TestSetup()
        {
            base.TestSetup();

            OptionSelectionPage.WaitForPageToLoad();
        }