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 / 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.
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
  • 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
@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, {})
import { computed, observable, action } from 'mobx'
class Projects {
@observable projects = []
constructor (projects) {
this.projects = projects
}
removeProject (projectId) {
@jennifer-shehane
jennifer-shehane / domain-store.js
Created June 15, 2016 15:10
Example domain store in mobx
import {observable, autorun} from 'mobx';
import uuid from 'node-uuid';
export class TodoStore {
authorStore;
transportLayer;
@observable todos = [];
@observable isLoading = true;
constructor(transportLayer, authorStore) {
@jennifer-shehane
jennifer-shehane / cypress_example_spec.js
Last active December 4, 2017 11:47
Selenium versus Cypress.io
describe('Kitchen Sink', function(){
it('cy.should - assert that <title> is correct', function(){
cy
.visit('https://example.cypress.io/')
.title().should('include', 'Kitchen Sink')
})
context('Querying', function(){
beforeEach(function(){
cy.visit('https://example.cypress.io/commands/querying')
@jennifer-shehane
jennifer-shehane / index.html
Created April 28, 2016 00:01
Intro to JS in-class exercises
<!DOCTYPE html>
<html>
<head>
<title>Test Page</title>
</head>
<body>
<p>This is awesome JS code.</p>
<script src="mycode.js"></script>
</body>
</html>
@jennifer-shehane
jennifer-shehane / entity.coffee
Created November 23, 2015 19:47
CypressError: The XHR server is unavailable or missing. This should never happen and likely is a bug. Open an issue if you see this message.
describe "Folder File Entity [a7v]", ->
before ->
@visit()
describe "Folder Entity [66f]", ->
before ->
@visit()
cy.server(delay: 600)
it "foos [2a7]", ->