'Scenario: User can toggle a single note by clicking on the note.
Given I have a course with components with notes
When I click on the note
And I move mouse out of the note
Then I see that the note is still shown
When I click outside the note
Then I see the the note is closed'

def test_can_toggle_by_clicking_on_the_note(self):

    note = self.note_unit_page.notes[0]
    note.show().click_on_viewer()
    self.note_unit_page.move_mouse_to('body')
    self.assertTrue(note.is_visible)
    self.note_unit_page.click('body')
    self.assertFalse(note.is_visible)
