question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Multiple-browser: foldername implementation issue

See original GitHub issue

At 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:closed
  • Created 6 years ago
  • Comments:7

github_iconTop GitHub Comments

1reaction
APshenkincommented, Jun 1, 2017

@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

0reactions
lsq4590578commented, Nov 30, 2017

@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” ] },

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple-browser: foldername implementation issue #485
Can someone please provide a working example for this multiple browser implementation? I tried but its not working properly. Some simple example ...
Read more >
cucumber/cucumber-js - Gitter
So I have run into an issue where BDD seems wrong all around. ... The implementation actually requires two specs, but no, you...
Read more >
Readme - Oracle Help Center
17361348 - There is an issue in the User Interface with "Scorecard" tab of ... name with their directory name (for example: user1@msad,...
Read more >
.NET Buzz Forum - Important Note: Replacing the default ViewState ...
Threaded View: This topic has 0 replies on 1 page ... string folderName = ... a problem) with this approach is that it...
Read more >
Symantec NetRecon™ 3.6 Security Update 22 Release ... - Broadcom
If the product that you are implementing requires registration and/or a license ... This issue would allow an attacker to cause the affected...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found