def test01_create_new_repeating_invoice(self): """ Create a new repeating invoice """ loginPage = LoginPage(self.driver) loginPage.hard_coded_login() repeatingInvoicePage = RepeatingInvoicePage(self.driver) repeatingInvoicePage.create_new_invoice() newInvoicePage = CreateRepeatingInvoicePage(self.driver) newInvoicePage.fill_out_new_invoice() newInvoicePage.submit_invoice() if not repeatingInvoicePage.new_invoice_created(): assert False