Skip to content
Snippets Groups Projects
Commit 1e532745 authored by Paul Kaplan's avatar Paul Kaplan
Browse files

Add a selenium test for slider range

parent ef05591d
Branches
Tags
No related merge requests found
......@@ -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([]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment