Пример #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);
        }