Practical End 2 End Testing with CodeceptJS
Practical End 2 End Testing with CodeceptJS
$5.68
Minimum price
$11.36
Suggested price
Practical End 2 End Testing with CodeceptJS

This book is 90% complete

Last updated on 2019-05-30

About the Book

Easily automate manual tests in a very practical way. Be guided how to write and run automated end 2 end tests in CI and in the cloud successfully. The book is written for developers with technical background, basics are not explained, the book focuses on the main topic: Modern end to end testing tests with CodeceptJS.

The book does not explain WHY to use CodeceptJS nor its basics.

  • Share this book

  • Feedback

    You must own a copy of this Book to access the forums

    Email the Author(s)

About the Author

Paul Vincent Beigang
Paul Vincent Beigang

I love test automation

Table of Contents

  • 1. Preparation for End 2 End Testing with CodeceptJS
    • 1.1 Application, Feature & Scenario under Test
    • 1.2 Node.js Setup
    • 1.3 Java Setup
    • 1.4 Google Chrome
  • 2. Setup CodeceptJS with WebdriverIO
  • 3. Create Your First CodeceptJS Test
    • 3.1 Scenario Description
    • 3.2 Test Steps
  • 4. Run Your First CodeceptJS Test Locally
    • 4.1 Start Selenium Server
    • 4.2 Run the Test
  • 5. Run Test on BrowserStack Against with the Safari Browser
    • 5.1 Sign Up for a Free BrowserStack Account
    • 5.2 Get BrowserStack Automate Credentials
    • 5.4 Run Tests on BrowserStack
    • 5.5 Install CodeceptJS BrowserStack Helper
  • 6. How to Debug & Fix a Failing E2E Test
    • 6.1 Debug Failing Safari Test Run - Ask the Right Questions
    • 6.2 What does the error message really say?
    • 6.3 What is the context of the error? Which exact steps led to the error?
    • 6.4 Watch Video Recording on BrowserStack
    • 6.5 Try to Reproduce the Failure Locally
    • 6.6 Use CodeceptJS “pause()” to Start an Interactive Shell Session
    • 6.7.1 Verify the Failing Locator Locally
    • 6.7.2 Simulate “wait” with “pause()”
    • 6.8 Try to factor out timing issues
    • 6.9 More Tipps on Fixing Test Failures
    • 6.9.1 Update to latest CodeceptJS version
    • 6.9.2 Update to latest WebDriverIO version
    • 6.9.3 Update to latest selenium-standalone & selenium version
    • 6.9.4 Update to latest Browser Driver & Browser Version
    • 6.9.5 Get a Better Understanding of your AUT
    • 6.9.6 Screen Resolution
    • 6.9.7 Ask for Help
  • 7. Run a CodeceptJS Test in GitLab´s Continuous Integration (CI) Environment
    • 7.1 GitLab CI & Git Repo Setup
    • 7.2 Setup CI Chrome Test Run
    • 7.3 GitLab CI Artifacts
  • 8. Delicious Test Reports With Allure
  • 9. Bonus Chapter
    • 9.1 Refactor Your First Test to Page Object Usage
    • 9.2 Use .env to remove BrowserStack credential duplication and store sensitive data
    • 9.3 Switch between local Test Run and BrowserStack Test Run Locally
    • 9.3 Run a Test against Multiple Browsers in the BrowserStack Cloud
    • 9.4 Utilize BrowserStacks Raw Selenium Logs
    • 9.5 Use WebStorm with Node.js Debugger to Dive into CodeceptJS
    • 9.6 The best way to get help
  • 10. More Info
    • 10.1 Target Group
    • 10.2 Context

Causes Supported

Prison Yoga Project

You may never set foot in prison but you can change a prisoner's life.
http://www.prisonyoga.org

The Prison Yoga Project is dedicated to bringing yoga and mindfulness to incarcerated and at risk populations in the US and worldwide.

With twelve years of experience teaching yoga and mindfulness in San Quentin State Prison, James Fox founded Prison Yoga Project to bring his unique methodology to prisons and rehabilitation facilities everywhere. We believe in Restorative Justice and victim-offender education. We provide a cost-effective method of improving prisoner health with a focus on changing behavior; we believe in addressing the damage done and providing tools for self rehabilitation. We’ve helped hundreds of prisoners by instilling self-control and fostering accountability. While they’re ‘doing time,’ we focus on violence prevention, impulse control, mood disorders, depression, despair, addiction and PTSD. We have trained over 600 teachers in the last three years and have operating classes in over 50 American prisons and dozens of rehab facilities. Prison Yoga Project is fiscally sponsored by Give Back Yoga Foundation, a 501 (c) (3) corporation.

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Free Updates. Free App. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers), EPUB (for phones and tablets), MOBI (for Kindle) and in the free Leanpub App (for Mac, Windows, iOS and Android). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub