{"id":26064797,"url":"https://github.com/syncano/syncano-testing-examples","last_synced_at":"2025-04-11T14:11:10.456Z","repository":{"id":77440740,"uuid":"49267526","full_name":"Syncano/syncano-testing-examples","owner":"Syncano","description":"Nightwatch End to End testing examples for React applications","archived":false,"fork":false,"pushed_at":"2016-12-12T10:59:43.000Z","size":47,"stargazers_count":46,"open_issues_count":3,"forks_count":11,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-25T10:21:23.949Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.syncano.io/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Syncano.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-08T11:05:11.000Z","updated_at":"2021-01-12T09:58:07.000Z","dependencies_parsed_at":null,"dependency_job_id":"e7cc5183-7e5e-4693-af46-92df832dddd3","html_url":"https://github.com/Syncano/syncano-testing-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-testing-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-testing-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-testing-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syncano%2Fsyncano-testing-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syncano","download_url":"https://codeload.github.com/Syncano/syncano-testing-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248414196,"owners_count":21099437,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-08T18:49:23.638Z","updated_at":"2025-04-11T14:11:10.449Z","avatar_url":"https://github.com/Syncano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Syncano Testing Examples\n[![Slack Status](https://img.shields.io/badge/chat-on_slack-blue.svg)](https://www.syncano.io/slack-invite/)\n\nEnd to End testing of React applications with Nightwatch\n\n## Introduction\nIn the mid of 2015 our front-end team took the challenge of rebuilding the entire Dashboard from scratch. In a matter of three months we built a new version using the [React](https://github.com/facebook/react) library. Since it was hard to keep up with writing unit tests at such demanding pace we decided that end-to-end (e2e) will be our go-to test strategy.\n\nThe most obvious choice for e2e tests is [Selenium](https://github.com/SeleniumHQ/selenium) but there are many language bindings and frameworks to choose from. Eventually we settled on [Nightwatch.js](http://nightwatchjs.org/).\n\nWe wanted to share our experience, thus we have created this repository holding all our blog posts with code examples.\nEvery part of it will be organized in a separate folder beginning with `part-` and number representing the blog posts number in the series.\n\n## Table of Contents\n\nPart Title | Folder\n---------- | --------------\nEnd to End testing of React apps with Nightwatch | [Part 1](part-1/)\nBefore(), after() hooks and custom commands in Nightwatch | [Part 2](part-2/)\nData Driven Testing at Syncano | [Part 3](part-3/)\n\n## Requirements\nFirst thing you need to do is to install [Node.js](https://nodejs.org/en/) if you don’t yet have it. You can find the installation instructions on the Node.js project page. Once you have node installed, you can take advantage of it’s package manager called `npm`.\n\nYou will also `need`:\n- [Chrome Browser](https://www.google.com/chrome/)\n- [Java v8](https://java.com/en/download/)\n- [Java Development Kit](http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html)\n- [Syncano Dashboard Account](https://dashboard.syncano.io/#/signup)\n\nAs they are all required for `Selenium` and `Nightwatch` to work properly.\n\n## Installation\n\nBefore you will be able to run any tests you should install proper `part` in it's folder. To do so just follow examples below, where `X` is post number/directory.\n\n```sh\n$ cd part-X/\n$ npm install\n$ npm run e2e-setup\n```\nNow you have installed all dependancies using `npm` and executed `node` script that installs selenium.\n\n## Contact\n\nIf you have any questions, or just want to say hi, drop us a line at [support@syncano.com](mailto:support@syncano.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncano%2Fsyncano-testing-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyncano%2Fsyncano-testing-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyncano%2Fsyncano-testing-examples/lists"}