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

Function selectDropdownItem

cypress/utils/steps.js:254–258  ·  view source on GitHub ↗
(label, item)

Source from the content-addressed store, hash-verified

252}
253
254function selectDropdownItem(label, item) {
255 cy.contains('[role="button"]', label).as('dropDownButton');
256 cy.get('@dropDownButton').click();
257 cy.contains('[role="menuitem"] span', item).click();
258}
259
260function flushClockAndSave() {
261 withExistingClock(clock => {

Callers 8

publishEntryInEditorFunction · 0.85
publishEntryFunction · 0.85
duplicatePostAndPublishFunction · 0.85
unpublishEntryFunction · 0.85
duplicateEntryFunction · 0.85

Calls 1

getMethod · 0.80

Tested by

no test coverage detected