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

@bigbinary/neeto-playwright-commons

v1.13.10

Published

A package encapsulating common playwright code across neeto projects.

Downloads

2,502

Readme

neeto-playwright-commons

A library that packages common boilerplate Playwright code necessary for all neeto products.

Installation Instructions

Install from npm:

yarn add "@bigbinary/neeto-playwright-commons@latest"

Dependencies

neetoPlaywrightCommons has some peer dependencies which can be installed using the commands listed below:

neeto-cist

A collection of common utility functions used across all our neeto products. Try out the utility functions live at neetoCommons REPL.

yarn add @bigbinary/neeto-cist

faker

Faker is used to generate fake data.

yarn add @faker-js/faker

playwright/test

yarn add @playwright/test

lint-staged

Run linters against staged git files.

yarn add lint-staged

dotenv-webpack

dotenv-webpack is a secure webpack plugin that supports dotenv and other environment variables.

yarn add dotenv-webpack

mailosaur

Using Mailosaur you can automate email and SMS tests.

yarn add mailosaur

dayjs

Dayjs is a JavaScript library that parses, validates, manipulates, and displays dates and times.

yarn add dayjs

ramda

Ramda is a JavaScript library that facilitates functional programming in JavaScript. It provides a collection of utility functions that operate on data.

yarn add ramda

playwright-i18next-fixture

Use your i18next translations in Playwright to create multi-language selectors.

yarn add playwright-i18next-fixture

We can install all the above peer dependencies by running a single command.

yarn add @bigbinary/neeto-cist @faker-js/faker @playwright/test lint-staged dotenv-webpack mailosaur dayjs ramda playwright-i18next-fixture

External dependencies

Methods

mailosaurUtils

Note: ENV variables MAILOUSAUR_KEY and MAILOSAUR_SERVER_ID are required for this methods to work.

We can find MAILOUSAUR_KEY by visiting https://mailosaur.com/app/account/keys and MAILOSAUR_SERVER_ID by visiting https://mailosaur.com/app/servers

Slack integration methods

Note: Either ENV variables SLACK_WORKSPACE, SLACK_LOGIN_PASSWORD and SLACK_LOGIN_EMAIL is required for this method to work or custom credentials workspace, loginPassword and loginEmail must be passed.

Zapier integration methods

Note: ENV variables INTEGRATION_MAILOSAUR_API_KEY, INTEGRATION_MAILOSAUR_SERVER_ID, ZAPIER_LOGIN_PASSWORD, ZAPIER_LOGIN_EMAIL, and ZAP_ID are required for this methods to work.

We can find INTEGRATION_MAILOSAUR_SERVER_ID by visiting https://mailosaur.com/app/servers and INTEGRATION_MAILOSAUR_API_KEY by visiting https://mailosaur.com/app/servers/ymn2s6kt/keys

Usage

You can import the utility functions and constants from the @bigbinary/neeto-playwright-commons wherever required.

import { COMMON_SELECTORS } from "@bigbinary/neeto-playwright-common";

Exported Functions

Other references