Sha256: 5c1f488e8ba822d2d9e79a64af8ea900dc6e534ad685aa2b8261d4b6cc905246

Contents?: true

Size: 1.25 KB

Versions: 3

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_watir -p framework:rspec automation:watir 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

3 entries across 3 versions & 1 rubygems

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