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

Fix PGSM-PMM integration tests for PG14/15, fix CI workflows in this repo #74

Merged
merged 3 commits into from
Jul 25, 2024
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/PMM_PDPGSQL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
run: git clone https://github.com/percona/pmm-ui-tests.git && cd pmm-ui-tests && npm ci

- name: Install npx dependencies
run: sudo npx playwright install-deps && npx codeceptjs def pr.codecept.js
run: npx playwright install --with-deps && npx codeceptjs def pr.codecept.js
working-directory: pmm-ui-tests

- name: Run the Integration tests of pdpgsql
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/PMM_PROXYSQL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ jobs:
run: git clone https://github.com/percona/pmm-ui-tests.git && cd pmm-ui-tests && npm ci

- name: Install npx dependencies
run: cd pmm-ui-tests && sudo npx playwright install-deps && npx codeceptjs def pr.codecept.js
run: npx playwright install --with-deps && npx codeceptjs def pr.codecept.js
working-directory: pmm-ui-tests

- name: Run the Integration tests of PXC
run: npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_pxc_integration_test.js --steps --debug
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PMM_PS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
run: git clone https://github.com/percona/pmm-ui-tests.git && cd pmm-ui-tests && npm ci

- name: Install npx dependencies
run: sudo npx playwright install-deps && npx codeceptjs def pr.codecept.js
run: npx playwright install --with-deps && npx codeceptjs def pr.codecept.js
working-directory: pmm-ui-tests

- name: Run the Integration tests of PS
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/PMM_PXC.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,8 @@ jobs:
run: git clone https://github.com/percona/pmm-ui-tests.git && cd pmm-ui-tests && npm ci

- name: Install npx dependencies
run: cd pmm-ui-tests && sudo npx playwright install-deps && npx codeceptjs def pr.codecept.js
run: npx playwright install --with-deps && npx codeceptjs def pr.codecept.js
working-directory: pmm-ui-tests

- name: Run the Integration tests of PXC
run: npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_pxc_integration_test.js --steps --debug
Expand Down
1 change: 1 addition & 0 deletions pmm_pgsm_setup/pmm_pgsm_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ sudo rm -r pmm-ui-tests || true ## Delete if the Repo already checkedout
git clone -b ${PMM_UI_BRANCH} https://github.com/percona/pmm-ui-tests
pushd pmm-ui-tests
npm install --force
npx playwright install
export PMM_UI_URL="http://127.0.0.1:8081/"
./node_modules/.bin/codeceptjs run --debug --steps -c pr.codecept.js --grep '@pgsm-pmm-integration'
popd
Loading