Skip to content

A Typescript-React application that opens up a confirm purchase page to validate a credit card.

Notifications You must be signed in to change notification settings

godrowr/validate-creditcard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

validate-creditcard

To automatically validate the integrity of a ReactJS credit card form to support a team's CI/CD pipeline.

Screen Shot 2021-07-31 at 11 24 23 PM

Todo

[X] Develop front facing veiw (html/css) [X] Handle form input in typescript [X] Validate input values in typescript (notify user below input textarea) [] Success page [] Failure/Error pages [] Testing w/ framework [] Additional requirements

Requirements:

  1. Use one of these frameworks to perform the tests:

    • CasperJS
    • Puppeteer
    • SlimerJS
    • PhantomJS
  2. The Form must include the following fields:

    • Card Holder Name
    • Credit Card Number
    • Credit Card Type
    • Expiration Date
    • Security Code
    • Billing Postal/Zip Code
  3. Additional Requirements:

    • The Test suite should include automated unit tests and E2E tests.
    • Have at least two E2E tests and at least two unit tests

About

A Typescript-React application that opens up a confirm purchase page to validate a credit card.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published