Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
26 changes: 0 additions & 26 deletions .buildkite/pipeline.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/disabled_workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on: [push]
name: Code analysis

jobs:
test:
runs-on: ubuntu-16.04
name: check tests
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: testomatio/check-tests@stable
with:
framework: cypress
tests: "./cypress/integration/examples/**.spec.js"
token: ${{ secrets.GITHUB_TOKEN }}
has-tests-label: true
File renamed without changes.
File renamed without changes.
File renamed without changes.
17 changes: 0 additions & 17 deletions .github/workflows/checks.yml

This file was deleted.

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ cypress/fixtures/users.json
.history
.vscode
env
.DS_Store
98 changes: 0 additions & 98 deletions .semaphore/semaphore.yml

This file was deleted.

31 changes: 7 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,42 +13,25 @@ To see the kitchen sink application, visit [example.cypress.io](https://example.

## CI status

[![amplifybutton](https://oneclick.amplifyapp.com/button.svg)](https://link.cypress.io/kitchensink-amplify-oneclick)

CI | Build status | basic config file | full parallel config
:--- | :--- | :--- | :---
AWS Amplify Console | | [amplify.yml](amplify.yml) |
AppVeyor | [![AppVeyor CI](https://ci.appveyor.com/api/projects/status/bo4x59pha1eb18de?svg=true)](https://ci.appveyor.com/project/cypress-io/cypress-example-kitchensink) | [appveyor.yml](appveyor.yml)
Azure CI | [![Build Status](https://cypress-io.visualstudio.com/cypress-example-kitchensink/_apis/build/status/cypress-io.cypress-example-kitchensink?branchName=master)](https://cypress-io.visualstudio.com/cypress-example-kitchensink/_build/latest?definitionId=2&branchName=master) | [basic/azure-ci.yml](basic/azure-ci.yml) | [azure-ci.yml](azure-ci.yml)
Buildkite | | [.buildkite/pipeline.yml](.buildkite/pipeline.yml)
Circle | [![CircleCI](https://circleci.com/gh/cypress-io/cypress-example-kitchensink/tree/master.svg?style=svg)](https://circleci.com/gh/cypress-io/cypress-example-kitchensink/tree/master) | [basic/circle.yml](basic/circle.yml) | [circle.yml](circle.yml)
Codeship Pro | [ ![Codeship Pro CI](https://app.codeship.com/projects/8d6a20c0-b70e-0133-41c6-56e5cd60fbd0/status?branch=master)](https://app.codeship.com/projects/134609) | [basic/codeship-pro](basic/codeship-pro)
GitHub Actions | [![Parallel tests status](https://github.com/cypress-io/cypress-example-kitchensink/workflows/Cypress%20parallel%20tests/badge.svg?branch=master)](https://github.com/cypress-io/cypress-example-kitchensink/actions) | [single.yml](.github/workflows/single.yml) | [parallel.yml](.github/workflows/parallel.yml)
GitLab | [![GitLab CI](https://gitlab.com/cypress-io/cypress-example-kitchensink/badges/master/pipeline.svg)](https://gitlab.com/cypress-io/cypress-example-kitchensink/commits/master) | [basic/.gitlab-ci.yml](basic/.gitlab-ci.yml) | [.gitlab-ci.yml](.gitlab-ci.yml)
Heroku CI | | [basic/app.json](basic/app.json) |
Jenkins | | [basic/Jenkinsfile](basic/Jenkinsfile) | [Jenkinsfile](Jenkinsfile)
Netlify | [![Netlify Status](https://api.netlify.com/api/v1/badges/016bd76b-ebfd-4071-94d9-8668afbb56f7/deploy-status)](https://app.netlify.com/sites/admiring-bose-97b8a4/deploys) | [netlify.toml](netlify.toml) |
Semaphore v2 | [![Project dashboard](https://cypress-io.semaphoreci.com/badges/cypress-example-kitchensink/branches/master.svg)](https://cypress-io.semaphoreci.com/projects/cypress-example-kitchensink) | [basic/.semaphore.yml](basic/.semaphore.yml) | [.semaphore/semaphore.yml](.semaphore/semaphore.yml)
Shippable | [![Shippable CI](https://api.shippable.com/projects/56c38fdc1895ca4474743010/badge?branch=master)](https://app.shippable.com/github/cypress-io/cypress-example-kitchensink) | [shippable.yml](shippable.yml)
Travis | [![Travis CI](https://travis-ci.org/cypress-io/cypress-example-kitchensink.svg?branch=master)](https://travis-ci.org/cypress-io/cypress-example-kitchensink) | [basic/.travis.yml](basic/.travis.yml) | [.travis.yml](.travis.yml)
https://app.circleci.com/pipelines/github/berzerk-interactive/cypress-example-kitchensink?branch=test%2Ftwo

You can find all CI results recorded on the [![Cypress Dashboard](https://img.shields.io/badge/cypress-dashboard-brightgreen.svg)](https://dashboard.cypress.io/#/projects/4b7344/runs)

If you are looking for BitBucket Pipelines example, check out [bitbucket.org/cypress-io/cypress-example-kitchensink](https://bitbucket.org/cypress-io/cypress-example-kitchensink).

## CI Community Examples

CI | Url
:--- | :--- |
IBM Cloud CI | [Cloud Foundry](https://github.com/iamgollum/cypress-example-kitchensink/tree/281-ibm-cloud-pipeline)
GitLab CI | [Example caching when installing using Yarn](https://gitlab.com/bahmutov/cypress-yarn-gitlab-ci-example)
| CI | Url |
| :----------- | :------------------------------------------------------------------------------------------------------- |
| IBM Cloud CI | [Cloud Foundry](https://github.com/iamgollum/cypress-example-kitchensink/tree/281-ibm-cloud-pipeline) |
| GitLab CI | [Example caching when installing using Yarn](https://gitlab.com/bahmutov/cypress-yarn-gitlab-ci-example) |

## Help + Testing

**If you get stuck, here is more help:**

* [Gitter Chat](https://gitter.im/cypress-io/cypress)
* [Cypress Docs](https://on.cypress.io)
- [Gitter Chat](https://gitter.im/cypress-io/cypress)
- [Cypress Docs](https://on.cypress.io)

### 1. Fork this repo

Expand Down
4 changes: 2 additions & 2 deletions app/commands/location.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h4 id="location"><a href="https://on.cypress.io/location">cy.location()</a></h4
<p>To get <code>window.location</code>, use the <a href="https://on.cypress.io/location"><code>cy.location()</code></a> command.</p>
<pre><code class="javascript">cy.location().should((location) => {
expect(location.hash).to.be.empty
expect(location.href).to.eq('http://localhost:8080/commands/location')
expect(location.href).to.eq('http://${Cypress.env('host')}commands/location')
expect(location.host).to.eq('localhost:8080')
expect(location.hostname).to.eq('localhost')
expect(location.origin).to.eq('http://localhost:8080')
Expand All @@ -100,7 +100,7 @@ <h4 id="location"><a href="https://on.cypress.io/location">cy.location()</a></h4
<div class="col-xs-12">
<h4 id="url"><a href="https://on.cypress.io/url">cy.url()</a></h4>
<p>To get the current URL, use the <a href="https://on.cypress.io/url"><code>cy.url()</code></a> command.</p>
<pre><code class="javascript">cy.url().should('eq', 'http://localhost:8080/commands/location')</code></pre>
<pre><code class="javascript">cy.url().should('eq', 'http://${Cypress.env('host')}commands/location')</code></pre>
</div>

<div class="col-xs-12"><hr></div>
Expand Down
2 changes: 1 addition & 1 deletion app/commands/navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h4 id="reload"><a href="https://on.cypress.io/reload">cy.reload()</a></h4>
<div class="col-xs-12">
<h4 id="visit"><a href="https://on.cypress.io/visit">cy.visit()</a></h4>
<p>To visit a remote page, use the <a href="https://on.cypress.io/visit"><code>cy.visit()</code></a> command.</p>
<pre><code class="javascript">cy.visit('http://localhost:8080/commands/navigation', {
<pre><code class="javascript">cy.visit(`http://${Cypress.env('host')}commands/navigation', {
timeout: 50000, // increase total time for the visit to resolve
onBeforeLoad: function(contentWindow){
// contentWindow is the remote page's window object
Expand Down
4 changes: 2 additions & 2 deletions app/commands/spies-stubs-clocks.html
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ <h4 id="clock"><a href="https://on.cypress.io/clock">cy.clock()</a></h4>
const now = new Date(Date.UTC(2017, 2, 14)).getTime()

cy.clock(now)
cy.visit('http://localhost:8080/commands/spies-stubs-clocks')
cy.visit(`http://${Cypress.env('host')}commands/spies-stubs-clocks')
cy.get('#clock-div').click()
.should('have.text', '1489449600')</code></pre>
</div>
Expand All @@ -155,7 +155,7 @@ <h4 id="tick"><a href="https://on.cypress.io/tick">cy.tick()</a></h4>
const now = new Date(Date.UTC(2017, 2, 14)).getTime()

cy.clock(now)
cy.visit('http://localhost:8080/commands/spies-stubs-clocks')
cy.visit(`http://${Cypress.env('host')}commands/spies-stubs-clocks')
cy.get('#tick-div').click()
.should('have.text', '1489449600')
cy.tick(10000) // 10 seconds passed
Expand Down
41 changes: 0 additions & 41 deletions appveyor.yml

This file was deleted.

Loading