chemlab 0.9.1 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/chemlab-suite +1 -1
- data/bin/chemlab-test +1 -1
- data/lib/chemlab/runtime/browser.rb +6 -14
- data/lib/chemlab/version.rb +1 -1
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: af0d8dedf01608e38acfc484a962e9de977f9295465c34ad1f0966508f2b445e
|
4
|
+
data.tar.gz: 7215d12dcaa5a553f8a8dec115cf0071d27fd43a57c8957625fdfe6104261361
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b17e06556b3acbb32169b1b4ce0ecdb3ddbd57fa7a7e3bdefa35c29a7ecf52f56242044cb818f85663f8ae403a96a86107a714deb65567ed76a95aadf3c60a2
|
7
|
+
data.tar.gz: 21ad99860894e2bb2990ff667063b5400d9bd9c3203d46b5db4812690d94153a718e28cb3adfded773183cf4f6433c178967ab856127da91aa5434b13043e00f
|
data/bin/chemlab-suite
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
chemlab
|
data/bin/chemlab-test
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
chemlab
|
@@ -49,25 +49,17 @@ module Chemlab
|
|
49
49
|
return Chemlab.configuration.browser.navigate_to(Chemlab.configuration.base_url + page_class.path)
|
50
50
|
end
|
51
51
|
|
52
|
-
|
53
|
-
uri = if URI(page_class.name.root_module.base_url).scheme == 'file'
|
54
|
-
URI(File.join(page_class.name.root_module.base_url, page_class.path))
|
55
|
-
else
|
56
|
-
URI.join(page_class.name.root_module.base_url, page_class.path)
|
57
|
-
end
|
58
|
-
|
59
|
-
Chemlab.configuration.browser.navigate_to(uri)
|
52
|
+
Chemlab.configuration.browser.navigate_to(File.join(page_class.name.root_module.base_url, page_class.path))
|
60
53
|
end
|
61
54
|
|
62
|
-
# Navigate to a
|
63
|
-
# @param [
|
64
|
-
# @return [
|
55
|
+
# Navigate to a Path
|
56
|
+
# @param [String] path the path to navigate to, relative to the +base_url+
|
57
|
+
# @return [String] the path that was navigated to
|
65
58
|
# @example
|
66
59
|
# Chemlab.configuration.browser.navigate_to('/path') #=> /path
|
67
|
-
|
68
|
-
def navigate_to(uri_or_path)
|
60
|
+
def navigate_to(path)
|
69
61
|
@session ||= Chemlab.configuration.browser.session
|
70
|
-
@session.engine.goto(
|
62
|
+
@session.engine.goto(path.to_s)
|
71
63
|
end
|
72
64
|
|
73
65
|
# The options used to create the browser session
|
data/lib/chemlab/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chemlab
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- GitLab Quality
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-09-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: climate_control
|
@@ -256,7 +256,8 @@ files:
|
|
256
256
|
homepage: https://about.gitlab.com/
|
257
257
|
licenses:
|
258
258
|
- MIT
|
259
|
-
metadata:
|
259
|
+
metadata:
|
260
|
+
source_code_uri: https://gitlab.com/gitlab-org/quality/chemlab
|
260
261
|
post_install_message:
|
261
262
|
rdoc_options: []
|
262
263
|
require_paths:
|
@@ -272,7 +273,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
272
273
|
- !ruby/object:Gem::Version
|
273
274
|
version: '0'
|
274
275
|
requirements: []
|
275
|
-
rubygems_version: 3.
|
276
|
+
rubygems_version: 3.3.3
|
276
277
|
signing_key:
|
277
278
|
specification_version: 4
|
278
279
|
summary: Automation framework built by GitLab, for the world.
|