diff --git a/.github/workflows/ui-tests.yml b/.github/workflows/ui-tests.yml index 5d82c353..30282f31 100644 --- a/.github/workflows/ui-tests.yml +++ b/.github/workflows/ui-tests.yml @@ -86,28 +86,27 @@ jobs: cd ~/frappe-bench sed -i 's/^watch:/# watch:/g' Procfile sed -i 's/^schedule:/# schedule:/g' Procfile - bench start &> ~/frappe-bench/bench_start.log & - name: Install working-directory: /home/runner/frappe-bench run: | - bench get-app builder $GITHUB_WORKSPACE - bench setup requirements --dev + bench get-app builder $GITHUB_WORKSPACE --branch current_branch bench new-site --db-root-password root --admin-password admin builder.test bench --site builder.test install-app builder - bench build env: CI: 'Yes' - - name: Show bench output - run: cat ~/frappe-bench/bench_start.log || true + - name: Start bench + run: | + cat ~/frappe-bench/bench_start.log || true + bench start &> ~/frappe-bench/bench_start.log & - name: Site Setup run: | cd ~/frappe-bench/ bench --site builder.test execute frappe.utils.install.complete_setup_wizard bench --site builder.test execute frappe.tests.ui_test_helpers.create_test_user - bench --site builder.test migrate + - name: UI Tests run: cd ~/frappe-bench/apps/builder/frontend && yarn test