'Scenario: Interactions between notes works well.
Given I have a course with components with notes
When I click on highlighted text in the first component
And I move mouse out of the note
Then I see that the note is still shown
When I click on highlighted text in the second component
Then I see that the new note is shown'

def test_interaction_between_notes(self):

    note_1 = self.note_unit_page.notes[0]
    note_2 = self.note_unit_page.notes[1]
    note_1.click_on_highlight()
    self.note_unit_page.move_mouse_to('body')
    self.assertTrue(note_1.is_visible)
    note_2.click_on_highlight()
    self.assertFalse(note_1.is_visible)
    self.assertTrue(note_2.is_visible)
