Automated Testing Conferences

TestBash Sydney: Automated e2e Testing at

This is an approximate transcript of the talk I delivered at TestBash in Sydney on Friday 19th October 2018.

Alister Scott Test Bash Sydney Oct 2018-1-1

Today I’d like to share my story about how we started with automated end to end testing at since I started at Automattic over 3 years ago.

Alister Scott Test Bash Sydney Oct 2018 2-2

Ask Me Anything

AMA: How to be a better blogger

Since the AMAs are coming in very fast (but please keep them coming!): I’m going to start answering these one by one (following my own advice below).

Sunil Kapil writes…

“I really love your blog and read it regularly. I also liked your this year talk in GTAC about flaky tests.”

“I am also as Tool/Automation engineer and write blog time to time. I find it hard to figure out which topic should I cover and how to organize the content of my blog. would like to to know, if you have any tips about that.”

My response…

I’ve had quite a few people ask me about this topic. There’s a great Mark Twain quote that I love that applies well to blogging:

“The secret of getting ahead is getting started. The secret of getting started is breaking your complex overwhelming tasks into small manageable tasks, and starting on the first one.”

So, following Twain’s advice, the secret to getting ahead with blogging is to start writing small blog posts frequently, and the secret to starting writing blog posts frequently is make them as small as you possibly can so that the barrier to publishing them is so low you’ll keep wanting to do it.

Rather than trying to organise the content of your blog up front, just start writing and let it flow. Imagine a riverbed gradually forming over time: a river doesn’t know where to flow before it’s started: at first the water just flows anywhere and everywhere, but over time a pattern or channel will emerge so you can follow that to shape your blog’s content. Be sure to use tags and categories so you can see what you’re writing about and what people are looking for.

The best topics I have found to start writing about are exact problems you’ve faced in your work and how you went about solving them, even if you haven’t fully solved them, because chances are there will be lots of people with those exact same problems at a point in time.

Once you start writing you may get questions and feedback, so make sure you use that to shape what you write about next, this will become your riverbed.

I also like the idea of strong opinions; weakly held. So find a topic (bonus points if it’s contentious) and write a particularly strong view on it, but be very open to feedback and changing your mind on it, even if it’s in the next blog post you write.

I’ve found the actual blogging platform doesn’t matter as much per say, but the thing that does matter is the channels which you use to spread your ideas. One reason I love so much (where I work and where this site is hosted: shameless plug) is every post of mine is automatically publicised to LinkedIn, my @watirmelon twitter account and to over 600 email subscribers. Use this power to spread the ideas of what you’re writing about.

I’ll conclude by paraphrasing Abraham Lincoln: the best thing about blogging is it comes one blog post at a time.

Automated Acceptance Testing Automated Testing JavaScript Mocha WebDriver

Getting Started with WebDriverJS & Mocha

See also: WebDriverJS & Mocha Part 2: Hooks

As more and more companies move towards having web user interfaces built using JavaScript (eg. React & AngularJS), as well as towards full stack JavaScript (Node.js), it seems JavaScript is becoming a ubiqutous programming language, with more and more developers mastering it.

It makes sense then to start writing automated acceptance tests in JavaScript using Node.js, as this lowers the barrier for more people to write acceptance tests.

I’ve recently started using WebDriverJS (the official Selenium JavaScript library) and Mocha to write automated acceptance tests for, and I want to share some of my findings so far.


An Automattician To Be

I am excited to announce I will be starting as a full time Excellence Wrangler for Automattic working on from this coming Monday.

Improve the quality of the experience through testing and triage. Your work will inform product teams to act on the top priority issues facing our users. Tasks include automated UI testing, creating and executing test plans, effective issue tracking and triage, and identifying and monitoring quality metrics.

I’ve dreamed about working for Automattic/ for a long time (I first wrote about working for Automattic in 2008), and with their newly created Excellence Wrangler roles this really is a dream come true.

WordPress is superbly simple yet beautifully powerful software that powers 24% of the Internet (including this blog), not only for blogs like this but sites for businesses, artist’s portfolios, hobbyists and giant media organizations like CNN and TIME.

Some amazing facts about Automattic and how I was hired:

  1. Automattic are 100% distributed with 395 staff across 36 countries all working from home or wherever they choose.
  2. I have already worked for Automattic for almost 3 months on a paid trial, where I was given a real project to work on in my spare time. This is a requirement for all new hires at Automattic. I can’t overstate how great this is, as it gave both Automattic and myself real exposure to each other before committing to a full time job. It now makes taking on a new job without a trial seem too daunting.
  3. Automattic does their entire interviewing/trial/hiring process via asynchronous text chat (Skype/Slack), including the final hiring discussion with Matt, so I have never spoken to a person from Automattic. Whilst this may seem unusual at first, it’s representative of how the company works in such a distributed way, and it’s a great way to eliminate all prejudice/bias from a hiring process as it’s all about what value someone can add, not what they look or sound like.
  4. Everyone who joins Automattic full time spends their first 3 weeks on support, regardless of their position. I am looking forward to this next week as it will give me broad insight into how is used by real customers by working as a ‘Happiness Engineer’: Genchi Genbutsu.

I can’t wait to be a part of the future of, so stay tuned for more updates as I begin this exciting next stage of my career.