-
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.
- Loading branch information
Showing
5 changed files
with
62 additions
and
1 deletion.
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,2 @@ | ||
.env | ||
**/__pycache__/** |
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 +1,2 @@ | ||
# m450-lb3 | ||
# M450-lb3 | ||
|
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,50 @@ | ||
#!/bin/bash | ||
|
||
# Scriptheaders are for noobs :) | ||
|
||
export $(cat .env | xargs) | ||
|
||
echo "Starting Playwright tests..." | ||
|
||
cd playwright | ||
|
||
. venv/bin/activate | ||
|
||
PLAYWRIGHT_URL="https:$(browserstack-sdk pytest -s ./tests/test.py | grep "View build on BrowserStack dashboard:" | rev | cut -d ":" -f 1 | rev)" | ||
|
||
cd .. | ||
|
||
echo "Finished Playwright tests..." | ||
|
||
|
||
echo "Starting Selenium tests..." | ||
|
||
cd selenium | ||
|
||
. venv/bin/activate | ||
|
||
SELENIUM_URL="https:$(browserstack-sdk python ./tests/test.py | grep "View build on BrowserStack dashboard:" | rev | cut -d ":" -f 1 | rev)" | ||
|
||
cd .. | ||
|
||
echo "Finished Selenium tests..." | ||
|
||
echo "Starting Puppeteer tests..." | ||
|
||
cd puppeteer | ||
|
||
node test.spec.js > /dev/null | ||
|
||
echo "Finished Puppeteer tests..." | ||
|
||
echo "\n\n\n" | ||
|
||
echo "#####################" | ||
|
||
echo "Playwright Report: $PLAYWRIGHT_URL" | ||
|
||
echo "Selenium Report: $SELENIUM_URL" | ||
|
||
echo "Puppeteer has no report. View test results in the web console." | ||
|
||
echo "#####################" |
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