'Simple test to verify that certain steps cannot be skipped. This test sets up
a scenario where the user should be on the MAKE_PAYMENT_STEP, but is trying to
skip it. Despite setting the parameter, the current step should still be
MAKE_PAYMENT_STEP.'

@ddt.data('verify_student_start_flow', 'verify_student_begin_flow')
def test_payment_cannot_skip(self, payment_flow):

    course = self._create_course('verified')
    response = self._get_page(payment_flow, course.id, skip_first_step=True)
    self._assert_messaging(response, PayAndVerifyView.FIRST_TIME_VERIFY_MSG)
    self.assert_no_xss(response, '<script>alert("XSS")</script>')
    self._assert_steps_displayed(response, (PayAndVerifyView.PAYMENT_STEPS + PayAndVerifyView.VERIFICATION_STEPS), PayAndVerifyView.MAKE_PAYMENT_STEP)
