Update wait time for survey elements #77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Selenium On GitHub Action | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
firefox_tests: | |
runs-on: ubuntu-latest | |
if: always() && !cancelled() | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Setting up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.2' | |
- name: Install Selenium | |
run: pip install selenium | |
- name: Setup Docker Compose | |
run: docker-compose -f docker-compose.yaml up -d | |
- name: Give Write Access to Wait for Grid Script | |
run: chmod +x wait-for-grid.sh | |
- name: Wait for grid | |
run: ./wait-for-grid.sh | |
- name: Running the Firefox Tests | |
run: python3 src/test_firefox.py | |
- name: Setdown Docker Compose | |
run: docker-compose -f docker-compose.yaml down | |
chrome_tests: | |
runs-on: ubuntu-latest | |
if: always() && !cancelled() | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Setting up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.2' | |
- name: Install Selenium | |
run: pip install selenium | |
- name: Setup Docker Compose | |
run: docker-compose -f docker-compose.yaml up -d | |
- name: Give Write Access to Wait for Grid Script | |
run: chmod +x wait-for-grid.sh | |
- name: Wait for grid | |
run: ./wait-for-grid.sh | |
- name: Running the Chrome Tests | |
run: python3 src/test_chrome.py | |
- name: Setdown Docker Compose | |
run: docker-compose -f docker-compose.yaml down | |
edge_tests: | |
runs-on: ubuntu-latest | |
if: always() && !cancelled() | |
steps: | |
- name: Checking out repo | |
uses: actions/checkout@v3 | |
- name: Setting up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: '3.11.2' | |
- name: Install Selenium | |
run: pip install selenium | |
- name: Setup Docker Compose | |
run: docker-compose -f docker-compose.yaml up -d | |
- name: Give Write Access to Wait for Grid Script | |
run: chmod +x wait-for-grid.sh | |
- name: Wait for grid | |
run: ./wait-for-grid.sh | |
- name: Running the Edge Tests | |
run: python3 src/test_edge.py | |
- name: Setdown Docker Compose | |
run: docker-compose -f docker-compose.yaml down | |