File tree Expand file tree Collapse file tree 6 files changed +26
-14
lines changed Expand file tree Collapse file tree 6 files changed +26
-14
lines changed Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ <h4 id="type"><a href="https://on.cypress.io/type">.type()</a></h4>
82
82
cy.get('.action-email').type('{del}{selectall}{backspace}')
83
83
84
84
// .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
88
88
cy.get('.action-email').type('{shift}')
89
89
90
90
// Delay each keypress by 0.1 sec
@@ -182,7 +182,7 @@ <h4 id="submit"><a href="https://on.cypress.io/submit">.submit()</a></h4>
182
182
< p > To submit a form, use the < a href ="https://on.cypress.io/submit "> < code > cy.submit()</ code > </ a > command.</ p >
183
183
< pre > < code class ="javascript "> cy.get('.action-form')
184
184
.find('[type="text"]').type('HALFOFF')
185
-
185
+
186
186
cy.get('.action-form').submit()
187
187
cy.get('.action-form').next().should('contain', 'Your form has been submitted!')</ code > </ pre >
188
188
</ div >
Original file line number Diff line number Diff line change @@ -123,7 +123,8 @@ <h4 id="exec"><a href="https://on.cypress.io/exec">cy.exec()</a></h4>
123
123
if (Cypress.platform === 'win32') {
124
124
cy.exec('print cypress.config.js')
125
125
.its('stderr').should('be.empty')
126
- } else {
126
+ }
127
+ else {
127
128
cy.exec('cat cypress.config.js')
128
129
.its('stderr').should('be.empty')
129
130
Original file line number Diff line number Diff line change @@ -141,9 +141,9 @@ <h4><a href="https://on.cypress.io/getalllocalstorage">cy.getAllLocalStorage()</
141
141
expect(storageMap).to.deep.equal({
142
142
// other origins will also be present if localStorage is set on them
143
143
'https://example.cypress.io': {
144
- ' prop1' : 'red',
145
- ' prop2' : 'blue',
146
- ' prop3' : 'magenta',
144
+ prop1: 'red',
145
+ prop2: 'blue',
146
+ prop3: 'magenta',
147
147
},
148
148
})
149
149
})</ code > </ pre >
@@ -191,9 +191,9 @@ <h4><a href="https://on.cypress.io/getallsessionstorage">cy.getAllSessionStorage
191
191
expect(storageMap).to.deep.equal({
192
192
// other origins will also be present if sessionStorage is set on them
193
193
'https://example.cypress.io': {
194
- ' prop4' : 'cyan',
195
- ' prop5' : 'yellow',
196
- ' prop6' : 'black',
194
+ prop4: 'cyan',
195
+ prop5: 'yellow',
196
+ prop6: 'black',
197
197
},
198
198
})
199
199
})</ code > </ pre >
Original file line number Diff line number Diff line change @@ -108,13 +108,13 @@ <h4><a href="https://on.cypress.io/wait">cy.wait()</a></h4>
108
108
</ div >
109
109
</ div >
110
110
< div class ="col-xs-12 ">
111
- < p > More information:
111
+ < div > More information:
112
112
< ul >
113
113
< 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 >
114
114
< li > < a href ="https://github.com/cypress-io/cypress-example-recipes#unit-testing "> Unit testing application code</ a > recipe</ li >
115
115
< li > Avoid hard-coded waits using built-in < a href ="https://on.cypress.io/retry-ability "> retry-ability</ a > </ li >
116
116
</ ul >
117
- </ p >
117
+ </ div >
118
118
</ div >
119
119
120
120
< div class ="col-xs-12 "> < hr > </ div >
Original file line number Diff line number Diff line change @@ -95,7 +95,6 @@ <h4 id="title"><a href="https://on.cypress.io/title">cy.title()</a></h4>
95
95
96
96
< div class ="col-xs-12 "> < hr > </ div >
97
97
98
- </ div >
99
98
</ div >
100
99
</ div >
101
100
</ div >
You can’t perform that action at this time.
0 commit comments