mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-07 00:04:36 -04:00
Tests: Pending payment
This commit is contained in:
parent
73581740df
commit
8b569f3f5a
@ -53,4 +53,20 @@ class BankTransferTest extends DuskTestCase
|
|||||||
->assertSee('Completed');
|
->assertSee('Completed');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function testPendingPayment(): void
|
||||||
|
{
|
||||||
|
$this->browse(function (Browser $browser) {
|
||||||
|
$browser
|
||||||
|
->visitRoute('client.invoices.index')
|
||||||
|
->click('@pay-now')
|
||||||
|
->press('Pay Now')
|
||||||
|
->clickLink('Bank Transfer')
|
||||||
|
->waitForText('Test profile')
|
||||||
|
->radio('final_state', 'open')
|
||||||
|
->press('Continue')
|
||||||
|
->waitForText('Details of the payment')
|
||||||
|
->assertSee('Pending');
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user