async function resetGatewayAndCheck (resetButton, inputElement, expectedValue) {
  await resetButton.click()
  const gatewayText = await inputElement.evaluate(element => element.value)
  expect(gatewayText).toContain(expectedValue)
}
Function to reset a gateway and verify the reset.
@param {ElementHandle} resetButton - The reset button element to click.
@param {ElementHandle} inputElement - The input element to check.
@param {string} expectedValue - The expected value after reset.