Module: Maze
- Defined in:
- lib/maze.rb,
lib/maze/wait.rb,
lib/maze/proxy.rb,
lib/maze/store.rb,
lib/maze/docker.rb,
lib/maze/errors.rb,
lib/maze/helper.rb,
lib/maze/option.rb,
lib/maze/runner.rb,
lib/maze/server.rb,
lib/maze/timers.rb,
lib/maze/aws/sam.rb,
lib/maze/compare.rb,
lib/maze/network.rb,
lib/maze/generator.rb,
lib/maze/hooks/hooks.rb,
lib/maze/macos_utils.rb,
lib/maze/maze_output.rb,
lib/maze/error_captor.rb,
lib/maze/http_request.rb,
lib/maze/request_list.rb,
lib/maze/api/exit_code.rb,
lib/maze/appium_server.rb,
lib/maze/aws_public_ip.rb,
lib/maze/client/appium.rb,
lib/maze/configuration.rb,
lib/maze/driver/appium.rb,
lib/maze/option/parser.rb,
lib/maze/retry_handler.rb,
lib/maze/bugsnag_config.rb,
lib/maze/driver/browser.rb,
lib/maze/loggers/logger.rb,
lib/maze/client/selenium.rb,
lib/maze/document_server.rb,
lib/maze/interactive_cli.rb,
lib/maze/loggers/log_util.rb,
lib/maze/option/processor.rb,
lib/maze/option/validator.rb,
lib/maze/servlets/servlet.rb,
lib/maze/checks/noop_check.rb,
lib/maze/metrics_processor.rb,
lib/maze/schemas/validator.rb,
lib/maze/hooks/appium_hooks.rb,
lib/maze/hooks/logger_hooks.rb,
lib/maze/terminating_server.rb,
lib/maze/checks/assert_check.rb,
lib/maze/hooks/browser_hooks.rb,
lib/maze/hooks/command_hooks.rb,
lib/maze/loggers/file_logger.rb,
lib/maze/client/bb_api_client.rb,
lib/maze/schemas/trace_schema.rb,
lib/maze/servlets/log_servlet.rb,
lib/maze/api/cucumber/scenario.rb,
lib/maze/hooks/error_code_hook.rb,
lib/maze/loggers/stdout_logger.rb,
lib/maze/servlets/base_servlet.rb,
lib/maze/client/bb_client_utils.rb,
lib/maze/client/bs_client_utils.rb,
lib/maze/schemas/validator_base.rb,
lib/maze/servlets/trace_servlet.rb,
lib/maze/api/appium/file_manager.rb,
lib/maze/client/appium/bb_client.rb,
lib/maze/client/appium/bs_client.rb,
lib/maze/schemas/error_validator.rb,
lib/maze/schemas/trace_validator.rb,
lib/maze/client/appium/bb_devices.rb,
lib/maze/client/appium/bs_devices.rb,
lib/maze/schemas/config_validator.rb,
lib/maze/servlets/command_servlet.rb,
lib/maze/client/appium/base_client.rb,
lib/maze/client/selenium/bb_client.rb,
lib/maze/client/selenium/bs_client.rb,
lib/maze/plugins/error_code_plugin.rb,
lib/maze/client/appium/local_client.rb,
lib/maze/repeaters/aspecto_repeater.rb,
lib/maze/repeaters/bugsnag_repeater.rb,
lib/maze/repeaters/request_repeater.rb,
lib/maze/client/selenium/base_client.rb,
lib/maze/plugins/global_retry_plugin.rb,
lib/maze/servlets/reflective_servlet.rb,
lib/maze/client/selenium/local_client.rb,
lib/maze/servlets/all_commands_servlet.rb,
lib/maze/client/appium/bs_legacy_client.rb,
lib/maze/plugins/datadog_metrics_plugin.rb,
lib/maze/plugins/bugsnag_reporting_plugin.rb,
lib/maze/plugins/logging_scenarios_plugin.rb,
lib/maze/assertions/request_set_assertions.rb
Overview
Contains logic for the Cucumber hooks when in Command mode
Defined Under Namespace
Modules: Api, Assertions, Aws, Checks, Client, Compare, Driver, Error, Helper, Hooks, Loggers, Option, Plugins, Repeaters, Schemas, Servlets Classes: AppiumServer, AwsPublicIp, BugsnagConfig, Configuration, Docker, DocumentServer, ErrorCaptor, Generator, HttpRequest, InteractiveCLI, MacosUtils, MazeOutput, MetricsProcessor, Network, Proxy, RequestList, RetryHandler, Runner, Server, Store, TerminatingServer, Timer, Timers, Wait
Constant Summary collapse
- VERSION =
'9.19.1'
- MAX_MAZE_CONNECT_ATTEMPTS =
Sets the maximum number of times Maze runner will ping to see if a port is open, defaulting to 100
ENV.fetch('MAX_MAZE_CONNECT_ATTEMPTS', 100).to_i
Class Attribute Summary collapse
-
.check ⇒ Object
Returns the value of attribute check.
-
.driver ⇒ Object
Returns the value of attribute driver.
-
.dynamic_retry ⇒ Object
Returns the value of attribute dynamic_retry.
-
.internal_hooks ⇒ Object
Returns the value of attribute internal_hooks.
-
.mode ⇒ Object
Returns the value of attribute mode.
-
.public_address ⇒ Object
Returns the value of attribute public_address.
-
.public_document_server_address ⇒ Object
Returns the value of attribute public_document_server_address.
-
.run_uuid ⇒ Object
Returns the value of attribute run_uuid.
-
.scenario ⇒ Object
Returns the value of attribute scenario.
-
.start_time ⇒ Object
Returns the value of attribute start_time.
Class Method Summary collapse
Class Attribute Details
.check ⇒ Object
Returns the value of attribute check.
13 14 15 |
# File 'lib/maze.rb', line 13 def check @check end |
.driver ⇒ Object
Returns the value of attribute driver.
13 14 15 |
# File 'lib/maze.rb', line 13 def driver @driver end |
.dynamic_retry ⇒ Object
Returns the value of attribute dynamic_retry.
13 14 15 |
# File 'lib/maze.rb', line 13 def dynamic_retry @dynamic_retry end |
.internal_hooks ⇒ Object
Returns the value of attribute internal_hooks.
13 14 15 |
# File 'lib/maze.rb', line 13 def internal_hooks @internal_hooks end |
.mode ⇒ Object
Returns the value of attribute mode.
13 14 15 |
# File 'lib/maze.rb', line 13 def mode @mode end |
.public_address ⇒ Object
Returns the value of attribute public_address.
13 14 15 |
# File 'lib/maze.rb', line 13 def public_address @public_address end |
.public_document_server_address ⇒ Object
Returns the value of attribute public_document_server_address.
13 14 15 |
# File 'lib/maze.rb', line 13 def public_document_server_address @public_document_server_address end |
.run_uuid ⇒ Object
Returns the value of attribute run_uuid.
13 14 15 |
# File 'lib/maze.rb', line 13 def run_uuid @run_uuid end |
.scenario ⇒ Object
Returns the value of attribute scenario.
13 14 15 |
# File 'lib/maze.rb', line 13 def scenario @scenario end |
.start_time ⇒ Object
Returns the value of attribute start_time.
13 14 15 |
# File 'lib/maze.rb', line 13 def start_time @start_time end |