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)
- So many methods not working with a React Locator.
- MockRequest with Puppeteer not working HOT 1
- There is no support for addScriptTag HOT 2
- [FR] - implementing the request interception for ppt helper
- Playwright to codecept locator conversion HOT 3
- Playwright doc for grabTrafficUrl malformatted
- codeceptjs run-workers X can do with sequencing improvements HOT 2
- run-multiple reporting of failed steps not working HOT 5
- runOnAndroid/runOnIOS blocks are stuck after upgrading CodeCept from 3.4.1 to 3.5.15 and Appium From 1 to 2. HOT 1
- 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
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.