示例#1
0
        public void AddNewTextNodeWithText()
        {
            EvernoteMainPage        MP      = new EvernoteMainPage(driver);
            EvernoteAddNoteTypeList list    = MP.AddTextNote();
            EvernoteNewNotePage     newNote = list.SelectTextNote();

            newNote.WriteNoteText("test");
            newNote.SaveButtonClick();
            Assert.IsTrue(newNote.EditSkittleButton.Displayed);
        }
示例#2
0
        public void AddNewTextNodeAndDeleteIt()
        {
            EvernoteMainPage        MP      = new EvernoteMainPage(driver);
            EvernoteAddNoteTypeList list    = MP.AddTextNote();
            EvernoteNewNotePage     newNote = list.SelectTextNote();

            newNote.WriteNoteText("test");
            newNote.SaveButtonClick();
            MP = newNote.DeleteSavedNote();
            Assert.IsTrue(MP.NoteListView.Displayed);
        }