webship-js 1.0.38 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/config_templates/circleci-linux-chrome.conf.js +1 -0
- package/assets/config_templates/github-linux-chrome.conf.js +1 -0
- package/examples/test--when--i-scroll-functionality.html +176 -0
- package/nightwatch.conf.js +1 -0
- package/package.json +1 -1
- package/tests/features/test--given--i-am-on-homepage.feature +2 -2
- package/tests/features/test--then--i-should--not--see-text-in-element.feature +2 -2
- package/tests/features/test--then--i-should--see-text-in-element-by-attr.feature +2 -2
- package/tests/features/test--then--i-should--see-text-in-element.feature +2 -2
- package/tests/features/test--then--i-should--see-text-matching-pattern-in-element.feature +4 -4
- package/tests/features/test--then--i-should--see-text-matching-pattern.feature +5 -5
- package/tests/features/test--then--i-should-be-on-page.feature +2 -2
- package/tests/features/test--then--i-should-be-on-the-homepage.feature +2 -2
- package/tests/features/test--then--i-should-not-see-an-element-by-attr.feature +2 -2
- package/tests/features/test--then--i-should-not-see-an-element.feature +2 -2
- package/tests/features/test--then--i-should-see-an-element-by-attr.feature +2 -2
- package/tests/features/test--then--i-should-see-an-element.feature +2 -2
- package/tests/features/test--then--the-checkbox-is-checked.feature +2 -2
- package/tests/features/test--then--the-checkbox-should-be-checked.feature +2 -2
- package/tests/features/test--then--the-element-should-contain-cssproperty.feature +2 -2
- package/tests/features/test--then--the-element-should-not-contain-cssproperty.feature +3 -3
- package/tests/features/test--then--the-field-should-contain-value.feature +3 -3
- package/tests/features/test--then--the-response-should-contain.feature +3 -3
- package/tests/features/test--then--the-response-status-code-should-be.feature +2 -2
- package/tests/features/test--then--the-url-should-match.feature +4 -4
- package/tests/features/test--then-the-link-should-contain-by-attribute.feature +6 -7
- package/tests/features/test--then-the-link-should-contain.feature +3 -4
- package/tests/features/test--when--i-attach-file-to-feild.feature +2 -3
- package/tests/features/test--when--i-check-checkbox.feature +2 -3
- package/tests/features/test--when--i-click-link-by-attribute.feature +2 -3
- package/tests/features/test--when--i-click-link.feature +4 -5
- package/tests/features/test--when--i-fill-in-by-attr.feature +9 -9
- package/tests/features/test--when--i-fill-in-table-by-attr.feature +6 -6
- package/tests/features/test--when--i-fill-in.feature +5 -5
- package/tests/features/test--when--i-go-to-homepage.feature +3 -6
- package/tests/features/test--when--i-move-forward-backward-one-page.feature +2 -3
- package/tests/features/test--when--i-press-button-by-attribute.feature +8 -9
- package/tests/features/test--when--i-press-button.feature +7 -3
- package/tests/features/test--when--i-reload-page.feature +2 -3
- package/tests/features/test--when--i-scroll.feature +48 -0
- package/tests/features/test--when--i-select-option-from-dropdownlist.feature +17 -6
- package/tests/features/test--when--i-wait-page-is-loaded.feature +2 -3
- package/tests/features/test--when--i-wait-time.feature +12 -13
- package/tests/step-definitions/webship.js +395 -202
- package/tests/features/test--when--i-select-option-from-dropdownlist-by-attr.feature +0 -16
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
Feature: An example of selecting an option from a dropdown list using its attributes.
|
|
2
|
-
|
|
3
|
-
As a tester,
|
|
4
|
-
I want to be able to test selecting an option from a dropdown list using its attributes.
|
|
5
|
-
|
|
6
|
-
Scenario: Check selecting an option from a dropdown list using its attributes.
|
|
7
|
-
Given I am on "/test--when--i-select-option-from-dropdownlist.html"
|
|
8
|
-
When I select "Saab" from "#cars" by attr
|
|
9
|
-
When I press "Submit"
|
|
10
|
-
Then I should see "Option ( Saab ) has been selected successfully"
|
|
11
|
-
|
|
12
|
-
Scenario: Check selecting an option from a dropdown list.
|
|
13
|
-
Given I am on "/test--when--i-select-option-from-dropdownlist.html"
|
|
14
|
-
When I select "Mercedes" from "cars" by its "id" attr
|
|
15
|
-
When I press "Submit"
|
|
16
|
-
Then I should see "Option ( Mercedes ) has been selected successfully"
|