NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

it('renders without crashing', () => {
const div = document.createElement('div');
ReactDOM.render(<App />, div);
});

//new DDI Creation Tests
describe('adding the DDI page',()=>{
describe('should execute on load', () => {
it.skip("5 cells for the header part",fail);
it.skip("show the correct labels for the header cells",fail);
it.skip("should show the generated reference number,fail");
it.skip('check the initial values of batchname,creditaccount,totamount,directdebits',fail);
it.skip('check the batch name input type as text',fail);
it.skip('check the credit account has input type as autocomplete box',fail);

describe.skip('the autocomplete box has', () => {
it.skip('favorite selection icon',fail);
it.skip('the corresponding values loaded',fail);

it.skip('has 6 values in the given format',fail);

it.skip('favorites values are passed correctly',fail);
});
it.skip('add new DDI button is present with correct label',fail);


it.skip('7 columns are loaded in the table with correct values', () => {

});

});

describe.skip('check the functionalities are working',()=>{
it.skip('on change of value in credit account box',fail);
it.skip('on clicking the toggle icon should toggle the checkboxes',fail);
it.skip('on click the toggle icon should show the checkboxes against each row',fail);
it.skip('DDI reference sorting inside the filter ',fail);
it.skip('on clicking the toggle icon should toggle the checkboxes',fail);

it.skip('for sorting the directdebit reference column',fail);


it.skip('for the filtering and sorting the correct values in the table',fail);


it.skip('on click the status icon should load correct values',fail);


it.skip('check the search is working correctly based on the configuration',fail);

it.skip('on clicking the selectall button check all the checkboxes',fail);

it.skip('on clicking the checkboxes check the correct count is shown in the near the toggle icon',fail);
})
})

//new Mandate Creation Tests
describe.skip('when creating a new Mandate', () => {
//story SD-22809
it.skip('check 4 cells are created in the header',fail);
it.skip('check the batch reference is mapped with the correct generated value',fail);
it.skip('check the batch name has binded with the value entered in the batch name input box on tab out',fail);
it.skip('check the credit name has binded with the value selected in the credit name autocomplete box on tab out',fail);
it.skip('autocompute the number of mandates based on the addition/deletion of the mandate transactions',fail);
it.skip('check the header details generated are based on the user changes in the new mandate form',fail);
it.skip('View mode should show the details of the available mandates in the header',fail);
it.skip('Edit mode should show the details of the earlier mandates in the header',fail);
//SD-22810
describe.skip('check the batch name',()=>{
it.skip('field has input of type text',fail);
it.skip('default value is same a batch reference value',fail);
it.skip('field exists with a value',fail);
it.skip('allowed values must be uppercase,lowercase,special characters,numbers',fail);

});

//SD-21872
describe.skip('check the credit account field', () => {
it.skip('has loaded the returned values on page loading',fail);
it.skip('has dropdown values loaded in Credit ID-Account-Currency-Creditor Name-Bank Code-Location format',fail);
it.skip('autocomplete values are displayed in the correct given format',fail);
it.skip('on changing the value matches with the given set of values based on the given order',fail);
it.skip('has the favorite icon added for each dropdown values',fail);
it.skip('on clicking favorite icon if it is non-favorite account change to favorite credit account',fail);
it.skip('on clicking favorite icon if it is favorite account change to non-favorite',fail);
it.skip('on changing the credit account must show a warning GRM message "Change of Credit Account may Change some data which is already entered".',fail);
});


describe.skip('check the User Identification', () => {
it.skip('field has input of type text',fail);
it.skip('value is based on a specific country',fail);
it.skip('validate the field when clicking the add new mandate button',fail);
});

describe.skip('Add New Mandate button', () => {
it.skip('disable if the given mandatory fields are empty',fail);
it.skip('enable if the validation for all mandatory fields are filled with values',fail);
it.skip('display Validation message if a mandatory fields are empty with "Mandatory fields are missing to proceed"',fail);
//For this test cases will be based on SD-22812
it.skip('on clicking check the validations are passed and redirect to new mandate page',fail);
});

//story SD-22811
describe.skip('check the upload field',()=>{

it.skip('contains the upload button',fail);
it.skip('the allowed extension files to upload are in .ZIP, .PDF, .JPEG, .JPG, .GIF, .PNG, .TIFF, .TIF format',fail);
it.skip('able to select multiple files to upload in a single browse click',fail);
it.skip('after selecting the files the uploaded files are shown in the progessive manner with a progess bar ',fail);
it.skip('verify the uploaded file is readable and with the allowed extensions',fail);
it.skip('make the count of total number of completed files and the pending files to upload',fail);
it.skip('file has the extension other than allowed formats or the file which is unable to read needs to display the error message for upload fail',fail);
it.skip('display the file names in a overlay link for the cause of failure and remove from the thumbanail view',fail);
it.skip('are scanned using a antivirus to check for infection',fail);
it.skip('discard the files from upload if it gets infected and show in the display for reason of ignoring',fail);
it.skip('successfully uploaded files need to be displayed in the thumbnail view',fail);
it.skip('automatch the files in the thumbnail view with already existing files in the mandate based on the customer configuration',fail);
it.skip('show the count of the automatched files to the mandates',fail);
it.skip('move the files from thumbnail view to respective MAndate files if it matches wth any Mandate batch',fail);
it.skip('refresh the image count in the Mandate row if file gets added to that mandate from thumbnail',fail);
it.skip('count of images attached to each Mandate Row does not exceed is five(5)',fail);
it.skip('display the overlay to view the uploaded files',fail);
//SD-22820
describe('on clicking the images in preview open overlay',()=>{
it.skip('show the enlarged image of the content',fail);
it.skip('show the name of the image',fail);
it.skip('dropdown to select the mandate from the available list of mandates to link the image',fail);
it.skip('a list of dropdown contain values in mandate Reference + Payer Name + Payer Account + Payer Bank format',fail);
it.skip('delete button to remve the image from the batch preview tray',fail);
it.skip('image thumbnail should have back button to view next images in the preview tray',fail);
it.skip('image thumbnail should have forward button to view next images in the preview tray',fail);
it.skip('link tag to match the mandate with the image file',fail);
it.skip('move the image to preview tray if unlink is clicked inside the overlay',fail);
it.skip('link the image if it belongs to same batch',fail);
it.skip('show the non matched images in the preview tray which are unlinked',fail);
it.skip('maximum number of mandate files will be "n" based on the country configuration',fail);
it.skip('display the popup for confirmation when deleting the image file',fail);
})
it.skip('show the initial count of the files present in the preview tray',fail);
it.skip('update the count of the files when drag and drop to a mandate mapped to initial count',fail);
it.skip('uploaded document should automatch with the availbale mandates files and gets dropped to that mandate if matched',fail);
it.skip('disappear the images from the tray when drag and dropped to mandate',fail);
it.skip('show the count of the tray files after drag and drop to a mandate',fail);
it.skip('add icon that show the previous sebsequent images in the preview tray',fail);
it.skip('add icon that show the next sebsequent images in the preview tray',fail);
it.skip('add the cross mark on the each preview tray images to delete',fail);
it.skip('remove the image from the tray on clicking the delete icon',fail);
it.skip('remove all images in the tray on clicking the remove all button',fail);
it.skip('automatch the images in the tray to the mandate on clicking the Link attachment button',fail);
it.skip('extract the images from the uploaded zip file',fail);
it.skip('show the preview of the images uploaded through a zip file in the preview tray',fail);

describe.skip('on clicking the submit button',()=>{
it.skip('should discard al the unlinked images in the preview tray',fail);
it.skip('text for discard confirmation is "All images which are not linked to DDA will be discarded"',fail);
})
describe.skip('on clicking the cancel button',()=>{
it.skip('should show the warning message with the batch name on confirmation box with yes/no',()=>{
describe.skip('if user clicks yes on confirmation',()=>{
it.skip('should not validate any New/Updated information provided',fail);
it.skip('should discard all new/Updated information provided',fail);
it.skip('close the current screen and redirect to dashboard screen or manage screen',fail);
})
describe.skip('if user clicks No on confirmation',()=>{
it.skip('close the dialog box asking for confirmation',fail);
it.skip('enable the user to continue the ongoing task',fail);
})
});

it.skip('text for discard confirmation is "All images which are not linked to DDA will be discarded"',fail);
})

})
});
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.