inferno_core 0.3.0.rc1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2d689ccce031c3a119965c25c083606b6f5a789c61b29dca2b50971872205d47
4
- data.tar.gz: 1be92b3799e22400b7d37ac1780de257c3104d23e809b712ee543b5437af8ecd
3
+ metadata.gz: d44d2d4f0afb51b463a128ce7725183159791fe21464c2fa28b10b3b919c37ab
4
+ data.tar.gz: b62acf63e2bb524bcb22048e4e4d5b433a727c6a7a8201ae8161237fc4dbcfb3
5
5
  SHA512:
6
- metadata.gz: 563d0d578f6cc039ef95e3e5cc81b2285da6a04779e6705462111a626e826cd47cb2c82dd26dbd00f048d6e4f7277761151351da27e30a0ba3cbb64f6086440e
7
- data.tar.gz: cda50085e8e67e5737a06b3440b2533804251d9eea5aff2235e28c9039387ca352aaa72b45f46e00e859adb8d8bfc5d83f63a0851c58c2d71dff5844ef35d5a7
6
+ metadata.gz: 7658c22a6d5595f39a36589a853992420b31717c6002ce0262eabcfcabe4def7c97de8f8fa5a52ad785a7e4c6b25fb471282584bdbfde266ed6388ee8dfc7b8b
7
+ data.tar.gz: 9972288e75af701edc3f70457835384f6f51ad5e64d14bfaf4b5ec0855786ca51455e79067de007f44964bbecfc9b84b1a862b6468a72464026152c41acb5536
@@ -1,6 +1,9 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="en">
3
3
  <head>
4
+ <!-- Use the highest supported document mode of Internet Explorer -->
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
+
4
7
  <meta charset="utf-8" />
5
8
  <link rel="icon" href="<%= Inferno::Application['public_path'] %>/favicon.ico" />
6
9
  <meta name="viewport" content="width=device-width, initial-scale=1" />
@@ -31,8 +34,13 @@
31
34
  display: flex;
32
35
  flex-direction: column;
33
36
  }
37
+ .banner {
38
+ flex-shrink: 1;
39
+ }
34
40
  .app {
35
- height: 100%;
41
+ flex-grow: 1;
42
+ display: flex;
43
+ flex-direction: column;
36
44
  }
37
45
  </style>
38
46
  <title>Inferno</title>
@@ -41,7 +49,7 @@
41
49
  <noscript>You need to enable JavaScript to run this app.</noscript>
42
50
  <div class='wrapper'>
43
51
  <% if File.exist? (File.join(Dir.pwd, 'config', 'banner.html.erb')) %>
44
- <div class='banner'><%= ERB.new(File.read(File.join(Dir.pwd, 'config', 'banner.html.erb'))).result %></div>
52
+ <div class='banner'><%= ERB.new(File.read(File.join(Dir.pwd, 'config', 'banner.html.erb'))).result %></div>
45
53
  <% end %>
46
54
  <div class='app' id="root"></div>
47
55
  </div>
@@ -67,7 +67,9 @@ module Inferno
67
67
  self.class.named_requests_used.map do |request_name|
68
68
  request_alias = self.class.config.request_name(request_name)
69
69
  request = requests_repo.find_named_request(test_session_id, request_alias)
70
- raise StandardError, "Unable to find '#{request_alias}' request" if request.nil?
70
+ if request.nil?
71
+ raise Exceptions::SkipException, "Request `#{request_alias}` was not made in a previous test as expected."
72
+ end
71
73
 
72
74
  requests << request
73
75
  end
@@ -60,7 +60,7 @@ module Inferno
60
60
  end
61
61
 
62
62
  def optional?
63
- runnable.optional?
63
+ runnable.nil? || runnable.optional?
64
64
  end
65
65
 
66
66
  def required?