14 lines
1.1 KiB
JavaScript
14 lines
1.1 KiB
JavaScript
|
describe('Client credit insurance path', () => {
|
||
|
it('should open the create a new credit contract form', async() => {
|
||
|
it('should create a new credit contract', async() => {
|
||
|
it(`should verify the addNewContract button is not present since there's an active contract`, async() => {
|
||
|
it(`should click the view credits button`, async() => {
|
||
|
it('should click the add new credit button which opens the new credit form', async() => {
|
||
|
it('should fill the form but provide no grade to the new credit hence fail', async() => {
|
||
|
it('should provide a correct grade and succesfully save a new credit', async() => {
|
||
|
it('should be redirected to the credit index', async() => {
|
||
|
it('should check the amount of credits is the expected', async() => {
|
||
|
it('should navigate to the credit insurance section', async() => {
|
||
|
it('should bring the current contract to an end', async() => {
|
||
|
it(`should verify the addNewContract button is now present since there's no active contract`, async() => {
|
||
|
it(`should verify the endCurrentContract button is not present since there's no active contract`, async() => {
|