Skip to content

Commit

Permalink
[ECP-9328] Check HYVA module status
Browse files Browse the repository at this point in the history
  • Loading branch information
sushmita committed Oct 1, 2024
1 parent 43912eb commit 08c018e
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,24 +53,20 @@ jobs:
- name: Switch to production mode
run: docker exec -u www-data magento2-hyva-container make production

- name: List Installed Themes
run: |
docker exec -i mariadb mysql -umagento -pmagento magento -e "SELECT theme_id, theme_title, code FROM m2_theme;"
- name: Show Core-Config-Data
run: |
docker exec -i mariadb mysql -umagento -pmagento magento -e "SELECT * FROM m2_core_config_data WHERE path = 'design/theme/theme_id';"
- name: Set the theme value in Config table
run: |
docker exec -i mariadb mysql -umagento -pmagento magento -e "UPDATE m2_core_config_data SET value = '5' WHERE path = 'design/theme/theme_id' AND scope = 'default';"
docker exec -u www-data magento2-hyva-container bin/magento cache:flush
- name: Refresh the Setup
- name: Check HYVA Checkout module status
run: |
docker exec -u www-data magento2-hyva-container bash bin/magento module:status Hyva_Checkout
- name: Check DB for enabled Checkout Module
run: |
docker exec -u www-data magento2-hyva-container bash -c "cd /var/www/html && bin/magento config:show | grep design/theme/theme_id"
docker exec -i mariadb mysql -umagento -pmagento magento -e "SELECT * FROM m2_core_config_data WHERE path LIKE 'checkout/options/';"
- name: Check enabled Magento theme
- name: Refresh the Setup
run: |
docker exec -u www-data magento2-hyva-container make refresh
Expand Down

0 comments on commit 08c018e

Please sign in to comment.