-
-
Notifications
You must be signed in to change notification settings - Fork 85
/
Copy pathwebdriver.suite.dist.yml
48 lines (48 loc) · 1.4 KB
/
webdriver.suite.dist.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
actor: WebDriverTester
modules:
enabled:
- \Helper\WebDriver
- WPWebDriver
- WPDb
- WPFilesystem
- lucatume\WPBrowser\Module\AirplaneMode
config:
WPWebDriver:
url: '%WORDPRESS_URL%'
adminUsername: '%WORDPRESS_ADMIN_USER%'
adminPassword: '%WORDPRESS_ADMIN_PASSWORD%'
adminPath: '/wp-admin'
browser: chrome
host: '%CHROMEDRIVER_HOST%'
port: '%CHROMEDRIVER_PORT%'
path: '/'
window_size: false
wait: 5
pageload_timeout: 30
capabilities:
"goog:chromeOptions":
args:
- "--headless"
- "--disable-gpu"
- "--disable-dev-shm-usage"
- "--proxy-server='direct://'"
- "--proxy-bypass-list=*"
- "--no-sandbox"
WPDb:
dbUrl: '%WORDPRESS_DB_URL%'
dump: 'tests/_data/dump.sql'
populate: true
cleanup: true
reconnect: false
# WPDb will replace the URL in the dumps using the URL Chrome Driver will use
url: '%WORDPRESS_URL%'
tablePrefix: '%WORDPRESS_TABLE_PREFIX%'
WPFilesystem:
wpRootFolder: '%WORDPRESS_ROOT_DIR%'
themes: '/wp-content/themes'
plugins: '/wp-content/plugins'
mu-plugins: '/wp-content/mu-plugins'
uploads: '/wp-content/uploads'
lucatume\WPBrowser\Module\AirplaneMode:
muPluginsDir: '%WORDPRESS_ROOT_DIR%/wp-content/mu-plugins'
symlink: true