I hereby claim:
- I am aleccool213 on github.
- I am aleccool21 (https://keybase.io/aleccool21) on keybase.
- I have a public key whose fingerprint is CC4C 06E6 ACC3 42C1 BF87 6B87 C4FD 4BBC BB20 0FA5
To claim this, I am signing this object:
cypress-my-app: | |
working_directory: '~/Development/myapp' | |
parallelism: 3 | |
steps: | |
- run: | |
name: 'Run cypress tests' | |
command: | | |
cypress run --record -- --parallel --group $CIRCLE_JOB --ci-build-id $CIRCLE_WORKFLOW_ID |
/** | |
* Takes a snapshot of the application at the moment this method is called. | |
* | |
* When running in headless mode, it takes a snapshot with Percy, which is | |
* useful for testing purposes when integrated with our CI process. | |
* | |
* When running in headed mode, it takes a Cypress screenshot instead, | |
* which is more useful for allowing a developer to see a preview. | |
* | |
* @param description A string that describes the snapshot. |
import { Given } from 'cypress-cucumber-preprocessor/steps'; | |
Given('I am on DuckDuckGos website', () => { | |
cy.visit('https://duckduckgo.com'); | |
}); | |
When('the search phrase "panda" is entered', () => { | |
... | |
}); |
Feature: Searching on DuckDuckGo | |
As a web surfer, I want to search DuckDuckGo, so that I can learn new things. | |
Background: | |
Given I am on DuckDuckGos website | |
Scenario: Simple DuckDuckGo search | |
When the search phrase "panda" is entered | |
Then results for "panda" are shown |
declare global { | |
namespace Cypress { | |
interface Chainable<Subject> { | |
createFooBar: () => Chainable<string>; | |
} | |
} | |
} | |
/** | |
* Creates a foo and returns a bar. |
describe("The Home Page", () => { | |
it("successfully loads", () => { | |
cy.visit("/"); | |
}); | |
it("can visit a blog post link from the home page", () => { | |
cy.visit("/"); | |
cy.get("#post-page-link").click(); |
import { IFieldResolver } from 'graphql-tools'; | |
import { DocumentNode } from 'graphql'; | |
import { ResolverContext } from '.'; | |
interface InputVariablesShape<TInput> { | |
input: TInput; | |
} | |
/** |
{ | |
"nodes": [ | |
{ | |
"id": "n0", | |
"label": "A node", | |
"x": 0, | |
"y": 0, | |
"size": 3 | |
}, | |
{ |
{ | |
"nodes": [ | |
{ | |
"id": "n0", | |
"label": "A node", | |
"x": 0, | |
"y": 0, | |
"size": 3 | |
}, | |
{ |
I hereby claim:
To claim this, I am signing this object: