Skip to content

Instantly share code, notes, and snippets.

View jennifer-shehane's full-sized avatar

Jennifer Shehane jennifer-shehane

View GitHub Profile
@jennifer-shehane
jennifer-shehane / alias_error.coffee
Created July 1, 2016 20:27
config fixture is being aliased on click
describe "Specs List", ->
beforeEach ->
@firstProjectName = "My-Fake-Project"
cy
.visit("/")
.window().then (win) ->
{@ipc, @App} = win
@agents = cy.agents()
@ipc.handle("get:options", null, {})
  • set tooltips instead of titles for config highlighted values
  • fix how dropdowns in the nav look.
  • work on getting empty project tooltip closer to the Add Project button.
  • spacing in empty project view needs some work.
  • increase length of project path on projects list
  • when you right click on project, the project should still be highlighted that you right clicked on
  • add a 'close' button to get rid of the error on "project add"
  • when project is added to list, scrollIntroView the added project.
  • when 1 browser available in 'dropdown', the button should not 'highlight' on hover
  • make the errors be contained
err
Process: Cypress [9204]
Path: /Users/USER/*/Cypress.app/Contents/MacOS/Cypress
Identifier: com.electron.cypress
Version: 1.0.2 (1.0.2)
Code Type: X86-64 (Native)
Parent Process: node [9202]
Responsible: Terminal [32568]
User ID: 501
@jennifer-shehane
jennifer-shehane / changelog_updates.md
Last active August 5, 2016 15:41
0.17.0 Changelog

0.17.0 ()

Notes:

Overview:

  • The desktop application has been completely redesigned. On Mac, the application can now be found in the dock instead of the tray. The list of projects is now in the same window as the list of tests in a project. As each test runs, the application will highlight the currently running spec and display the browser as running. The configuration of a project is now displayed in it's own tab. There is now a Menu where you can logout, check for updates, or view help links.
  • The test runner has been rebuilt from the ground up in React.js. The Command Log (the left side of the runner) and the Application Preview (the right side of the runner) are now seperate applications. This, as well as other changes, markedly improved the performance of running tests. Your tests will now run faster.

Breaking Changes:

  • explain no longer being able to visit different domains in same test.

Login

Login not authenticated

Login error

Logging in

0.19.2 (----date---)

Notes:

Overview:

  • You can now run your tests in the Electron browser and will see it as an option in the browser dropdown. The Electron browser is a version of Chrome that ships with Electron. It's the browser used when running Cypress headlessly, so it may be useful for debugging issues that only occur during headless runs. Addresses #452

Features:

Bugfixes:

@jennifer-shehane
jennifer-shehane / normal-cy-open.log
Created February 1, 2018 20:39
Normal cypress open log
DEBUG=cypress:* ./node_modules/.bin/cypress open
cypress:cli cli starts with arguments ["/Users/jennifer/.nvm/versions/node/v6.5.0/bin/node","/Users/jennifer/Dev/Projects/cypress-example-kitchensink/node_modules/.bin/cypress","open"] +0ms
cypress:cli program parsing arguments +3ms
cypress:cli opening Cypress +1ms
cypress:cli parsed cli options {} +236ms
cypress:cli opening from options {"project":"/Users/jennifer/Dev/Projects/cypress-example-kitchensink"} +0ms
cypress:cli command line arguments ["--project","/Users/jennifer/Dev/Projects/cypress-example-kitchensink"] +0ms
cypress:cli verifying Cypress app +0ms
cypress:cli path to info.json file /Users/jennifer/Dev/Projects/cypress-example-kitchensink/node_modules/cypress/dist/info.json +0ms
cypress:cli { version: '1.4.1', verifiedVersion: '1.4.1' } +4ms
## Tests to make sure we're calling auth0 correctly
context "popup display on login", ->
it "displays github popup", ->
cy.visit("/#/login", {
onLoad: (win) ->
@loginWithPopup = cy.stub(win.Auth0.prototype, "loginWithPopup")
})
cy.contains("Log In with GitHub").click()
.then ->
! function() {
function t(t) {
t = t || {}, t.marginTop = t.marginTop || t.margin || 0, t.marginBottom = t.marginBottom || t.margin || 0;
var e = r(o),
n = r("#stalker"),
l = e.scrollTop(),
a = e.height(),
s = Math.max(0, i(this[0]) - t.marginTop),
h = t.marginTop + this.outerHeight() + t.marginBottom,
c = l;
!function() {
function t(t) {
t = t || {},
t.marginTop = t.marginTop || t.margin || 0,
t.marginBottom = t.marginBottom || t.margin || 0;
var e = r(o)
, n = r("#stalker")
, l = e.scrollTop()
, a = e.height()
, s = Math.max(0, i(this[0]) - t.marginTop)