({ title }, timeout)
| 141 | } |
| 142 | |
| 143 | function publishWorkflowEntry({ title }, timeout) { |
| 144 | cy.contains('h2', workflowStatus.ready, { timeout }) |
| 145 | .parent() |
| 146 | .within(() => { |
| 147 | cy.contains('a', title) |
| 148 | .parent() |
| 149 | .within(() => { |
| 150 | cy.contains('button', 'Publish new entry').click({ force: true }); |
| 151 | }); |
| 152 | }); |
| 153 | // assertNotification(notifications.published); |
| 154 | } |
| 155 | |
| 156 | function deleteWorkflowEntry({ title }) { |
| 157 | cy.contains('a', title) |
no outgoing calls
no test coverage detected