diff --git a/.github/workflows/PMM_PS.yaml b/.github/workflows/PMM_PS.yaml index 4843866..7d67c82 100644 --- a/.github/workflows/PMM_PS.yaml +++ b/.github/workflows/PMM_PS.yaml @@ -77,3 +77,17 @@ jobs: - name: Run for PS tests run: ./pmm-framework.sh --ps-version ps-${{ env.PS_VERSION }} --addclient=ps,1 --pmm2 --ps-tarball ${{ env.PS_TARBALL_PATH }} working-directory: pmm-qa/pmm-tests + + - name: Install Node js + run: wget https://raw.githubusercontent.com/nodesource/distributions/master/deb/setup_16.x && chmod +x setup_16.x && sudo ./setup_16.x + + - name: Checkout the repo and install node packages + 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 + working-directory: pmm-ui-tests + + - name: Run the Integration tests of PS + run: npx codeceptjs run -c pr.codecept.js tests/qa-integration/pmm_ps_integration_test.js --steps --debug + working-directory: pmm-ui-tests