Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
logging-scratch-gui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
David Goessmann
logging-scratch-gui
Commits
1e532745
Commit
1e532745
authored
6 years ago
by
Paul Kaplan
Browse files
Options
Downloads
Patches
Plain Diff
Add a selenium test for slider range
parent
ef05591d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/integration/blocks.test.js
+9
-0
9 additions, 0 deletions
test/integration/blocks.test.js
with
9 additions
and
0 deletions
test/integration/blocks.test.js
+
9
−
0
View file @
1e532745
...
...
@@ -82,6 +82,15 @@ describe('Working with the blocks', () => {
// And there should be a monitor visible
await
rightClickText
(
'
score
'
,
scope
.
monitors
);
await
clickText
(
'
slider
'
);
await
findByXpath
(
"
//input[@step='1']
"
);
// Changing the slider to a decimal should make it have a step size of 0.01
await
rightClickText
(
'
score
'
,
scope
.
monitors
);
await
clickText
(
'
change slider range
'
);
el
=
await
findByXpath
(
"
//input[@name='Maximum value']
"
);
await
el
.
sendKeys
(
'
.1
'
);
await
clickButton
(
'
OK
'
);
await
findByXpath
(
"
//input[@step='0.01'][@max='100.1']
"
);
const
logs
=
await
getLogs
();
await
expect
(
logs
).
toEqual
([]);
...
...
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