diff options
| author | Christophe Monniez <moc@odoo.com> | 2018-11-16 14:35:18 +0000 |
|---|---|---|
| committer | Christophe Monniez <moc@odoo.com> | 2018-11-16 14:35:18 +0000 |
| commit | 76d29d15bfb2c56b7745a9b1fe990a6c558245c1 (patch) | |
| tree | 90125acd11a1754e0d6b9fda3c39a93f4fa054c0 /addons/website_slides/data/website_data.xml | |
| parent | 1c1ae3bef91aa6dfd140e21bcba096ccb3b86b31 (diff) | |
[REF] tests: add parameter to choose chrome size
When using the HttpCase browser_js method, the window size is fixed to
1366x768.
With this commit, the default window size is still '1366x768' but a test
class that inherits from HttpCase may change it to test mobile layout
by changing the browser_size class attribute.
The browser is instanciated once per test class, for that reason the
window size cannot be changed in the class methods.
To use different sizes in tests, the tests have to be splitted in
classes.
closes odoo/odoo#28760
Diffstat (limited to 'addons/website_slides/data/website_data.xml')
0 files changed, 0 insertions, 0 deletions
