Giter Site home page Giter Site logo

nightwatch-test's Introduction

This repo contains a simple login form which takes the user to a logged in webpage. The code for the pages can be found under the public folder.

As well as a test using nightwatch that opens the login form webpage, fills in the user name and password, clicks on submit, waits for logged in page to be visible.

The login form takes randomly 1-10 seconds to submit while the tests expects he page to load within 5 seconds. That means the test can fail and succeed randomly.

The tests can be found in the 'tests' folder.

Website: link to deployed site

Repo: link to github repo

Prerequisites

Project was created with the following versions of node and npm:

$ node -v
v10.15.3
$ npm -v
6.11.3

Get Started

  1. Clone repo: https://github.com/havard024/nightwatch-test.git or download as zip from repo
  2. Install dependencies: npm install
  3. Run tests: npm test

nightwatch-test's People

Contributors

havard024 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.