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

testsuite1

v2.0.7

Published

A package containing E2E testcases for a web assignment

Downloads

3

Readme

UWIDCIT Test Suite 1

Version 2.0.7 A collection of E2E test cases

Installation

$ npm i --save testsuite1

Then require the package in your mocha test file:

//inside test.js
const testsuite1 = require('testsuite1');

Running Tests

Ensure your site is running on http://localhost:8080/index.html then execute your test using mocha.comment

$ mocha test.js

Design

The page shoulg implement the following design:

design diagram

Test Cases

| Number | Test Suite | Tests | |--------|------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | 1 | Should have the appropriate Title | Page should have "The Pigeon Site" as the title | | 2 | Should have the specified body structure | Should have an element for the top of the page Should have an element for containing navigation links Should have an element for the foot of the page Should have an element for the main content Should have a 2nd child element of the main content the body should have no space outside of its border the body should have no space between its content and border the body should be coloured black the body should have a minimum height of its parent | | 3 | Should have navigation links | Should have an element for a navigation bar Should have a bulleted list child element of the navigation bar Should have a bulleted list of 2 items Should have each list item containing a link Should have links that jump to a section of the page | | 4 | Should have a picture section | Should have an element with appropriate id Should have an heading 1 element with the content "Picture" Should have should have an element that properly references pigeon.jpg should have a width of 500px | | 5 | Should have trivia section | Should have an element with an appropriate id Should have an heading 1 element with the content "Picture" Should have an element with collapsible text Should have 3 collapsible elements Should have the specified trivia content should be coloured #D9DCD6 for the summary should have a padding of 1 em for the summary should be spaced 1em between the content and border for the de | | 6 | Should have a famous pigeons section | Should have an element with appropriate id Should have an heading 1 element with the content "Famous Pigeons" Should have an tabulation of pigeon data of the appropriate structure Should have 3 rows Should have the specified content in the given order should have a spacing of 1em between its content and borders in the table cells should have a solid 1px thick rgb(221, 221, 221) coloured border around the table cells should have its table cell text aligned left should have a spacing of 1em between its content and borders in the table header should have a solid 1px thick rgb(221, 221, 221) coloured border around the table headers should have its table header text aligned left | | 7 | Should have contact section | Should have an email input Should have an input for long text Should have an submit button with the text "submit" Should have and "Email" as the first label in form Should have and "Message" as the second label in form with a form with a 1 em spacing between the content and border have all form labels displayed in line | | 8 | Every Section | should have a spacing of 1em between the content and border should be 500px tall should be should be spaced automatically outside of its left border should be should be spaced automatically outside of its right border should be coloured white should be 80% of its parent's width should have its corners rounded by 4px should have a space 1.5em space between its content and border |