async function testExploredCid ({ cid, type, humanReadableCID, page, fillOutForm = true }) {
  if (fillOutForm) {
    await page.fill('[data-id="FilesExploreForm"] input[id="ipfs-path"]', cid)
    await page.press('[data-id="FilesExploreForm"] button[title="Inspect"]', 'Enter')
  }

  await page.waitForSelector(`.joyride-explorer-cid [title="${cid}"]`) // cid is displayed in the CID INFO section.
  await page.waitForSelector(`[title="${type}"]`)

  if (humanReadableCID != null) {
    // expect cid details
    await page.waitForSelector('#CidInfo-human-readable-cid')
    const actualHumanReadableCID = await page.$eval('#CidInfo-human-readable-cid', firstRes => firstRes.textContent)
    expect(actualHumanReadableCID).toBe(humanReadableCID)
  }
}
Fills out the explore form (optional), waits for CID of given type to be loaded, and checks if CID details are correct.
@param {object} options
@param {import('playwright').Page} options.page
@param {string} options.cid
@param {string} options.type
@param {string} [options.humanReadableCID]
@param {boolean} [options.fillOutForm]