This repository has been archived by the owner on Apr 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from DDD-group-22-23/feature/selenium
feature/selenium
- Loading branch information
Showing
11 changed files
with
606 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# This is a basic workflow to help you get started with Actions | ||
|
||
name: Selenium Testing | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'feature/selenium' | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
python-version: ["3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python ${{ matrix.python-version }} | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install selenium | ||
wget https://github.com/mozilla/geckodriver/releases/download/v0.32.2/geckodriver-v0.32.2-linux64.tar.gz | ||
tar -xf geckodriver-v0.32.2-linux64.tar.gz && sudo mv geckodriver /usr/local/bin | ||
- name: test with selenium | ||
run: | | ||
export PROJECT_USERNAME=${{ secrets.PROJECT_USERNAME }} | ||
export PROJECT_PASSWORD=${{ secrets.PROJECT_PASSWORD }} | ||
python Source_Code/Selenium/main.py |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,14 @@ | ||
fileignoreconfig: | ||
- filename: .github/workflows/testing.yml | ||
checksum: c92c5cca83e6ff24b7d49276861b46ad4c69b14a3e3dfb77bfd1a753d6910d7b | ||
- filename: CHANGELOG | ||
checksum: 8be4c43bfeb6c3de19e07728660e4e1b9ae6c4bd1a7d99e67950b77821461be4 | ||
- filename: Source_Code/RecipeThesaurus/obj/project.nuget.cache | ||
checksum: 840ebffb03bbdf172e36b1924ebfead24aee9739f2a07014be557f20e0d29505 | ||
- filename: Source_Code/Selenium/main-desktop.py | ||
checksum: 65cd3fb21ec9669cb8dff9eb8fb8b401558a764a31fae45ef3af7cab96bb4e70 | ||
- filename: Source_Code/Selenium/main.py | ||
checksum: da3a69da0f9a37af676318a78c3849cc7e229d1d1034f008b035b356efa3b707 | ||
- filename: Source_Code/Selenium/setup-envs.sh.example | ||
checksum: 4365f7aa05ec5188da53324817318c060283174e5c1a770f545ac1f204cf65bf | ||
version: "1.0" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"cSpell.words": [ | ||
"geckodriver" | ||
] | ||
} |
Oops, something went wrong.