Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PropTrackr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
kerdo
PropTrackr
Merge requests
!35
Implement tests for FR-19 and FR-20
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Implement tests for FR-19 and FR-20
29-fr-19-save-last-5-searches
into
main
Overview
1
Commits
6
Pipelines
5
Changes
4
Merged
kerdo
requested to merge
29-fr-19-save-last-5-searches
into
main
4 months ago
Overview
1
Commits
6
Pipelines
5
Changes
4
Expand
Closes
#29 (closed)
Closes
#30 (closed)
0
0
Merge request reports
Viewing commit
d991990a
Prev
Next
Show latest version
4 files
+
82
−
36
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
d991990a
update BDD to match 3.2 and 3.3
#29
· d991990a
Kerdo Kurs
authored
4 months ago
features/contexts/property_search_context.exs
+
22
−
0
Options
@@ -168,6 +168,28 @@ defmodule PropertySearchContext do
{
:ok
,
state
}
end
and_
~r/^I go to the homepage$/
,
fn
state
->
navigate_to
(
"/"
)
{
:ok
,
state
}
end
then_
~r/^I should not see a search button$/
,
fn
state
->
refute
visible_in_page?
~r/Search/
els
=
find_all_elements
(
:id
,
"search_button"
)
assert
length
(
els
)
==
0
{
:ok
,
state
}
end
and_
~r/^I go to the search URL$/
,
fn
state
->
navigate_to
(
"/search"
)
{
:ok
,
state
}
end
then_
~r/^I should be redirected to the login page$/
,
fn
state
->
assert
current_path
()
==
"/login"
{
:ok
,
state
}
end
defp
setup_session
(
email
,
password
)
do
navigate_to
(
"/login"
)
fill_field
({
:id
,
"email"
},
email
)
Loading