Skip to content

Getting Started: Quality Assurance Testing

tn3rb edited this page Oct 5, 2023 · 1 revision

Testing Barista PRs

The process for testing PRs from the Barista repo is a little different than the Cafe repo, you'll need to do the following:

  • in a terminal navigate to your cafe repo's plugin folder (something like)

    cd /path/to/your/dev/site/wp-content/plugins
    

    so for example, if your local test site was located in a folder named /var/www/cafe.test, then you would run the following command to get to your plugins folder:

    cd /var/www/cafe.test/wp-content/plugins
    

     

  • if you don't already have the barista repo cloned, then run the following command

    git clone git@github.com:eventespresso/barista.git
    

     

  • switch into that folder

    cd barista
    

     

  • checkout the branch you need to test

    git checkout FIX/pull-request-branch-name
    

     

  • run the following commands

    yarn build
    

     

  • then go to your browser and log into your cafe test site (the one you just cloned the barista repo into)

    https://www.cafe.test/wp-login.php
    

     

  • go to the WordPress Plugins admin page

    https://www.cafe.test/wp-admin/plugins.php
    

     

  • find and activate the "Barista for Event Espresso" plugin (NOT the "Barista Tester" plugin)    

  • Congrats! Now you are ready to continue with testing the pull request