npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@aofl/wdio

v3.14.0

Published

@aofl/wdio is an end to end testing framework that serves as a wrapper for WebDriverIO's test framework. Our package is application agnostic, but additional commands for interacting and testing Web Components have been added to reflect the bulk of testing

Downloads

28

Readme

@aofl/wdio

@aofl/wdio is an end to end testing framework that serves as a wrapper for WebDriverIO's test framework. Our package is application agnostic, but additional commands for interacting and testing Web Components have been added to reflect the bulk of testing we do here. Setup is easy and you can start writing tests for your application within minutes of installing this package.

Installation

  1. Run the following command in your application.
npm i -D @aofl/wdio
  1. {Placeholder for running the aoflwdio init command}
  2. In the .aoflwdio.js file created by the aoflwdio init command, setup your applications config options
    • This file serves as your configuration file for defining your test runner options.
    • Configurations such as device capabilities, logging, and others are defined in this file
    • Refer to https://webdriver.io/docs/options.html for a breakdown of options for this file.
  3. Your all set! Start writing your tests!

Usage

Once your .aoflwdio.js has been updated with your applications config options, and your test specs have been written, simply run:

aoflwdio run-test

Help

You can use the help command at program level and at command level.

program level

$ aoflwdio --help

#  Usage: aoflwdio [options]
#
#  Options:
#
#    -V, --version          output the version number
#    -h, --help             output usage information
#
#  Commands:
#
#    init                Initializes an aoflwdio project
#    run-test <options>  Download an npm module into your project
#    help [cmd]          Display help for [cmd]
#
#  Examples:
#
#    aoflwdio --help
#    aoflwdio run-test

Command level

$ aoflwdio help g

#  Usage: aoflwdio run-test [options]
#
#  Options:
#
#    -h, --help             output usage information
#    -w, --watch            Watches for filesystem changes
#    --suite [suiteName]    Run specific test suites
#    --spec [path]          Run specific test spec files
#    --debug                Sets logging to verbose globally
#    --config [path]        Specify the path to the config file.
#
#  Examples:
#
#    aoflwdio help
#    aoflwdio run-test --suite login
#    aoflwdio run-test

Presets

(wip)

Page and Element Docs

(wip)

Addtional Information

WebDriver.io has a great ecosystem of plug-ins and services that extend the functionality of the WebDriver.io test runner. For our purposes, we provide support for only a subset of those services. The following services are supported by @aofl/wdio:

Appium Service (Tentative)
Selenium Service
Intercept Service
Applitools Service (Tentative)
Crossbrowsertesting Service (Tentative)
Browserstack Service (Tentative)
Sauce Service (Tentative)

WebDriver's Documentation

WebDriver.io Guide
WebDriver.io API Documentation