Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed Functional Test functional:productV2 #57

Merged
merged 2 commits into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/pr_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -236,5 +236,7 @@ jobs:
TEST_COMMAND: 'functional:FO:04-07'
- BASE_BRANCH: develop
TEST_COMMAND: 'functional:FO:08-12'
- BASE_BRANCH: develop
TEST_COMMAND: 'functional:productV2'
- BASE_BRANCH: develop
TEST_COMMAND: 'sanity:productV2'
7 changes: 5 additions & 2 deletions .github/workflows/pr_test_one.yml
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,8 @@ jobs:
TEST_COMMAND: 'functional:FO:04-07'
- BASE_BRANCH: develop
TEST_COMMAND: 'functional:FO:08-12'
- BASE_BRANCH: develop
TEST_COMMAND: 'functional:productV2'
- BASE_BRANCH: develop
TEST_COMMAND: 'sanity:productV2'

Expand All @@ -190,7 +192,7 @@ jobs:
PS_DIR: 'my_prestashop'
## Install PrestaShop & UI Tests
VERSION: ${{ github.event.inputs.php_version }}-apache
PS_INSTALL_AUTO: 1
PS_INSTALL_AUTO: ${{ ((matrix.TEST_COMMAND == 'sanity')) && '0' || '1' }}
DB_PASSWD: prestashop
DB_NAME: prestashop
DB_SERVER: mysql
Expand Down Expand Up @@ -288,10 +290,11 @@ jobs:
DISABLE_MAKE: 0
URL_FO: ${{ ((github.event.inputs.base_branch == '8.0.x') || (github.event.inputs.base_branch == '1.7.8.x')) && 'http://localhost:8001/' || 'https://localhost:8002/' }}
VERSION: ${{ (github.event.inputs.base_branch == '1.7.8.x') && github.event.inputs.php_version || env.VERSION }}
URL_PING: ${{ matrix.TEST_COMMAND == 'sanity' && 'install-dev/' || 'en/' }}
run: |
USER_ID=$(id -u) GROUP_ID=$(id -g) \
docker-compose -f docker-compose.yml up -d --build
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}en/)" != "200" ]]; do sleep 5; done'
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} ${{ env.URL_FO }}${{ env.URL_PING }})" != "200" ]]; do sleep 5; done'

# UI Tests : Setup, Install & Execute
- name: Setup Node
Expand Down