-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.rb
28 lines (21 loc) · 815 Bytes
/
test.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# frozen_string_literal: true
require 'minitest/autorun'
#=======================================
# Environment Configuration:
#---------------------------------------
# Set the env vars `PROXY_HOST` and `PROXY_PORT` to a working external proxy.
PROXY_HOST = ENV.fetch 'PROXY_HOST'
PROXY_PORT = ENV.fetch 'PROXY_PORT'
PROXY = "#{PROXY_HOST}:#{PROXY_PORT}"
# Fire up docker-compose to get these guys cookin':
#
# In it's own terminal:
# $ docker-compose up
# or as a background daemon (dont' forget to `docker-compose down`!)
# $ docker-compose up -d
#
CHROME_SELENIUM = 'http://localhost:4444/wd/hub'
FIREFOX_SELENIUM = 'http://localhost:5555/wd/hub'
#=======================================
# Run the `intereseting_tests` for each browser_configuration:
require_relative 'test/browser_configurations'