…vantage of view models to simplify our page objects.I have created a new Page superclass; but a generic one. You can see the code here:public class Page<TViewModel> : Page where TViewModel: class, new() { public void FillWith(TViewModel viewModel, IDictionary<Type, Func<object, string>> propertyTypeHandling = null) { // removed for brevity }…
…vanced topics that could help you write more robust tests, and troubleshoot them when they fail:We discuss why adding fixed delays in UI tests is a bad idea and how you can get rid of them.Browser automation frameworks target UI elements using selectors and it’s very critical to use good…
…vant within your career focus.The front-end developer tract, for example, is involved enough and staying current will keep you busy for a long time. Lou Lazaris wrote a post back in 2011 titled "Skills for Front-end Developers" and in many cases he's spot on. If you look at his list,…
…vangelist Bruce Lawson, I think he may be fitting that description.Helping fight the good fight for standards, Bruce is constantly on the move either updating his awesome book Introducing HTML5 (which is regarded as one of the best HTML5 books out) or attending developer conferences to read the pulse of…
…vantage of existing dotfiles to build it up. You can then add the files and code in that’s best going to suit your requirements.As people generally name their dotfiles repo dotfiles I set the folder structure up like so: └── dotfiles ├── mathias │ └── dotfiles │ ├── LICENSE-MIT.txt │…
…vantages with PhoneGap too as that we do not hide these details.) I encourage developers to always be learning as much you can and native mobile development is super fun stuff to learn.That said, I'm not as convinced about the business benefits of going native. You inherit a reliance on…
…vant parts here: <body> <select class="shapes-picker"> <option value="--">-- Select a sample --</option> <option value="react">React</option> <option value="robot">Robot</option> </select> <div class="container"></div> <!-- Libraries --> <script src="../../lib/jquery-2.0.3.min.js"></script> <script src="../../lib/react.js"></script> <!-- Application Scripts --> <script src="../../build/shape-editor/ShapePropertyMixin.js"></script> <script src="../../build/shape-editor/shapes/Ellipse.js"></script> <script src="../../build/shape-editor/shapes/Rectangle.js"></script> <script src="../../build/shape-editor/shapes/Text.js"></script> <script src="../../build/shape-editor/ShapeParser.js"></script> <script src="../../build/shape-editor/ShapeCanvas.js"></script> <script src="../../build/shape-editor/ShapeEditor.js"></script> <script src="../../build/shape-editor/shapes.js"></script> <script src="../../build/shape-editor/app.js"></script> </body> In…
…vant news and releases from around the web development community.Rails 4.0.1 Is OutThe Rails framework continues chugging away with its newest update to version four. The big update in this version is a change to the way Active Record handles order calls and the subsequent prepending of an SQL ORDER…
…vangelismWrite a blog post – Easy enough to write something that makes using a tool easier for othersAsk your employer for time – If you’re using a piece of OSS software at work, ask your employer for company time to contribute backAsk your employer to donate back code – Along…
…vance) create a composer.json file with the following code to load in Behat: { "require": { "behat/behat": "2.4.*@stable" }, "minimum-stability": "dev", "config": { "bin-dir": "bin/" } } In your terminal we can install it using the following command:composer updateWe should now be able to run the bin/behat command to work…