Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
clientside_validation-2898885
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
clientside_validation-2898885
Commits
d65b355a
Commit
d65b355a
authored
6 years ago
by
Nikunj Kotecha
Committed by
Nikunj Kotecha
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#2612128
by nikunjkotecha: Add tests
parent
08f621a1
No related branches found
Branches containing commit
Tags
7.x-1.0-beta3
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/src/FunctionalJavascript/ClientsideValidationTest.php
+2
-5
2 additions, 5 deletions
tests/src/FunctionalJavascript/ClientsideValidationTest.php
with
2 additions
and
5 deletions
tests/src/FunctionalJavascript/ClientsideValidationTest.php
+
2
−
5
View file @
d65b355a
...
...
@@ -146,11 +146,8 @@ class ClientsideValidationTest extends JavascriptTestBase {
$errorElement
=
$this
->
page
->
findById
(
$key
.
'-error'
);
if
(
empty
(
$errorElement
))
{
$message
=
sprintf
(
'Element %s not found while trying to check for: %s'
,
$key
,
$expected
);
print
$message
;
// We will fail this scenario.
$this
->
assertEquals
(
$expected
,
''
);
continue
;
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment