Giter Club home page Giter Club logo

Comments (9)

kobenguyent avatar kobenguyent commented on June 9, 2024

I think that's supposed to be like that when you don't explicitly define the outputName
Screenshot 2024-03-22 at 10 37 29

To overcome your issue, try this approach #1722 (comment)

"multiple": {
        "dev": {
            "browsers": [
                {
                    browser: "chrome",
                    outputName: "chrome"
                },
                {
                    browser: "firefox",
                    outputName: "firefox"
                }
            ]
        }
}

from codeceptjs.

AugustineAutoGit avatar AugustineAutoGit commented on June 9, 2024

Thanks @kobenguyent this fixed my issue of random hash value
For the case of:
Validating the file download using handleDownloads and FileSystem helper, like using methods I.amInPath('output/folderName');
for folderName how should we give?
say now output folders are like parallel_output_1, the runId is dynamic
I tried this way but not working:
I.amInPath('output/parallel_output_*');

from codeceptjs.

AugustineAutoGit avatar AugustineAutoGit commented on June 9, 2024

Sure

from codeceptjs.

AugustineAutoGit avatar AugustineAutoGit commented on June 9, 2024

@kobenguyent
1 doubt / suggestion
Is appending runId to the outputDir mandatory, like can we avoid it?
Instead can we append the browser
Since run-mutiple itslef is for parallel testing in multiple browsers can we something like:
outputDir = runName + outputName + browser

For eg: for Playwright browser can be :

  • chromium(this can have different channel names like chrome, msedge etc)
  • webkit
  • firefox

Hence my doubt / suggestion is the possibility of removing runId append and instead adding browser and channel name if any. Like:
outputDir = runName + outputName + browser + channel(only for chromium)

from codeceptjs.

kobenguyent avatar kobenguyent commented on June 9, 2024

@AugustineAutoGit I think run-multiple command is kinda obsolete and there would be not really active maintenance. It is encouraged to use run-workers command.

from codeceptjs.

AugustineAutoGit avatar AugustineAutoGit commented on June 9, 2024

@kobenguyent I am using codeceptjs-resemblehelper for visual testing.
This helper won't work with run-workers due to inability to execute in multiple threads.
Sad to know that run-multiple command is kinda obsolete :(
run-multiple was very helpful for me as it is preferred as mentioned in CodeceptJS site for mutliple browser executions.
Our paralle execution requirement is for multiple browsers. Also due to budget constraints not able to use codeceptjs-applitoolshelper

from codeceptjs.

kobenguyent avatar kobenguyent commented on June 9, 2024

Well @AugustineAutoGit you could raise a PR if you have time to fix it.

from codeceptjs.

AugustineAutoGit avatar AugustineAutoGit commented on June 9, 2024

@kobenguyent sure will give a try from my side.
Will you provide access or do I need to do a fork
or
if it run-multiple command is kinda obsolete do we need to consider this

Will proceed as per your suggestion

from codeceptjs.

kobenguyent avatar kobenguyent commented on June 9, 2024

@AugustineAutoGit https://github.com/codeceptjs/CodeceptJS/blob/3.x/.github/CONTRIBUTING.md#contributing

from codeceptjs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.