File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,25 @@ The "html" block is optional.
5252
5353Note: after extracting the tests, this preprocessor sets [ @cypress/fiddle ] ( https://github.com/cypress-io/cypress-fiddle ) to run them.
5454
55+ ### Suites
56+
57+ To create suites of tests, use ` / ` to separate the suite name from the test name. Tests with the same suite name are grouped together automatically.
58+
59+ <!-- fiddle TodoMVC / loads -->
60+ ```js
61+ cy.visit('/')
62+ ```
63+ <!-- fiddle-end -->
64+
65+ then some time later
66+
67+ <!-- fiddle TodoMVC / adds items -->
68+ ```js
69+ cy.visit('/')
70+ cy.get('.new-todo').type('write tests{enter}')
71+ ```
72+ <!-- fiddle-end -->
73+
5574## Examples
5675
5776- [ cypress-book-todomvc] ( https://github.com/bahmutov/cypress-book-todomvc )
You can’t perform that action at this time.
0 commit comments