Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
0445f771
Commit
0445f771
authored
Jul 26, 2021
by
Matthias Käppler
Committed by
Dan Davison
Jul 26, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update capybara for qa specs to 3.35
parent
f6233515
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
qa/Gemfile
qa/Gemfile
+1
-1
qa/Gemfile.lock
qa/Gemfile.lock
+4
-4
qa/spec/page/logging_spec.rb
qa/spec/page/logging_spec.rb
+1
-0
No files found.
qa/Gemfile
View file @
0445f771
...
...
@@ -5,7 +5,7 @@ source 'https://rubygems.org'
gem
'gitlab-qa'
gem
'activesupport'
,
'~> 6.1.3.2'
# This should stay in sync with the root's Gemfile
gem
'allure-rspec'
,
'~> 2.14.1'
gem
'capybara'
,
'~> 3.
29
.0'
gem
'capybara'
,
'~> 3.
35
.0'
gem
'capybara-screenshot'
,
'~> 1.0.23'
gem
'rake'
,
'~> 12.3.3'
gem
'rspec'
,
'~> 3.7'
...
...
qa/Gemfile.lock
View file @
0445f771
...
...
@@ -30,13 +30,13 @@ GEM
ast (2.4.1)
binding_ninja (0.2.3)
byebug (9.1.0)
capybara (3.
29.0
)
capybara (3.
35.3
)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
regexp_parser (
~> 1.5
)
regexp_parser (
>= 1.5, < 3.0
)
xpath (~> 3.2)
capybara-screenshot (1.0.23)
capybara (>= 1.0, < 4)
...
...
@@ -98,7 +98,7 @@ GEM
mime-types (3.3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2021.0704)
mini_mime (1.
0.2
)
mini_mime (1.
1.0
)
mini_portile2 (2.5.0)
minitest (5.14.4)
multipart-post (2.1.1)
...
...
@@ -211,7 +211,7 @@ DEPENDENCIES
activesupport (~> 6.1.3.2)
airborne (~> 0.3.4)
allure-rspec (~> 2.14.1)
capybara (~> 3.
29
.0)
capybara (~> 3.
35
.0)
capybara-screenshot (~> 1.0.23)
chemlab (~> 0.7)
chemlab-library-www-gitlab-com (~> 0.1)
...
...
qa/spec/page/logging_spec.rb
View file @
0445f771
...
...
@@ -12,6 +12,7 @@ RSpec.describe QA::Support::Page::Logging do
QA
::
Runtime
::
Logger
.
logger
=
logger
allow
(
Capybara
).
to
receive
(
:current_session
).
and_return
(
page
)
allow
(
page
).
to
receive
(
:find
).
and_return
(
page
)
allow
(
page
).
to
receive
(
:current_url
).
and_return
(
'http://current-url'
)
allow
(
page
).
to
receive
(
:has_css?
).
with
(
any_args
).
and_return
(
true
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment