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>2022-03-09 15:07:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-09 15:07:06 +0300
commit587c487202f9bc0d1b07698b83fd10cf5b89d6d0 (patch)
treece5bfcc5fd928f1f19eb6b4a1a38a6395944e306 /spec/features/user_sorts_things_spec.rb
parentbbfe48cb82476eb8b3f6e52f728d5f39ac6bc385 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/user_sorts_things_spec.rb')
-rw-r--r--spec/features/user_sorts_things_spec.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/user_sorts_things_spec.rb b/spec/features/user_sorts_things_spec.rb
index fa37d692225..47b44f2b291 100644
--- a/spec/features/user_sorts_things_spec.rb
+++ b/spec/features/user_sorts_things_spec.rb
@@ -6,7 +6,7 @@ require "spec_helper"
# to check if the sorting option set by user is being kept persisted while going through pages.
# The `it`s are named here by convention `starting point -> some pages -> final point`.
# All those specs are moved out to this spec intentionally to keep them all in one place.
-RSpec.describe "User sorts things" do
+RSpec.describe "User sorts things", :js do
include Spec::Support::Helpers::Features::SortingHelpers
include DashboardHelper
@@ -21,11 +21,11 @@ RSpec.describe "User sorts things" do
end
it "issues -> project home page -> issues" do
- sort_option = 'Updated date'
+ sort_option = s_('SortOptions|Updated date')
visit(project_issues_path(project))
- sort_by(sort_option)
+ pajamas_sort_by(sort_option)
visit(project_path(project))
visit(project_issues_path(project))
@@ -34,11 +34,11 @@ RSpec.describe "User sorts things" do
end
it "merge requests -> dashboard merge requests" do
- sort_option = 'Updated date'
+ sort_option = s_('SortOptions|Updated date')
visit(project_merge_requests_path(project))
- sort_by(sort_option)
+ pajamas_sort_by(sort_option)
visit(assigned_mrs_dashboard_path)