GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - dfranklinau/webdriverio-tape: A demonstration of WebdriverIO running automated tests with the tape testing framework.

This repository was archived by the owner on Dec 31, 2019. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
tests
tests
 
 
.gitignore
.gitignore
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 

Repository files navigation

WebdriverIO + tape

This repository demonstrates how to use WebdriverIO with the tape test framework.

It includes a test file (tests/test.spec.js) that:

  1. opens the Firefox browser (as defined in tests/conf.js);
  2. visits the URL https://duckduckgo.com; and
  3. tests the title of the page to match an expected value.

Requirements

  • Docker with selenium-standalone installed; see here.

Installation

npm install

Getting started

Run the Docker service containing the Selenium server that will run all tests.

docker run -it -p 4444:4444 vvoyer/selenium-standalone

Run the example test:

npm test

The result should be something similar to the below output:

TAP version 13
# should visit DuckDuckGo
ok 1 should be equal

1..1
# tests 1
# pass  1

# ok

The example test checks the <title> tag of DuckDuckGo. If the test fails, it is because the title has changed (the output should indicate this).

Acknowledgements

Credit to Patrick Arlt for their gist that helped with the development of the test file.

About

A demonstration of WebdriverIO running automated tests with the tape testing framework.

Topics

tapewebdriverio

Resources

Readme
ISC license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.