MCPcopy Create free account
hub / github.com/decaporg/decap-cms / assertNotification

Function assertNotification

cypress/utils/steps.js:62–71  ·  view source on GitHub ↗
(message)

Source from the content-addressed store, hash-verified

60}
61
62function assertNotification(message) {
63 // if clock is use, a tick is needed for toastify to show the notifications
64 withExistingClock(clock => {
65 advanceClock(clock);
66 });
67 cy.get('.notif__container').within(() => {
68 cy.contains(message);
69 cy.contains(message).invoke('hide');
70 });
71}
72
73function assertColorOn(cssProperty, color, opts) {
74 if (opts.type && opts.type === 'label') {

Callers 13

updateWorkflowStatusFunction · 0.85
deleteWorkflowEntryFunction · 0.85
deleteEntryInEditorFunction · 0.85
publishEntryInEditorFunction · 0.85
unpublishEntryFunction · 0.85
validateObjectFieldsFunction · 0.85
validateListFieldsFunction · 0.85

Calls 3

withExistingClockFunction · 0.85
advanceClockFunction · 0.85
getMethod · 0.80

Tested by

no test coverage detected