cron
travis-ci
32 of 34 new or added lines in 6 files covered. (94.12%)
13300 of 13609 relevant lines covered (97.73%)
5846.96 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
|
class Capybara::Selenium::Node |
15✔ |
4 |
#
|
|
5 |
# @api private
|
|
6 |
#
|
|
|
class ModifierKeysStack |
15✔ |
|
def initialize |
15✔ |
|
@stack = []
|
20✔ |
10 |
end
|
|
11 |
|
|
|
def include?(key) |
15✔ |
NEW
|
@stack.flatten.include?(key)
|
× |
14 |
end
|
|
15 |
|
|
|
def press(key) |
15✔ |
|
@stack.last.push(key)
|
25✔ |
18 |
end
|
|
19 |
|
|
|
def push |
15✔ |
|
@stack.push []
|
45✔ |
22 |
end
|
|
23 |
|
|
|
def pop |
15✔ |
|
@stack.pop
|
45✔ |
26 |
end
|
|
27 |
end
|
|
28 |
end
|