devmode is a bad name?
See original GitHub issueThe devmode
option allows the tests container to run full screen.
This is useful for testing (for example) scrolling a certain size element to a certain location.
Because the dimensions used in the test are related to the actual window size. Not the scaled test container. For which half-size values must be used.
Tests in the browser with devmode
will pass, but will fail when run on the command line.
Unless that is, if devmode
is added to the testem config.
But, calling it devmode
, doesn’t make sense if it’s being used in what is essentially a test-mode.
Wouldn’t it be better to call it what is actually does, which is:
if (params.devmode) {
testContainer.className = ' full-screen';
}
I’m suggesting it be renamed to fullscreen
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
So who else is in denial about using dev mode every so often?
My name is rook and I use Dev mode to destroy corpses. ... have an option for multiple colonies, with a warning bad...
Read more >Development Mode (aka “devMode” - Apache Struts
Struts 2 has a setting (which can be set to true or false in default. properties) called devMode (= development mode).
Read more >Understanding Printer Settings and DEVMODE
Public part: This part encodes general settings that are exposed in the printer driver model, such as printer name, driver version, paper size,...
Read more >Print Driver DevMode Corruptor Test | Microsoft Learn
This automated test uses good and bad DEVMODE structures to make sure that the driver ... TestExecutable Name, Test Executable name.
Read more >Dev mode compiler does not use -parameters #4632 - GitHub
Either specify its name, or tell your compiler to enable debug info (-g) or ... (bad) then dev mode will give the user...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems fine to have, but I don’t think we should add a checkbox for it.
Not against
devmode
, but it’d be nice to havefullscreencontainer
as a separate option to use in CI. Happy to contribute a PR here - want to confirm if this functionality is acceptable before proceeding:Add
fullscreencontainer
as an option, which’ll only toggle the container positioning/width but not the timeout (likedevmode
does).