Sha256: 03141df3d1e4f504986ee28f473e6b7fb003948fc6268ec864abe342b29d400d

Contents?: true

Size: 1.25 KB

Versions: 4

Compression:

Stored size: 1.25 KB

Contents

name: BrowserStack Test
on: [ pull_request ]

jobs:
  ubuntu-job:
    name: BrowserStack Test on Ubuntu
    runs-on: ubuntu-latest
    steps:
      - name: BrowserStack Env Setup
        uses: browserstack/github-actions/setup-env@master
        with:
          username: ${{ secrets.BROWSERSTACK_USERNAME }}
          access-key: ${{ secrets.BROWSERSTACK_ACCESS_KEY }}
          build-name: BUILD_INFO
          project-name: REPO_NAME
      - name: BrowserStackLocal Setup
        uses: browserstack/github-actions/setup-local@master
        with:
          local-testing: start


      - name: Checkout the repository
        uses: actions/checkout@v2

      - name: Set up Ruby
        uses: ruby/setup-ruby@f20f1eae726df008313d2e0d78c5e602562a1bcf
        with:
          ruby-version: head

      - name: Install gems
        run: bundle install

      - name: Create Raider framework
        run: bin/raider new rspec_selenium -p framework:rspec automation:selenium visual:false axe:true

      - name: Run Raider tests
        run: cd rspec_selenium && bundle install && raider utility browser_options chrome headless && rspec spec/

      - name: BrowserStackLocal Stop
        uses: browserstack/github-actions/setup-local@master
        with:
          local-testing: stop

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ruby_raider-0.9.4 .github/workflows/rspec_selenium.yml
ruby_raider-0.9.3 .github/workflows/rspec_selenium.yml
ruby_raider-0.9.2 .github/workflows/rspec_selenium.yml
ruby_raider-0.9.0 .github/workflows/rspec_selenium.yml