Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 97793

How to run Selenium tests in GitHub Actions

$
0
0

I'm trying to find the equivalent command to run Selenium tests in GitHub actions. In Azure DevOps, I'd use this YAML to run "Visual Studio Test":

- task: VSTest@2
  displayName: 'Run functional smoke tests on website and web service'
  inputs:
    searchFolder: '$(build.artifactstagingdirectory)'
    testAssemblyVer2: |
      **\FeatureFlags.FunctionalTests\FeatureFlags.FunctionalTests.dll
    uiTests: true
    runSettingsFile: '$(build.artifactstagingdirectory)/drop/FunctionalTests/FeatureFlags.FunctionalTests/test.runsettings'
    overrideTestrunParameters: |
     -ServiceUrl "https://$(WebServiceName)-staging.azurewebsites.net/" 
     -WebsiteUrl "https://$(WebsiteName)-staging.azurewebsites.net/"

In GitHub actions, what is the equivalent task? It doesn't look like the VsTest.Console.exe exists in the GitHub runner/agent, so the answer may involve installing the Visual Studio Test Platform installer - but obviously I'd like to avoid this as this would severely slow down each build.


Viewing all articles
Browse latest Browse all 97793

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>