ci-samples icon indicating copy to clipboard operation
ci-samples copied to clipboard

Incorrect Parameter Name Used in workflows yml file (windows.yml): -testSuiteCollectionPath Instead of -testSuitePath

Open aye-nyeinSan opened this issue 3 months ago • 1 comments

I noticed there is incorrect documention for katalon integration with github action workflows. In the documentation, the parameter -testSuiteCollectionPath is mentioned for specifying the path for the test suite collection. However, Based on my experience and testing , it seems that the correct parameter name should be -testSuitePath . The observed Result will be test suite will not be found if you use -testSuiteCollectionPath. The correct simple implementation of the workflow yml should be

name: CI
on:
  push:
    branches: [ main ]
  pull_request:
    branches: [ main ]

jobs:
  build:
    runs-on: windows-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v3
    - name: Katalon Studio Github Action
      uses: katalon-studio/katalon-studio-github-action@v2
      with:
          version: '7.5.5'
          projectPath: '${{ github.workspace }}'
          args: '-noSplash -retry=0 -browserType=Chrome -statusDelay=15 -testSuitePath="Test Suites/TestSuiteDemo" -apiKey= ${{ secrets.KATALON_API_KEY}} --config -webui.autoUpdateDrivers=true'

aye-nyeinSan avatar Mar 22 '24 17:03 aye-nyeinSan

#45

aye-nyeinSan avatar Mar 22 '24 17:03 aye-nyeinSan