({ title }, timeout)
| 147 | } |
| 148 | |
| 149 | function publishWorkflowEntry({ title }, timeout) { |
| 150 | const options = timeout === undefined ? {} : { timeout }; |
| 151 | cy.contains('h2', workflowStatus.ready, options) |
| 152 | .parent() |
| 153 | .within(() => { |
| 154 | cy.contains('a', title) |
| 155 | .parent() |
| 156 | .within(() => { |
| 157 | cy.contains('button', 'Publish new entry').click({ force: true }); |
| 158 | }); |
| 159 | }); |
| 160 | // assertNotification(notifications.published); |
| 161 | } |
| 162 | |
| 163 | function deleteWorkflowEntry({ title }) { |
| 164 | cy.contains('a', title) |
no outgoing calls
no test coverage detected