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..17fb172 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 @@ -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 }}