diff --git a/INSTRUCTIONS.md b/INSTRUCTIONS.md index 4ba1cf7..e896163 100644 --- a/INSTRUCTIONS.md +++ b/INSTRUCTIONS.md @@ -28,18 +28,18 @@ One of the instructions has to be present in every command. These properties are - [hasText](#hastext) - [hasInnerHtml](#hasinnerhtml) - [hasOuterHtml](#hasouterhtml) -- [isEnabled](#isenabled) - [isExisting](#isexisting) -- [isFocused](#isfocused) -- [isSelected](#isselected) - [isVisible](#isvisible) - [isVisibleWithinViewport](#isvisiblewithinviewport) -- [isNotEnabled](#isnotenabled) +- [isEnabled](#isenabled) +- [isSelected](#isselected) +- [isFocused](#isfocused) - [isNotExisting](#isnotexisting) -- [isNotFocused](#isnotfocused) -- [isNotSelected](#isnotselected) - [isNotVisible](#isnotvisible) - [isNotVisibleWithinViewport](#isnotvisiblewithinviewport) +- [isNotEnabled](#isnotenabled) +- [isNotSelected](#isnotselected) +- [isNotFocused](#isnotfocused) - [break](#break) - [abort](#abort) - [file](#file) diff --git a/README.md b/README.md index 3b27524..fbd2712 100644 --- a/README.md +++ b/README.md @@ -303,18 +303,18 @@ One of the [instructions] has to be present in every command, otherwise its exec * [hasText](INSTRUCTIONS.md#hastext) * [hasInnerHtml](INSTRUCTIONS.md#hasinnerhtml) * [hasOuterHtml](INSTRUCTIONS.md#hasouterhtml) -* [isEnabled](INSTRUCTIONS.md#isenabled) * [isExisting](INSTRUCTIONS.md#isexisting) -* [isFocused](INSTRUCTIONS.md#isfocused) -* [isSelected](INSTRUCTIONS.md#isselected) * [isVisible](INSTRUCTIONS.md#isvisible) * [isVisibleWithinViewport](INSTRUCTIONS.md#isvisiblewithinviewport) -* [isNotEnabled](INSTRUCTIONS.md#isnotenabled) +* [isEnabled](INSTRUCTIONS.md#isenabled) +* [isSelected](INSTRUCTIONS.md#isselected) +* [isFocused](INSTRUCTIONS.md#isfocused) * [isNotExisting](INSTRUCTIONS.md#isnotexisting) -* [isNotFocused](INSTRUCTIONS.md#isnotfocused) -* [isNotSelected](INSTRUCTIONS.md#isnotselected) * [isNotVisible](INSTRUCTIONS.md#isnotvisible) * [isNotVisibleWithinViewport](INSTRUCTIONS.md#isnotvisiblewithinviewport) +* [isNotEnabled](INSTRUCTIONS.md#isnotenabled) +* [isNotSelected](INSTRUCTIONS.md#isnotselected) +* [isNotFocused](INSTRUCTIONS.md#isnotfocused) * [break](INSTRUCTIONS.md#break) * [abort](INSTRUCTIONS.md#abort) * [file](INSTRUCTIONS.md#file) diff --git a/tasks/html-dom-snapshot.js b/tasks/html-dom-snapshot.js index 80610cb..87e8526 100644 --- a/tasks/html-dom-snapshot.js +++ b/tasks/html-dom-snapshot.js @@ -12,10 +12,10 @@ const instructionKeys = [ 'addValue', 'selectOptionByIndex', 'selectOptionByValue', 'moveCursor', 'click', 'clickIfVisible', 'keys', 'elementSendKeys', 'wait', 'hasAttribute', 'hasClass', 'hasValue', 'hasText', 'hasInnerHtml', 'hasOuterHtml', - 'isEnabled', 'isExisting', 'isFocused', 'isSelected', 'isVisible', - 'isVisibleWithinViewport', 'isNotEnabled', 'isNotExisting', - 'isNotFocused', 'isNotSelected', 'isNotVisible', - 'isNotVisibleWithinViewport', 'break', 'abort' + 'isExisting', 'isVisible', 'isVisibleWithinViewport', 'isEnabled', + 'isSelected', 'isFocused', 'isNotExisting', 'isNotVisible', + 'isNotVisibleWithinViewport', 'isNotEnabled', 'isNotFocused', + 'isNotSelected', 'break', 'abort' ] const instructions = instructionKeys.map(instruction => require('./instructions/' + instruction))