code: function getEnvNameFromConfig(cypressConfig) {
    if (!cypressConfig.env || !cypressConfig.env.envName) {
      return 'local';
    }
    return cypressConfig.env.envName;
  }
docs: Get environment name from cypress config or default to "local"
  @param {Object} cypressConfig - Cypress config object