Skip to content

Commit 161cd06

Browse files
committed
ISSUE-338: test
1 parent 1e5b43c commit 161cd06

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
mkdir -p build/mails
8282
chmod -R 777 output/screenshots build/mails
8383
./bin/start-selenium > output/selenium.log 2>&1 &
84-
sleep 5
84+
sleep 15
8585
sudo php -S 0.0.0.0:80 -t public_html > /dev/null 2>&1 &
8686
continue-on-error: ${{ matrix.experimental }}
8787

tests/ci/behat.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,11 @@ default:
77
- ./features
88
contexts:
99
- FeatureContext:
10-
# Set database access credentials
1110
database:
1211
host: 127.0.0.1
1312
user: phplist
1413
password: phplist
1514
name: phplistdb
16-
# Set admin user login credentials
1715
admin:
1816
username: admin
1917
password: Mypassword123+
@@ -24,7 +22,7 @@ default:
2422
- FailAid\Context\FailureContext
2523
extensions:
2624
Behat\MinkExtension:
27-
show_cmd: 'cp %s ./output/lastResponse.html' #'cat %s'
25+
show_cmd: 'cp %s ./output/lastResponse.html'
2826
base_url: 'http://127.0.0.1'
2927
default_session: chrome
3028
sessions:
@@ -35,6 +33,11 @@ default:
3533
browserName: chrome
3634
browser: chrome
3735
version: ""
36+
extra_capabilities:
37+
timeouts:
38+
implicit: 10000 # 5 seconds for implicit waits
39+
pageLoad: 60000 # 30 seconds for page loads
40+
script: 60000 # 30 seconds for async scripts
3841
chrome:
3942
switches:
4043
- "--headless"

0 commit comments

Comments
 (0)