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

UI tests - Add PS versions from 1.7.0.0 ~ 1.7.0.6 to 1.7.8.11 (minor) on php 7.1 #729

Open
wants to merge 12 commits into
base: dev
Choose a base branch
from
3 changes: 2 additions & 1 deletion .github/workflows/ui-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
PS_VERSION: ${{ env.PS_DOCKER }}
run: |
docker compose -f "docker-compose.yml" up -d --build
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} http://localhost/en/)" != "200" ]]; do sleep 5; done'
bash -c 'while [[ "$(curl -L -s -o /dev/null -w %{http_code} http://localhost/)" != "200" ]]; do sleep 5; done'

- name: Composer install
run: composer install
Expand All @@ -66,6 +66,7 @@ jobs:
run: |
docker exec -t prestashop php modules/autoupgrade/bin/console update:start --channel=${{ matrix.UPGRADE_CHANNEL }} admin-dev
docker exec -t prestashop chmod 777 -R /var/www/html/var/cache/dev
docker exec -t prestashop chmod 777 -R /var/www/html/var/logs

- name: Install dependencies
working-directory: tests/UI/
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/ui-test/nightly.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"include": [
{
"comment": "1.7.0.6 ~ minor PHP 7.1"
},
{
"PS_VERSION_START": "1.7.0.6",
"PS_VERSION_END": "1.7.8.11",
"UPGRADE_CHANNEL": "minor",
"PHP_VERSION": "7.1"
},
{
"comment": "1.7.8 ~ minor PHP 7.2 ~ 7.4"
},
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/ui-test/sanity.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"include": [
{
"comment": "1.7.0.6 ~ minor PHP 7.1"
},
{
"PS_VERSION_START": "1.7.0.6",
"PS_VERSION_END": "1.7.8.11",
"UPGRADE_CHANNEL": "minor",
"PHP_VERSION": "7.1"
},
{
"comment": "1.7.8 ~ minor PHP 7.4"
},
Expand Down Expand Up @@ -37,4 +46,4 @@
"PHP_VERSION": "8.1"
}
]
}
}
1 change: 0 additions & 1 deletion tests/UI/campaigns/shopVersion/01_CheckVersion.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const psVersion = utilsTest.getPSVersion();

/*
Open BO
Check new version lin login page
Login
Check new version in dashboard page
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/UI/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ services:
ports:
- 80:80
mysql:
image: mariadb:lts
image: mysql:5.7
container_name: prestashop-mysql
healthcheck:
test:
Expand Down
Loading