Skip to content
Snippets Groups Projects
Unverified Commit 9df3cf70 authored by mattwire's avatar mattwire Committed by GitHub
Browse files

Merge pull request #6 from progressivetech/katalon

Katalon browser based automation testing
parents a62264e8 5c9248d2
No related branches found
No related tags found
No related merge requests found
......@@ -100,6 +100,8 @@ Tests can be run most easily via an installation made through CiviCRM Buildkit (
phpunit4 tests/phpunit/CRM/Stripe/IpnTest.php
phpunit4 tests/phpunit/CRM/Stripe/DirectTest.php
In addition, see the test/katalon folder for instructions on running full web-browser based automation tests.
#### The following manual tests should also be run:
1. Test webform submission with payment and user-select, single processor.
......
# Katalon Test Suite
The CiviCRM Stripe Katalon test suite automatically runs through a series of standard credit card operations using the [Katalon Firefox extension](https://addons.mozilla.org/mn/firefox/addon/katalon-automation-record/).
To test using Katalon, follow these steps:
* Install the [Katalon Firefox extension](https://addons.mozilla.org/mn/firefox/addon/katalon-automation-record/).
* Install CiviCRM/Drupal using [CiviCRM Buildkit](https://docs.civicrm.org/dev/en/latest/tools/buildkit/) or otherwise run a Drupal CiviCRM installation via http://localhost:8001.
* Add com.drastikbydesign.stripe in the sites/files/civicrm/ext folder.
* Install and enable the webform and webform_civicrm modules (ensure webform_civicrm is patched for stripe).
* Open Katalon in your Firefox Browser
* Click the + symbol next to "Test Suites"
* Navigate to this folder and select the file: civicrm-stripe-test-suite.html
* Play each test (in order).
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment