コード例 #1
0
        public void CreatingATimeEntryWithASingleTagWorks()
        {
            const string description = "Working from home ";

            app.EnterText(description);

            const string tag = "Tests";

            app.AddTagInStartView(tag);

            app.Tap(StartTimeEntry.DoneButton);
            app.Tap(Main.StopTimeEntryButton);

            //Open the edit view
            app.OpenEditView();

            //Open the tags view. We need to tap it twice because of the onboarding tooltip
            app.WaitForElement(EditTimeEntry.EditTags);
            app.Tap(EditTimeEntry.EditTags);
            app.Tap(EditTimeEntry.EditTags);

            app.WaitForElement(tag);
        }