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-10 09:09:00 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-03-10 09:09:00 +0300
commit2332c320452fb5190ccee17a255af305c1bb931e (patch)
tree0841b487c092026dc58d17df6e6d93f1d627085d /spec/features/user_sorts_things_spec.rb
parent981fb44c366ced582da203cf6970ee225466036b (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 47b44f2b291..fa37d692225 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", :js do
+RSpec.describe "User sorts things" do
include Spec::Support::Helpers::Features::SortingHelpers
include DashboardHelper
@@ -21,11 +21,11 @@ RSpec.describe "User sorts things", :js do
end
it "issues -> project home page -> issues" do
- sort_option = s_('SortOptions|Updated date')
+ sort_option = 'Updated date'
visit(project_issues_path(project))
- pajamas_sort_by(sort_option)
+ sort_by(sort_option)
visit(project_path(project))
visit(project_issues_path(project))
@@ -34,11 +34,11 @@ RSpec.describe "User sorts things", :js do
end
it "merge requests -> dashboard merge requests" do
- sort_option = s_('SortOptions|Updated date')
+ sort_option = 'Updated date'
visit(project_merge_requests_path(project))
- pajamas_sort_by(sort_option)
+ sort_by(sort_option)
visit(assigned_mrs_dashboard_path)