/backstopjs-config

BackstopJS configuration for CiviHR

Primary LanguageJavaScript

How to

  • Create configs/crm-config.json file with the following content.
{
  "url": "your_local_url",
  "credentials": {
    "name": "local_username",
    "pass": "local_password"
  }
}
  • Run a specific config file (all scenarios must be under scenarios folder) node test-runner.js --task=reference --configPath=./search-actions.json

node test-runner.js --task=test --configPath=./search-actions.json

Covered pages

Search menu

  • Find Contacts
  • Advanced search
  • Standard search results
  • Advanced search results
  • Full-text Search
  • Full-text Search results
  • Search Builder
  • Find Contributions
  • Find Mailings
  • Find Membership
  • Find Participants
  • Find Participants results
  • Find Pledges
  • Find Activities
  • Custom Searches

Contacts menu

  • New Individual
  • New Household
  • New Organization
  • Contact Reports
  • New Activity
  • New Email
  • Import Contacts
  • Import Activities
  • New Group
  • Manage Groups
  • New Tag
  • Manage Tags (Categories)
  • Find and Merge Duplicate Contacts

Contributions menu

  • Dashboard
  • New Contribution
  • Find Contribution
  • Contribution Reports
  • Import Contributions
  • Pledges - Dashboard
  • Pledges - New Pledges
  • Pledges - Find Pledges
  • Pledges - Pledges Reports
  • Pledges - New Pledge Report
  • Batch Data Entry
  • New Batch Data Entry
  • Accouting Batch - New Batch
  • Accouting Batch - Open Batches
  • Accouting Batch - Closed Batches
  • Accouting Batch - Exported Batches
  • New Contribution Page
  • Manage Contribution Pages
  • Personal Campaign Pages
  • Premiums (Thank-you Gifts)
  • New Price Set
  • Manage Price Set
  • Close Accounting Period

Events menu

  • Dashboard
  • Register Event Participant
  • Find Participants
  • Event Reports
  • Import Participants
  • New Event
  • Manage Events

Mailings menu

  • New Mailings
  • Draft and Unscheduled Mailings
  • Scheduled and Sent Mailings
  • Archived Mailings
  • Mailing Reports
  • Headers, Footers, and Automated Messages
  • Headers, Footers, and Automated Messages - Add Mailing Component
  • Message Templates
  • From Email Addresses
  • New SMS
  • Find Mass SMS
  • New A/B Test
  • Manage A/B Tests

Memberships menu

  • Dashboard
  • New Membership
  • Find Memberships
  • Membership Reports
  • Batch Data Entry
  • Import Memberships

Administer menu

Customize Data and Screens

  • Custom Fields
  • New Custom Field
  • Profiles
  • Tags
  • Activity Types
  • Relationship Types
  • Contact Types
  • Display Preferences
  • Search Preferences
  • Date Preferences
  • Navigation Preferences
  • World Replacements
  • Manage Custom Searches