Skip to content

Commit

Permalink
Intialise cli tests (#813)
Browse files Browse the repository at this point in the history
* bring check on the log table existing forward

* enable initialise on commandline

* better rendering in web mode

* add tests for CLI initialise

* update path to config file

* set password the same as the UI test

* fix merge error

Co-authored-by: Aulona Kolicaj <[email protected]>
  • Loading branch information
michield and aulona1 authored Nov 16, 2021
1 parent f53b36b commit 927ce34
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,23 @@ jobs:
firefox -v
vendor/bin/behat -V
- name: Run BDD Tests
- name: Run BDD Tests UI
run: |
cd $GITHUB_WORKSPACE/tests
../vendor/bin/behat -p chrome --stop-on-failure --tags=@initialise
../vendor/bin/behat -p chrome --tags="~@initialise && ~@wip"
- name: Run BDD Tests CLI
run: |
cd $GITHUB_WORKSPACE
export [email protected]
export ADMIN_PASSWORD=Mypassword123+
export ORGANISATION_NAME="phpList"
export ADMIN_NAME="phpList Administrator"
php public_html/lists/admin/index.php -c $GITHUB_WORKSPACE/public_html/lists/config/config.php -p initialise -f
cd $GITHUB_WORKSPACE/tests
../vendor/bin/behat -p chrome --tags="~@initialise && ~@wip"
- name: Upload the screenshots
if: always()
uses: actions/upload-artifact@v2
Expand Down

0 comments on commit 927ce34

Please sign in to comment.