katalon-studio-samples / ci-samples

Sample configurations for various CI systems.
Apache License 2.0
54 stars 169 forks source link

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

Open aye-nyeinSan opened 5 months ago

aye-nyeinSan commented 5 months ago

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 commented 5 months ago

45