Skip to content

chore: update app to cypress-example-kitchensink v5.0.0 #31825

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from
Draft
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
12 changes: 12 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2.1

jobs:
no_op:
docker:
- image: cimg/base:stable
steps:
- run: echo "no op as GH pages does not need a circle job to deploy. Disregard this job and related workflows..."
workflows:
main:
jobs:
- no_op
8 changes: 4 additions & 4 deletions commands/actions.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ <h4 id="type"><a href="https://on.cypress.io/type">.type()</a></h4>
cy.get('.action-email').type('{del}{selectall}{backspace}')

// .type() with key modifiers
cy.get('.action-email').type('{alt}{option}') //these are equivalent
cy.get('.action-email').type('{ctrl}{control}') //these are equivalent
cy.get('.action-email').type('{meta}{command}{cmd}') //these are equivalent
cy.get('.action-email').type('{alt}{option}') // these are equivalent
cy.get('.action-email').type('{ctrl}{control}') // these are equivalent
cy.get('.action-email').type('{meta}{command}{cmd}') // these are equivalent
cy.get('.action-email').type('{shift}')

// Delay each keypress by 0.1 sec
Expand Down Expand Up @@ -182,7 +182,7 @@ <h4 id="submit"><a href="https://on.cypress.io/submit">.submit()</a></h4>
<p>To submit a form, use the <a href="https://on.cypress.io/submit"><code>cy.submit()</code></a> command.</p>
<pre><code class="javascript">cy.get('.action-form')
.find('[type="text"]').type('HALFOFF')

cy.get('.action-form').submit()
cy.get('.action-form').next().should('contain', 'Your form has been submitted!')</code></pre>
</div>
Expand Down
3 changes: 2 additions & 1 deletion commands/misc.html
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ <h4 id="exec"><a href="https://on.cypress.io/exec">cy.exec()</a></h4>
if (Cypress.platform === 'win32') {
cy.exec('print cypress.config.js')
.its('stderr').should('be.empty')
} else {
}
else {
cy.exec('cat cypress.config.js')
.its('stderr').should('be.empty')

Expand Down
12 changes: 6 additions & 6 deletions commands/storage.html
Original file line number Diff line number Diff line change
Expand Up @@ -141,9 +141,9 @@ <h4><a href="https://on.cypress.io/getalllocalstorage">cy.getAllLocalStorage()</
expect(storageMap).to.deep.equal({
// other origins will also be present if localStorage is set on them
'https://example.cypress.io': {
'prop1': 'red',
'prop2': 'blue',
'prop3': 'magenta',
prop1: 'red',
prop2: 'blue',
prop3: 'magenta',
},
})
})</code></pre>
Expand Down Expand Up @@ -191,9 +191,9 @@ <h4><a href="https://on.cypress.io/getallsessionstorage">cy.getAllSessionStorage
expect(storageMap).to.deep.equal({
// other origins will also be present if sessionStorage is set on them
'https://example.cypress.io': {
'prop4': 'cyan',
'prop5': 'yellow',
'prop6': 'black',
prop4: 'cyan',
prop5: 'yellow',
prop6: 'black',
},
})
})</code></pre>
Expand Down
4 changes: 2 additions & 2 deletions commands/waiting.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,13 @@ <h4><a href="https://on.cypress.io/wait">cy.wait()</a></h4>
</div>
</div>
<div class="col-xs-12">
<p>More information:
<div>More information:
<ul>
<li><a href="https://www.cypress.io/blog/2019/12/23/asserting-network-calls-from-cypress-tests/">Asserting Network Calls from Cypress Tests</a> blog post</li>
<li><a href="https://github.com/cypress-io/cypress-example-recipes#unit-testing">Unit testing application code</a> recipe</li>
<li>Avoid hard-coded waits using built-in <a href="https://on.cypress.io/retry-ability">retry-ability</a></li>
</ul>
</p>
</div>
</div>

<div class="col-xs-12"><hr></div>
Expand Down
1 change: 0 additions & 1 deletion commands/window.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ <h4 id="title"><a href="https://on.cypress.io/title">cy.title()</a></h4>

<div class="col-xs-12"><hr></div>

</div>
</div>
</div>
</div>
Expand Down