Multiple-browser: foldername implementation issue
See original GitHub issueAt first I want to say what a great tool Codecept.JS is for me. Thanx a lot for that!
When I test the suite via multiple-browser option, I find 2 bugs, and have 1 feature request.
- the first browser-resolution combination I configure will be used in all folder-names for that browser.
- screenshots in these folders are the same size
- every device/resolution combination in my config file (for example {browser: ‘chrome’, windowSize: ‘1220x1000’},) results in my mochawesome reporter into 1 report (so 10 browser/res combinations results in 10 tabs with 10 reports). would be cool if the multiple-browser option with mochawesome results in 1 report. somehow 😉
Foldername output when testing via multiplebrowser option:
drwxr-xr-x 7 joel staff 238B Apr 20 19:25 basic_browser_chrome_windowSize_1220x1000_1 drwxr-xr-x 7 joel staff 238B Apr 20 19:25 basic_browser_chrome_windowSize_1220x1000_2 drwxr-xr-x 7 joel staff 238B Apr 20 19:25 basic_browser_chrome_windowSize_1220x1000_3 drwxr-xr-x 7 joel staff 238B Apr 20 19:25 basic_browser_chrome_windowSize_1220x1000_4 drwxr-xr-x 7 joel staff 238B Apr 20 19:25 basic_browser_firefox_windowSize_maximize_5 drwxr-xr-x 7 joel staff 238B Apr 20 19:24 basic_browser_firefox_windowSize_maximize_6 drwxr-xr-x 7 joel staff 238B Apr 20 19:24 basic_browser_firefox_windowSize_maximize_7 drwxr-xr-x 7 joel staff 238B Apr 20 19:24 basic_browser_firefox_windowSize_maximize_8 drwxr-xr-x 7 joel staff 238B Apr 20 19:25 basic_browser_firefox_windowSize_maximize_9 drwxr-xr-x 3 joel staff 102B Apr 20 19:24 basic_browser_safari_windowSize_maximize_10 drwxr-xr-x 3 joel staff 102B Apr 20 19:24 basic_browser_safari_windowSize_maximize_11 drwxr-xr-x 2 joel staff 68B Apr 20 19:24 basic_browser_safari_windowSize_maximize_12 drwxr-xr-x 2 joel staff 68B Apr 20 19:24 basic_browser_safari_windowSize_maximize_13 drwxr-xr-x 3 joel staff 102B Apr 20 19:24 basic_browser_safari_windowSize_maximize_14
multi-browser configuration:
"browsers" :
[
{browser: 'chrome', windowSize: '1220x1000'},
{browser: 'chrome', windowSize: '1024x1000'},
{browser: 'chrome', windowSize: '768x1000'},
{browser: 'chrome', windowSize: '320x1000'},
{browser: 'firefox', windowSize: 'maximize'},
{browser: 'firefox', windowSize: '1220x1000'},
{browser: 'firefox', windowSize: '1024x1000'},
{browser: 'firefox', windowSize: '768x1000'},
{browser: 'firefox', windowSize: '320x1000'},
{browser: 'safari', windowSize: 'maximize'},
{browser: 'safari', windowSize: '1220x1000'},
{browser: 'safari', windowSize: '1024x1000'},
{browser: 'safari', windowSize: '768x1000'},
{browser: 'safari', windowSize: '320x1000'}
]
Issue Analytics
- State:
- Created 6 years ago
- Comments:7
Top GitHub Comments
@joelgrimberg Looks like first two issues is the same (multiple option just starts 5 instances with the same resolution). I’ll check it.
About aggregation report feature - Every suite is running in separate child process and it would be hard to mix all reports in one. I think that we can do some aggregator for reports that will generate one more page, that will contains list of links to reports. Will investigate this
@joelgrimberg How do I configure multiple suites to run on different Chrome browsers?I don’t know how to config it.Please help to me,thanks “multiple”: { “suiteName”: “”, “suiteConf”: “”, “browser”: [ “chrome” ] },