import ecore.tests
@ecore.tests.common.at_install(False)
@ecore.tests.common.post_install(True)
class TestWebsiteFormEditor(ecore.tests.HttpCase):
    def test_tour(self):
        self.phantom_js("/", "ecore.__DEBUG__.services['web.Tour'].run('website_form_editor_tour', 'test')", "ecore.__DEBUG__.services['web.Tour'].tours.website_form_editor_tour", login="admin")
        self.phantom_js("/", "ecore.__DEBUG__.services['web.Tour'].run('website_form_editor_tour_submit', 'test')", "ecore.__DEBUG__.services['web.Tour'].tours.website_form_editor_tour_submit")
        self.phantom_js("/", "ecore.__DEBUG__.services['web.Tour'].run('website_form_editor_tour_results', 'test')", "ecore.__DEBUG__.services['web.Tour'].tours.website_form_editor_tour_results", login="admin")
