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

@cypress/core-desktop-gui

v0.4.9

Published

Desktop GUI for managing Cypress projects.

Downloads

112

Readme

Cypress Core Desktop Gui CircleCI

core-desktop-gui

The desktop GUI is the desktop application installed to the user's OS using the cypress install command from the Cypress CLI or through direct download.

The desktop GUI has the following responsibilities:

  • Allowing users to login through GitHub.
  • Allowing users to add projects to be tested in Cypress.
  • Displaying existing projects and allowing the removal of projects.
  • Initializing the server to run on a specific project.
  • Allowing users to choose a specific browser to run tests within.
  • Displaying the resolved configuration of a running project.
  • Displaying the list of tests of a running project.
  • Initializing the run of a specific test file or all tests chosen by the user.
  • Notifying users of updates to Cypress and initializing update process.

Installing

npm install @cypress/core-desktop-gui

Developing

To run the GUI in dev mode, you need to run the Cypress App.

  • Navigate to cypress-app and run the following commands:
npm i
npm start

The GUI should now be in your taskbar. Click in the taskbar to open it.

In your console, you will probably see the following error:

Error: connect ECONNREFUSED 127.0.0.1:1234
 > It looks like you're not running the local api server in development. This may cause problems running the GUI.

In order to access the api to do things like logging into the GUI, we need to run the Cypress API. Navigate to cypress-api and run the following commands:

npm i
npm start

If you get any errors doing the above commands, go through the install instructions of the cypress-api app.

Testing

npm test

Debugging

If you want to see the ipc events which are pending from Cypress tests:

  • Switch to 'Your App' frame
  • App.ipc() <-- returns you object with pending events

License

MIT

Changelog

0.4.9 - (04/20/17)

  • bump cypress deps

0.4.8 - (04/14/17)

  • properly await browser closing
  • new spec data structure

0.4.7 - (04/12/17)

  • colorize browser icons
  • display browser tooltip + icon
  • update ipc events

0.4.6 - (03/07/17)

  • provide help links to explain orgs + access

0.4.5 - (02/11/17)

  • added --record flag

0.4.4 - (02/11/17)

  • more slug renaming

0.4.3 - (02/10/17)

  • updated content
  • renamed slugs

0.4.2 - (02/10/17)

  • merged missed PR

0.4.1 - (02/10/17)

  • display runs
  • new settings areas
  • request access
  • add project to Dashboard

0.4.0 - (01/04/17)

  • builds list, adding project for ci

0.3.15 - (01/29/17)

  • display all scaffolded files

0.3.14 - (01/29/17)

  • LGPL -> MIT
  • correctly replace new lines on errors
  • rename sessionToken -> authToken
  • display full list of scaffolded files

0.3.13 - (11/15/16)

  • camelize session token

0.3.12 - (11/14/16)

  • fix missing lib js file

0.3.11 - (11/14/16)

  • updated config to display 'env' property instead of inaccurately named 'environmentVariables' property

0.3.10 - (10/14/16)

  • missing lib folder

0.3.9 - (10/14/16)

  • fixed errors with undefined values being called

0.3.8 - (10/13/16)

  • explain how to manually update cypress during update fail

0.3.7 - (10/05/16)

  • shrinkwrap to prevent breaking dep change

0.3.6 - (10/03/16)

  • deploy proper prod files, fix mobx action undefined values

0.3.5 - (09/13/16)

  • previously chosen browser is saved per user and selected by default

0.3.4 - (08/31/16)

  • fix github focus button

0.3.3 - (08/30/16)

  • added applying updates view

0.3.2 - (08/30/16)

  • fixes dist dir and updates.html

0.3.1 - (08/30/16)

  • fix for incorrect references in index.html

0.3.0 - (08/30/16)

  • new UI, migrated to react

0.2.2

  • renamed Login -> Log In

0.2.1

  • internal updates to cypress.json settings change notification

0.2.0

  • display list of launchable browsers
  • handle error when no browsers available

0.1.5

  • updated node version to 5.10.0

0.1.4

  • added link to gitter chat in options popup

0.1.3

  • added specific error msg and link to docs on unauthed login

0.1.2

  • updated license

0.1.1

  • renamed to cypress-core-desktop-gui
  • removed dead code

0.1.0

  • initial release