'Scenario: Ensure that the navigation buttons aren\'t active when there aren\'t enough XBlocks.
Given that I have a library in Studio with no XBlocks
The Navigation buttons should be disabled.
When I add a multiple choice problem
The Navigation buttons should be disabled.'

@data('top', 'bottom')
def test_nav_present_but_disabled(self, position):

    self.assertEqual(len(self.lib_page.xblocks), 0)
    self.assertTrue(self.lib_page.nav_disabled(position))
    add_component(self.lib_page, 'problem', 'Multiple    Choice')
    self.assertTrue(self.lib_page.nav_disabled(position))
