Comments (9)
I think that's supposed to be like that when you don't explicitly define the outputName
To overcome your issue, try this approach #1722 (comment)
"multiple": {
"dev": {
"browsers": [
{
browser: "chrome",
outputName: "chrome"
},
{
browser: "firefox",
outputName: "firefox"
}
]
}
}
from codeceptjs.
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.
Sure
from codeceptjs.
@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.
@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.
@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.
Well @AugustineAutoGit you could raise a PR if you have time to fix it.
from codeceptjs.
@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.
@AugustineAutoGit https://github.com/codeceptjs/CodeceptJS/blob/3.x/.github/CONTRIBUTING.md#contributing
from codeceptjs.
Related Issues (20)
- quickstart instructions crash HOT 5
- Not able to do file download validation with run-multiple execution HOT 1
- I.fillField and I.see is not working when we do the cross browser testing HOT 2
- While using run-multiple for parallel execution, method I.dontSeeElement gives error Cannot read properties of undefined (reading 'react') HOT 7
- in BDD or Gherkin mode, the `After` is not synchronous where next scenario starts (while the `After` is still executing) HOT 5
- It takes a long time to finish the process after testing
- Facing issues in fetch the element with data-testid HOT 6
- In codeceptJS version 3.6.0, an error occurred when using the pause() method HOT 2
- Scenario and step timeouts are not working as expected HOT 1
- Problem with launching test with an exact tag
- `I.waitForURL()` does not fail the test when its timeout happens
- Healer priorities and steps are not respected
- Webdriver and coverage
- "undefined undefined" error when bdd:init HOT 1
- [Asking for help] Process are blocking when throw error in scenario with Retry enabled HOT 25
- I.askGptOnPageFragment is not a function HOT 2
- @codeceptjs/ui dependency seems to be blocking update to codeceptjs 3.6.2 HOT 1
- npm install not working HOT 4
- Plugin "retryFailedStep" doesn't work in --debug or --verbose mode, searching for element fails immediately HOT 2
- GraphQL doc looks funky
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from codeceptjs.