Skip to content

Commit 90858cf

Browse files
authored
chore: update app to cypress-example-kitchensink v5.0.0 (#31825)
* chore: update app to cypress-example-kitchensink v5.0.0 * add no-op circleci
1 parent eb9bc4f commit 90858cf

File tree

6 files changed

+26
-14
lines changed

6 files changed

+26
-14
lines changed

.circleci/config.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2.1
2+
3+
jobs:
4+
no_op:
5+
docker:
6+
- image: cimg/base:stable
7+
steps:
8+
- run: echo "no op as GH pages does not need a circle job to deploy. Disregard this job and related workflows..."
9+
workflows:
10+
main:
11+
jobs:
12+
- no_op

commands/actions.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ <h4 id="type"><a href="https://on.cypress.io/type">.type()</a></h4>
8282
cy.get('.action-email').type('{del}{selectall}{backspace}')
8383

8484
// .type() with key modifiers
85-
cy.get('.action-email').type('{alt}{option}') //these are equivalent
86-
cy.get('.action-email').type('{ctrl}{control}') //these are equivalent
87-
cy.get('.action-email').type('{meta}{command}{cmd}') //these are equivalent
85+
cy.get('.action-email').type('{alt}{option}') // these are equivalent
86+
cy.get('.action-email').type('{ctrl}{control}') // these are equivalent
87+
cy.get('.action-email').type('{meta}{command}{cmd}') // these are equivalent
8888
cy.get('.action-email').type('{shift}')
8989

9090
// Delay each keypress by 0.1 sec
@@ -182,7 +182,7 @@ <h4 id="submit"><a href="https://on.cypress.io/submit">.submit()</a></h4>
182182
<p>To submit a form, use the <a href="https://on.cypress.io/submit"><code>cy.submit()</code></a> command.</p>
183183
<pre><code class="javascript">cy.get('.action-form')
184184
.find('[type="text"]').type('HALFOFF')
185-
185+
186186
cy.get('.action-form').submit()
187187
cy.get('.action-form').next().should('contain', 'Your form has been submitted!')</code></pre>
188188
</div>

commands/misc.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ <h4 id="exec"><a href="https://on.cypress.io/exec">cy.exec()</a></h4>
123123
if (Cypress.platform === 'win32') {
124124
cy.exec('print cypress.config.js')
125125
.its('stderr').should('be.empty')
126-
} else {
126+
}
127+
else {
127128
cy.exec('cat cypress.config.js')
128129
.its('stderr').should('be.empty')
129130

commands/storage.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,9 +141,9 @@ <h4><a href="https://on.cypress.io/getalllocalstorage">cy.getAllLocalStorage()</
141141
expect(storageMap).to.deep.equal({
142142
// other origins will also be present if localStorage is set on them
143143
'https://example.cypress.io': {
144-
'prop1': 'red',
145-
'prop2': 'blue',
146-
'prop3': 'magenta',
144+
prop1: 'red',
145+
prop2: 'blue',
146+
prop3: 'magenta',
147147
},
148148
})
149149
})</code></pre>
@@ -191,9 +191,9 @@ <h4><a href="https://on.cypress.io/getallsessionstorage">cy.getAllSessionStorage
191191
expect(storageMap).to.deep.equal({
192192
// other origins will also be present if sessionStorage is set on them
193193
'https://example.cypress.io': {
194-
'prop4': 'cyan',
195-
'prop5': 'yellow',
196-
'prop6': 'black',
194+
prop4: 'cyan',
195+
prop5: 'yellow',
196+
prop6: 'black',
197197
},
198198
})
199199
})</code></pre>

commands/waiting.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,13 @@ <h4><a href="https://on.cypress.io/wait">cy.wait()</a></h4>
108108
</div>
109109
</div>
110110
<div class="col-xs-12">
111-
<p>More information:
111+
<div>More information:
112112
<ul>
113113
<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>
114114
<li><a href="https://github.com/cypress-io/cypress-example-recipes#unit-testing">Unit testing application code</a> recipe</li>
115115
<li>Avoid hard-coded waits using built-in <a href="https://on.cypress.io/retry-ability">retry-ability</a></li>
116116
</ul>
117-
</p>
117+
</div>
118118
</div>
119119

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

commands/window.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ <h4 id="title"><a href="https://on.cypress.io/title">cy.title()</a></h4>
9595

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

98-
</div>
9998
</div>
10099
</div>
101100
</div>

0 commit comments

Comments
 (0)