Sha256: 122a3e1371d9e6c1c7186e9ebf8fd6b5306fb25e664482590fb4396e47e4c3bd

Contents?: true

Size: 1.26 KB

Versions: 1

Compression:

Stored size: 1.26 KB

Contents

name: Rspec Watir Test on Ubuntu
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

1 entries across 1 versions & 1 rubygems

Version Path
ruby_raider-0.9.1 .github/workflows/rspec_watir.yml