Skip to content

Renaming of TunnelId with TunnelName #606

Description

@ArpitLT

We would like to rename tunnelId with tunnelName for a better convention for the end users, as we have tunnelId and tunnelName as two different convention for LambdaTest tunnel, where tunnelId is an integer value which is uniquely generated for each LambdaTest tunnel.

In Geb code, following changes are required:

  1. doc/manual/src/docs/asciidoc/111-cloud-browsers.adoc as:
def tunnelName = System.getenv("GEB_LAMBDATEST_TUNNEL_NAME")
  assert tunnelName
  new LambdaTestDriverFactory().create(lambdaTestBrowser, username, accessKey, tunnelName)
  1. integration/geb-gradle/src/main/groovy/geb/gradle/lambdatest/LambdaTestTunnelOps.groovy
    Replace LOCAL_ID_ENV_VAR to TUNNEL_NAME_ENV_VAR
    Replace GEB_LAMBDATEST_TUNNELID to GEB_LAMBDATEST_TUNNEL_NAME

  2. module/geb-core/src/main/groovy/geb/driver/LambdaTestDriverFactory.groovy
    Replace tunnelId to tunnelName
    Replace GEB_LAMBDATEST_TUNNELID to GEB_LAMBDATEST_TUNNEL_NAME

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions