MCPcopy Index your code
hub / github.com/bugy/script-server / findGroupItem

Function findGroupItem

web-src/tests/unit/main-app/scripts/ScriptList_test.js:75–83  ·  view source on GitHub ↗
(groupName)

Source from the content-addressed store, hash-verified

73 }
74
75 function findGroupItem(groupName) {
76 let foundGroups = $(listComponent.vm.$el)
77 .find('.script-list-group')
78 .has('.script-group > span:contains("' + groupName + '")')
79 .toArray()
80
81 expect(foundGroups).toBeArrayOfSize(1)
82 return foundGroups[0];
83 }
84
85 function assertGroupItems(groupName, expectedTexts) {
86 let foundGroup = findGroupItem(groupName);

Callers 2

assertGroupItemsFunction · 0.85
clickOnGroupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected