Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-23 21:08:31 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-23 21:08:31 +0300
commit7e1e5ca371cbfe77bdf56fcf65a4e749e6e86a06 (patch)
treec40953fc74404b5d86bb2ef72bab89526c5ca7d6 /spec/features/profile_spec.rb
parent9086e66ee72527839053ec6db19ed321a3b3a61b (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/profile_spec.rb')
-rw-r--r--spec/features/profile_spec.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/spec/features/profile_spec.rb b/spec/features/profile_spec.rb
index 5d3a00017f2..84ea9495f08 100644
--- a/spec/features/profile_spec.rb
+++ b/spec/features/profile_spec.rb
@@ -12,6 +12,9 @@ RSpec.describe 'Profile account page', :js do
describe 'when I delete my account' do
before do
visit profile_account_path
+
+ # Scroll page to the bottom to make Delete account button visible
+ execute_script('window.scrollTo(0, document.body.scrollHeight)')
end
it { expect(page).to have_content('Delete account') }