From 0537e7a9bee97f0d5ef2ed0ea46eab2822d0fe0a Mon Sep 17 00:00:00 2001 From: Andrew Kubyshkin Date: Fri, 29 May 2026 09:41:42 +0500 Subject: [PATCH 1/2] VCST-5155: Add a param to skip count check for indexed doc types --- .github/workflows/e2e-autotests.yml | 8 +++++++- .github/workflows/pytest-tests.yml | 10 ++++++++-- .github/workflows/ui-autotests.yml | 6 ++++++ 3 files changed, 21 insertions(+), 3 deletions(-) diff --git a/.github/workflows/e2e-autotests.yml b/.github/workflows/e2e-autotests.yml index b662984..570fa09 100644 --- a/.github/workflows/e2e-autotests.yml +++ b/.github/workflows/e2e-autotests.yml @@ -73,6 +73,11 @@ on: required: false type: string default: 'true' + skipDocCountVerification: + description: 'Comma-separated document types whose post-reindex count check should be skipped (reindex still runs). Use when the seed dataset has 0 records for a type. Example: ''PickupLocation'' or ''PickupLocation,ContentFile''.' + required: false + default: '' + type: string vctestingPath: description: 'UI tests path' required: false @@ -141,4 +146,5 @@ jobs: testSecretEnvFile: ${{ secrets.testSecretEnvFile }} vctestingPath: ${{ inputs.vctestingPath }} vctestingRepo: ${{ inputs.vctestingRepo }} - vctestingRepoBranch: ${{ inputs.vctestingRepoBranch }} \ No newline at end of file + vctestingRepoBranch: ${{ inputs.vctestingRepoBranch }} + skipDocCountVerification: ${{ inputs.skipDocCountVerification }} \ No newline at end of file diff --git a/.github/workflows/pytest-tests.yml b/.github/workflows/pytest-tests.yml index 181320f..13f568f 100644 --- a/.github/workflows/pytest-tests.yml +++ b/.github/workflows/pytest-tests.yml @@ -88,6 +88,11 @@ on: required: false type: string default: '' + skipDocCountVerification: + description: 'Comma-separated document types whose post-reindex count check should be skipped (reindex still runs). Use when the seed dataset has 0 records for a type. Example: ''PickupLocation'' or ''PickupLocation,ContentFile''.' + required: false + default: '' + type: string testSuites: description: 'Comma-separated list of suites to run. Any subset of: graphql, restapi, e2e' required: false @@ -154,7 +159,7 @@ jobs: appInsightsInstrumentationKey: ${{ secrets.appInsightsInstrumentationKey }} - name: Run Auto Tests - uses: VirtoCommerce/vc-github-actions/run-pytest-tests@master + uses: VirtoCommerce/vc-github-actions/run-pytest-tests@VCST-5155 #master with: adminPassword: ${{ inputs.adminPassword }} adminUsername: ${{ inputs.adminUsername }} @@ -168,4 +173,5 @@ jobs: vctestingPath: ${{ inputs.vctestingPath }} vctestingRepo: ${{ inputs.vctestingRepo }} vctestingRepoBranch: ${{ inputs.vctestingRepoBranch }} - artifactSuffix: -${{ matrix.databaseProvider }} \ No newline at end of file + artifactSuffix: -${{ matrix.databaseProvider }} + skipDocCountVerification: ${{ inputs.skipDocCountVerification }} \ No newline at end of file diff --git a/.github/workflows/ui-autotests.yml b/.github/workflows/ui-autotests.yml index c6fe1a7..74c94dc 100644 --- a/.github/workflows/ui-autotests.yml +++ b/.github/workflows/ui-autotests.yml @@ -68,6 +68,11 @@ on: required: false type: string default: '' + skipDocCountVerification: + description: 'Comma-separated document types whose post-reindex count check should be skipped (reindex still runs). Use when the seed dataset has 0 records for a type. Example: ''PickupLocation'' or ''PickupLocation,ContentFile''.' + required: false + default: '' + type: string vctestingPath: description: 'UI tests path' required: false @@ -128,3 +133,4 @@ jobs: vctestingPath: 'vc-testing-module' vctestingRepo: ${{ inputs.vctestingRepo }} vctestingRepoBranch: ${{ inputs.vctestingRepoBranch }} + skipDocCountVerification: ${{ inputs.skipDocCountVerification }} From 89a866f31407d8fa628e7226aee14c06b9e964c8 Mon Sep 17 00:00:00 2001 From: Andrew Kubyshkin Date: Fri, 29 May 2026 10:21:42 +0500 Subject: [PATCH 2/2] Use master branch --- .github/workflows/pytest-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pytest-tests.yml b/.github/workflows/pytest-tests.yml index 13f568f..17fb172 100644 --- a/.github/workflows/pytest-tests.yml +++ b/.github/workflows/pytest-tests.yml @@ -159,7 +159,7 @@ jobs: appInsightsInstrumentationKey: ${{ secrets.appInsightsInstrumentationKey }} - name: Run Auto Tests - uses: VirtoCommerce/vc-github-actions/run-pytest-tests@VCST-5155 #master + uses: VirtoCommerce/vc-github-actions/run-pytest-tests@master with: adminPassword: ${{ inputs.adminPassword }} adminUsername: ${{ inputs.adminUsername }}