webship-js 1.0.42 → 1.0.44

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.
Files changed (79) hide show
  1. package/.circleci/config.yml +7 -7
  2. package/.eslintrc.json +0 -0
  3. package/.github/workflows/github-actions.yml +3 -3
  4. package/.gitlab-ci.yml +3 -4
  5. package/CNAME +0 -0
  6. package/README.md +3 -3
  7. package/bitbucket-pipelines.yml +11 -16
  8. package/dist/nightwatch.conf.dev.js +93 -0
  9. package/examples/about-us.html +0 -0
  10. package/examples/contact-us.html +0 -0
  11. package/examples/index.html +0 -0
  12. package/examples/test--then--i-should--see-text-in-element.html +0 -0
  13. package/examples/test--then--i-should--see-text-matching-pattern.html +0 -0
  14. package/examples/test--then--i-should-see-text-in-table-row.html +232 -0
  15. package/examples/test--then--the-checkbox-checked.html +0 -0
  16. package/examples/test--then--the-element-should_not-contain-cssproperty.html +0 -0
  17. package/examples/test--then--the-link-should-contain.html +0 -0
  18. package/examples/test--when--i-attach-file-to-feild.html +0 -0
  19. package/examples/test--when--i-check-uncheck-checkbox.html +0 -0
  20. package/examples/test--when--i-click-link.html +0 -0
  21. package/examples/test--when--i-click-text-in-table-row.html +178 -0
  22. package/examples/test--when--i-press-button.html +0 -0
  23. package/examples/test--when--i-reload-page.html +0 -0
  24. package/examples/test--when--i-scroll-functionality.html +0 -0
  25. package/examples/test--when--i-scroll-left-right-functionality.html +0 -0
  26. package/examples/test--when--i-select-option-from-dropdownlist.html +0 -0
  27. package/examples/test--when-i-wait-max-of-time.html +0 -0
  28. package/examples/test--when-i-wait-page-until-is-loaded.html +0 -0
  29. package/examples/test--when-i-wait-specific-time.html +0 -0
  30. package/generate-reports.js +0 -0
  31. package/nightwatch.conf.js +1 -1
  32. package/package.json +9 -9
  33. package/tests/assets/webshipco.png +0 -0
  34. package/tests/features/api-step-definitions-individual.feature +185 -0
  35. package/tests/features/complete-api-testing-examples.feature +205 -0
  36. package/tests/features/test--given--i-am-on-homepage.feature +2 -2
  37. package/tests/features/test--then--i-should--not--see-text-in-element.feature +2 -2
  38. package/tests/features/test--then--i-should--see-text-in-element-by-attr.feature +2 -2
  39. package/tests/features/test--then--i-should--see-text-in-element.feature +2 -2
  40. package/tests/features/test--then--i-should--see-text-matching-pattern-in-element.feature +2 -2
  41. package/tests/features/test--then--i-should--see-text-matching-pattern.feature +2 -2
  42. package/tests/features/test--then--i-should-be-on-page.feature +2 -2
  43. package/tests/features/test--then--i-should-be-on-the-homepage.feature +2 -2
  44. package/tests/features/test--then--i-should-not-see-an-element-by-attr.feature +2 -2
  45. package/tests/features/test--then--i-should-not-see-an-element.feature +2 -2
  46. package/tests/features/test--then--i-should-see-an-element-by-attr.feature +2 -2
  47. package/tests/features/test--then--i-should-see-an-element.feature +2 -2
  48. package/tests/features/test--then--i-should-see-text-in-table-row.feature +96 -0
  49. package/tests/features/test--then--the-checkbox-is-checked.feature +2 -2
  50. package/tests/features/test--then--the-checkbox-should-be-checked.feature +2 -2
  51. package/tests/features/test--then--the-element-should-contain-cssproperty.feature +2 -2
  52. package/tests/features/test--then--the-element-should-not-contain-cssproperty.feature +2 -2
  53. package/tests/features/test--then--the-field-should-contain-value.feature +2 -2
  54. package/tests/features/test--then--the-response-should-contain.feature +2 -2
  55. package/tests/features/test--then--the-response-status-code-should-be.feature +2 -2
  56. package/tests/features/test--then--the-url-should-match.feature +2 -2
  57. package/tests/features/test--then-the-link-should-contain-by-attribute.feature +2 -2
  58. package/tests/features/test--then-the-link-should-contain.feature +2 -2
  59. package/tests/features/test--when--i-attach-file-to-feild.feature +2 -2
  60. package/tests/features/test--when--i-check-checkbox.feature +2 -2
  61. package/tests/features/test--when--i-click-link-by-attribute.feature +2 -2
  62. package/tests/features/test--when--i-click-link.feature +2 -2
  63. package/tests/features/test--when--i-click-text-in-table-row.feature +37 -0
  64. package/tests/features/test--when--i-fill-in-by-attr.feature +2 -2
  65. package/tests/features/test--when--i-fill-in-table-by-attr.feature +2 -2
  66. package/tests/features/test--when--i-fill-in.feature +2 -2
  67. package/tests/features/test--when--i-go-to-homepage.feature +3 -3
  68. package/tests/features/test--when--i-move-forward-backward-one-page.feature +2 -2
  69. package/tests/features/test--when--i-press-button-by-attribute.feature +2 -2
  70. package/tests/features/test--when--i-press-button.feature +2 -2
  71. package/tests/features/test--when--i-reload-page.feature +2 -2
  72. package/tests/features/test--when--i-scroll-left-right.feature +2 -2
  73. package/tests/features/test--when--i-scroll.feature +2 -2
  74. package/tests/features/test--when--i-select-option-from-dropdownlist.feature +2 -2
  75. package/tests/features/test--when--i-wait-page-is-loaded.feature +2 -2
  76. package/tests/features/test--when--i-wait-time.feature +2 -2
  77. package/tests/step-definitions/webship-api.js +535 -0
  78. package/tests/step-definitions/webship.js +159 -0
  79. package/.yarn/install-state.gz +0 -0
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that the input text contain a specific value based on its attribute
2
- As a tester,
3
- I want to ensure that the textbox contain a specific value based on its attributes.
2
+ As a tester,
3
+ I want to ensure that the textbox contain a specific value based on its attributes.
4
4
 
5
5
  Scenario: Ensuring that a textbox contain a specific value based on its attributes.
6
6
  Given I am on "/test--then--i-should--not--see-text-in-element.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that the input text contain a specific value based on its label
2
- As a tester,
3
- I want to ensure thlabelat the textbox does not contain a specific value based on its label
2
+ As a tester,
3
+ I want to ensure thlabelat the textbox does not contain a specific value based on its label
4
4
 
5
5
  Scenario: Ensuring that a textbox does not contain a specific value based on its label.
6
6
  Given I am on "/test--then--i-should--not--see-text-in-element.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of ensuring that a pattern matches the text in a specific element
2
- As a developer,
3
- I want to ensure that a pattern matches the text in a specific element.
2
+ As a developer,
3
+ I want to ensure that a pattern matches the text in a specific element.
4
4
 
5
5
  Scenario: Ensuring that the text in an element matches the 12-hour time format pattern
6
6
  Given I am on "/test--then--i-should--see-text-matching-pattern.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of ensuring that a pattern matches the text on a specific page.
2
- As a developer,
3
- I want to ensure that a pattern matches the text in a specific page.
2
+ As a developer,
3
+ I want to ensure that a pattern matches the text in a specific page.
4
4
 
5
5
  Scenario: Ensure that there is a text matching the pattern of text starting with 'T' on a specific page
6
6
  Given I am on "/test--then--i-should--see-text-matching-pattern.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that you are on a specific page
2
- As an anonymous user,
3
- I want to ensure that I am on a specific page
2
+ As an anonymous user,
3
+ I want to ensure that I am on a specific page
4
4
 
5
5
  Scenario: Ensure that you are on a specific page
6
6
  Given I am on the homepage
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that you are on the homepage
2
- As an anonymous user,
3
- I want to ensure that I am on the homepage
2
+ As an anonymous user,
3
+ I want to ensure that I am on the homepage
4
4
 
5
5
  Scenario: Ensure that you are on the homepage
6
6
  Given I am on the homepage
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that a specific element is not visible on the current page by its attribute
2
- As a user,
3
- I want to ensure that when I'm on a particular page, I do not see a specific element identified by its attribute
2
+ As a user,
3
+ I want to ensure that when I'm on a particular page, I do not see a specific element identified by its attribute
4
4
 
5
5
  Scenario: Ensure that a specific element is not visible based on its attribute
6
6
  Given I am on "/test--then--i-should--see-text-in-element.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that a specific element is not visible on the current page by its label
2
- As a user,
3
- I want to ensure that when I'm on a particular page, I do not see a specific element by its label
2
+ As a user,
3
+ I want to ensure that when I'm on a particular page, I do not see a specific element by its label
4
4
 
5
5
  Scenario: Ensure to test that a specific element is not visible by its label
6
6
  Given I am on "/test--then--i-should--see-text-in-element.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure visibility of a specific element on the current page by its attributes
2
- As a user,
3
- I want to make sure that when I'm on a particular page, I can see a specific element by its attributes
2
+ As a user,
3
+ I want to make sure that when I'm on a particular page, I can see a specific element by its attributes
4
4
 
5
5
  Scenario: Ensure visibility of a specific element by its attributes
6
6
  Given I am on "/test--then--i-should--see-text-in-element.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that a specific element is visible on the current page by its label
2
- As a user,
3
- I want to ensure that when I'm on a particular page, I can see a specific element by its label
2
+ As a user,
3
+ I want to ensure that when I'm on a particular page, I can see a specific element by its label
4
4
 
5
5
  Scenario: Check to test seeing for a specific element by its label
6
6
  Given I am on "/test--then--i-should--see-text-in-element.html"
@@ -0,0 +1,96 @@
1
+ Feature: Assert text visibility in table rows
2
+ As a test automation engineer
3
+ I want to verify text content within specific table rows
4
+ So that I can validate data accuracy and proper display in tables
5
+
6
+ Background:
7
+ Given I am on "/test--then--i-should-see-text-in-table-row.html"
8
+
9
+ Scenario: Verify employee information is displayed correctly
10
+ Then I should see "Admin" in the "John Smith" row
11
+ And I should see "john.smith@company.com" in the "John Smith" row
12
+ And I should see "Engineering" in the "John Smith" row
13
+ And I should see "Active" in the "John Smith" row
14
+ And I should see "$85,000" in the "John Smith" row
15
+
16
+ Scenario: Verify different employee roles are displayed
17
+ Then I should see "User" in the "Jane Doe" row
18
+ And I should see "Manager" in the "Bob Johnson" row
19
+ And I should see "User" in the "Alice Cooper" row
20
+ And I should not see "Admin" in the "Jane Doe" row
21
+ And I should not see "Admin" in the "Bob Johnson" row
22
+
23
+ Scenario: Verify employee status visibility
24
+ Then I should see "Active" in the "John Smith" row
25
+ And I should see "Active" in the "Jane Doe" row
26
+ And I should see "On Leave" in the "Bob Johnson" row
27
+ And I should see "Inactive" in the "Alice Cooper" row
28
+ And I should not see "Inactive" in the "John Smith" row
29
+ And I should not see "Active" in the "Alice Cooper" row
30
+
31
+ Scenario: Verify product inventory information
32
+ Then I should see "Wireless Headphones" in the "WH-2024-001" row
33
+ And I should see "$199.99" in the "Wireless Headphones" row
34
+ And I should see "150" in the "Wireless Headphones" row
35
+ And I should see "In Stock" in the "Wireless Headphones" row
36
+ And I should not see "Out of Stock" in the "Wireless Headphones" row
37
+
38
+ Scenario: Verify low stock and out of stock products
39
+ Then I should see "Low Stock" in the "Gaming Mouse" row
40
+ And I should see "5" in the "Gaming Mouse" row
41
+ And I should see "Out of Stock" in the "Office Chair" row
42
+ And I should see "0" in the "Office Chair" row
43
+ And I should not see "In Stock" in the "Gaming Mouse" row
44
+ And I should not see "In Stock" in the "Office Chair" row
45
+
46
+ Scenario: Verify order status information
47
+ Then I should see "Completed" in the "ORD-2024-001" row
48
+ And I should see "Michael Chen" in the "ORD-2024-001" row
49
+ And I should see "Processing" in the "ORD-2024-002" row
50
+ And I should see "Sarah Wilson" in the "ORD-2024-002" row
51
+ And I should see "Cancelled" in the "ORD-2024-003" row
52
+ And I should see "Shipped" in the "ORD-2024-004" row
53
+
54
+ Scenario: Verify negative assertions for order status
55
+ Then I should not see "Processing" in the "ORD-2024-001" row
56
+ And I should not see "Completed" in the "ORD-2024-002" row
57
+ And I should not see "Shipped" in the "ORD-2024-003" row
58
+ And I should not see "Cancelled" in the "ORD-2024-004" row
59
+
60
+ Scenario: Verify project information
61
+ Then I should see "Website Redesign" in the "John Smith" row
62
+ And I should see "75%" in the "Website Redesign" row
63
+ And I should see "High" in the "Website Redesign" row
64
+ And I should see "Mobile App" in the "Jane Doe" row
65
+ And I should see "45%" in the "Mobile App" row
66
+ And I should see "Medium" in the "Mobile App" row
67
+
68
+ Scenario: Verify project progress and priorities
69
+ Then I should see "90%" in the "API Integration" row
70
+ And I should see "High" in the "API Integration" row
71
+ And I should see "3 members" in the "API Integration" row
72
+ And I should not see "Low" in the "API Integration" row
73
+ And I should not see "100%" in the "API Integration" row
74
+
75
+ Scenario: Cross-table data verification
76
+ Then I should see "John Smith" in the "john.smith@company.com" row
77
+ And I should see "John Smith" in the "Website Redesign" row
78
+ And I should see "Jane Doe" in the "jane.doe@company.com" row
79
+ And I should see "Jane Doe" in the "Mobile App" row
80
+ And I should not see "Bob Johnson" in the "Website Redesign" row
81
+ And I should not see "Alice Cooper" in the "Mobile App" row
82
+
83
+ Scenario: Verify currency and numeric data
84
+ Then I should see "$199.99" in the "Wireless Headphones" row
85
+ And I should see "$79.99" in the "Gaming Mouse" row
86
+ And I should see "$299.99" in the "Office Chair" row
87
+ And I should see "$49.99" in the "Laptop Stand" row
88
+ And I should not see "$0.00" in the "Wireless Headphones" row
89
+ And I should not see "$999.99" in the "Gaming Mouse" row
90
+
91
+ Scenario: Verify date and timestamp information
92
+ Then I should see "2024-08-15" in the "ORD-2024-001" row
93
+ And I should see "2024-08-16" in the "ORD-2024-002" row
94
+ And I should see "2024-09-15" in the "Website Redesign" row
95
+ And I should see "2024-10-30" in the "Mobile App" row
96
+ And I should not see "2023-01-01" in the "ORD-2024-001" row
@@ -1,6 +1,6 @@
1
1
  Feature: An example of a test case for selecting a checkbox
2
- As a tester,
3
- I want to be able to check that the checkbox is checked or not
2
+ As a tester,
3
+ I want to be able to check that the checkbox is checked or not
4
4
 
5
5
  Scenario: Verify that the checkbox is checked
6
6
  Given I am on "/test--then--the-checkbox-checked.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to assert the selection of a checkbox
2
- As an anonymous user,
3
- I want to ensure that a specific checkbox is checked before submitting a particular action
2
+ As an anonymous user,
3
+ I want to ensure that a specific checkbox is checked before submitting a particular action
4
4
 
5
5
  Scenario: Ensure that the checkbox is checked
6
6
  Given I am on "/test--then--the-checkbox-checked.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to verify whether the element contains a specific expected CSS property.
2
- As a developer,
3
- I want to verify whether the element contains a specific expected CSS property.
2
+ As a developer,
3
+ I want to verify whether the element contains a specific expected CSS property.
4
4
 
5
5
  Scenario: Verify whether the element contains a specific expected CSS property
6
6
  Given I am on "/test--then--the-element-should_not-contain-cssproperty.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to verify whether the element does not contain a specific expected CSS property.
2
- As a developer,
3
- I want to verify whether the element does not contain a specific expected CSS property.
2
+ As a developer,
3
+ I want to verify whether the element does not contain a specific expected CSS property.
4
4
 
5
5
  Scenario: Verify whether the element does not contain a certain CSS property
6
6
  Given I am on "/test--then--the-element-should_not-contain-cssproperty.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to verify whether the field contains a specific value identified by its element label
2
- As a tester,
3
- I want to verify whether the field has a specific value based on its element label
2
+ As a tester,
3
+ I want to verify whether the field has a specific value based on its element label
4
4
 
5
5
  Scenario: Verify that the field has a particular value based on its element label
6
6
  Given I am on "/test--then--i-should--not--see-text-in-element.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example to ensure that the response page contains specific text
2
- As a tester,
3
- I want to navigate to a page to verify whether it contains specific text
2
+ As a tester,
3
+ I want to navigate to a page to verify whether it contains specific text
4
4
 
5
5
  Scenario: Ensure that the response page contains specific text
6
6
  Given I am on the homepage
@@ -1,6 +1,6 @@
1
1
  Feature: An example to check the status code of a page response
2
- As a tester,
3
- I want to be able to check the status code of a page response
2
+ As a tester,
3
+ I want to be able to check the status code of a page response
4
4
 
5
5
  Scenario: Check the response status code for a non-existing page
6
6
  Given I am on the homepage
@@ -1,6 +1,6 @@
1
1
  Feature: An example of checking for matching URLs based on a specific pattern
2
- As a tester,
3
- I want to ensure that the current page path matches a specific pattern
2
+ As a tester,
3
+ I want to ensure that the current page path matches a specific pattern
4
4
 
5
5
  Scenario: Ensure that the current page path matches the URL pattern that uses dashes between words
6
6
  Given I am on "/test-acceptable-url-path.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of checking the href attribute of a link element to see if it contains a specific URL, which is found by its attributes.
2
- As a tester,
3
- I want to be able to check link href if contain a specific URL found by its attributes
2
+ As a tester,
3
+ I want to be able to check link href if contain a specific URL found by its attributes
4
4
 
5
5
  Scenario: Verify that the link contains "about" by its direct id, class attribute
6
6
  Given I am on "/test--then--the-link-should-contain.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of checking the href attribute of a link element to see if it contains a specific text.
2
- As a tester,
3
- I want to be able to check link href if contain a specific text
2
+ As a tester,
3
+ I want to be able to check link href if contain a specific text
4
4
 
5
5
  Scenario: Verify that the link contains "about"
6
6
  Given I am on "/test--then--the-link-should-contain.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of checking the attachment of a file to a field
2
- As a tester,
3
- I want to be able to attach a file (e.g., images) to a field
2
+ As a tester,
3
+ I want to be able to attach a file (e.g., images) to a field
4
4
 
5
5
  Scenario: Checking the attachment of an image to a field
6
6
  Given I am on "/test--when--i-attach-file-to-feild.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of checking and unchecking a checkbox
2
- As a tester,
3
- I want to be able to check and uncheck a checkbox
2
+ As a tester,
3
+ I want to be able to check and uncheck a checkbox
4
4
 
5
5
  Scenario: Implementing the ability to check and uncheck a checkbox
6
6
  Given I am on "/test--when--i-check-uncheck-checkbox.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of clicking a link by its attribute
2
- As a tester,
3
- I want to be able to click a link by its attribute
2
+ As a tester,
3
+ I want to be able to click a link by its attribute
4
4
 
5
5
  Scenario: Verify the action of clicking a link by targeting its ID attribute
6
6
  Given I am on "/test--when--i-click-link.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of clicking a link by its text
2
- As a tester,
3
- I want to be able to click a link based on its text
2
+ As a tester,
3
+ I want to be able to click a link based on its text
4
4
 
5
5
  Scenario: Verify clicking a link by its text
6
6
  Given I am on "/test--when--i-click-link.html"
@@ -0,0 +1,37 @@
1
+ Feature: Click specific text in table rows
2
+ As a test automation engineer
3
+ I want to be able to click on specific text within table rows
4
+ So that I can interact with table actions based on row content
5
+
6
+ Background:
7
+ Given I am on "/test--when--i-click-text-in-table-row.html"
8
+
9
+ Scenario: Click Edit button in John Smith row
10
+ When I click "Edit" in the "John Smith" row
11
+ Then I should see "Performed (edit) action on (John Smith)" in the "#action-message" element by attr
12
+
13
+ Scenario: Click View Details button in Jane Doe row
14
+ When I click "View Details" in the "Jane Doe" row
15
+ Then I should see "Performed (view) action on (Jane Doe)" in the "#action-message" element by attr
16
+
17
+ Scenario: Click Delete button in Bob Johnson row
18
+ When I click "Delete" in the "Bob Johnson" row
19
+ Then I should see "Performed (delete) action on (Bob Johnson)" in the "#action-message" element by attr
20
+
21
+ Scenario: Click Download link in Product A row
22
+ When I click "Download" in the "Product A" row
23
+ Then I should see "Performed (download) action on (Product A)" in the "#action-message" element by attr
24
+
25
+ Scenario: Click View Details in Order #12345 row
26
+ When I click "View Details" in the "Order #12345" row
27
+ Then I should see "Performed (view) action on (Order #12345)" in the "#action-message" element by attr
28
+
29
+ Scenario: Click Track in Order #67890 row
30
+ When I click "Track" in the "Order #67890" row
31
+ Then I should see "Performed (track) action on (Order #67890)" in the "#action-message" element by attr
32
+
33
+ Scenario: Multiple table interaction
34
+ When I click "Edit" in the "John Smith" row
35
+ And I wait 1 second
36
+ And I click "Download" in the "Product B" row
37
+ Then I should see "Performed (download) action on (Product B)" in the "#action-message" element by attr
@@ -1,6 +1,6 @@
1
1
  Feature: An example of filling an input textbox with a value using its attributes.
2
- As a tester,
3
- I want to fill an input field with a value using its attributes.
2
+ As a tester,
3
+ I want to fill an input field with a value using its attributes.
4
4
 
5
5
  Scenario: Fill in the input field using its ID and class attributes.
6
6
  Given I am on "/test--when--i-fill-in.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of populating a table of input fields with values using their attributes.
2
- As a tester,
3
- I want to be able to fill input text fields with values using their attributes.
2
+ As a tester,
3
+ I want to be able to fill input text fields with values using their attributes.
4
4
 
5
5
  Scenario: Check the filling of a table of input fields using different attributes.
6
6
  Given I am on "/test--when--i-fill-in.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of filling an input textbox with a value using its label.
2
- As a tester,
3
- I want to be able to fill input text fields with values using their labels.
2
+ As a tester,
3
+ I want to be able to fill input text fields with values using their labels.
4
4
 
5
5
  Scenario: Check filling an input field with a value using its label.
6
6
  Given I am on "/test--when--i-fill-in.html"
@@ -1,7 +1,7 @@
1
1
  Feature: An example of testing whether the user is on any page and then navigating to the homepage.
2
- As a user,
3
- I want to be able to navigate to the homepage from another page.
4
- So that I can check the welcome message on the homepage.
2
+ As a user,
3
+ I want to be able to navigate to the homepage from another page.
4
+ So that I can check the welcome message on the homepage.
5
5
 
6
6
  Scenario: Check if on the About Us page, then navigate to the homepage.
7
7
  Given I am on "/about-us.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of navigating forward and backward by one page.
2
- As a tester,
3
- I want to be able to navigate forward and backward by one page.
2
+ As a tester,
3
+ I want to be able to navigate forward and backward by one page.
4
4
 
5
5
  Scenario: Check to navigate forward and backward one page
6
6
  Given I am on the homepage
@@ -1,6 +1,6 @@
1
1
  Feature: An example of pressing a button using its attributes.
2
- As a tester,
3
- I want to be able to press a button using its attributes.
2
+ As a tester,
3
+ I want to be able to press a button using its attributes.
4
4
 
5
5
  Scenario: Verify that you can click a button by specifying its ID with the '#' sign.
6
6
  Given I am on "/test--when--i-press-button.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of pressing a button by its label.
2
- As a tester,
3
- I want to be able to press a button using its label.
2
+ As a tester,
3
+ I want to be able to press a button using its label.
4
4
 
5
5
  Scenario: Check pressing a button using its label.
6
6
  Given I am on "/test--when--i-press-button.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of reloading the page.
2
- As a tester,
3
- I want to be able to reload the page.
2
+ As a tester,
3
+ I want to be able to reload the page.
4
4
 
5
5
  Scenario: Check reloading the page.
6
6
  Given I am on "/test--when--i-reload-page.html"
@@ -1,6 +1,6 @@
1
1
  Feature: Complete scrolling functionality test
2
- As a tester,
3
- I want to test all scrolling step definitions to ensure they work correctly.
2
+ As a tester,
3
+ I want to test all scrolling step definitions to ensure they work correctly.
4
4
 
5
5
  Scenario: Test basic scroll down functionality
6
6
  Given I am on "/test--when--i-scroll-left-right-functionality.html"
@@ -1,6 +1,6 @@
1
1
  Feature: Complete scrolling functionality test
2
- As a tester,
3
- I want to test all scrolling step definitions to ensure they work correctly.
2
+ As a tester,
3
+ I want to test all scrolling step definitions to ensure they work correctly.
4
4
 
5
5
  Scenario: Test basic scroll down functionality
6
6
  Given I am on "/test--when--i-scroll-functionality.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example of selecting an option from a dropdown list using its attributes.
2
- As a tester,
3
- I want to be able to test selecting an option from a dropdown list using its attributes.
2
+ As a tester,
3
+ I want to be able to test selecting an option from a dropdown list using its attributes.
4
4
 
5
5
  Scenario: Check selecting an option from a dropdown list using its attributes.
6
6
  Given I am on "/test--when--i-select-option-from-dropdownlist.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example test to wait until the page is loaded.
2
- As a tester,
3
- I want to make sure that I can wait until a page is loaded.
2
+ As a tester,
3
+ I want to make sure that I can wait until a page is loaded.
4
4
 
5
5
  Scenario: Check waiting for the page to load.
6
6
  Given I am on "/test--when-i-wait-page-until-is-loaded.html"
@@ -1,6 +1,6 @@
1
1
  Feature: An example test to wait for a specific maximum number of seconds/minutes for the page to load.
2
- As a tester,
3
- I want to make sure that I can wait for a page to load and for an element to become visible.
2
+ As a tester,
3
+ I want to make sure that I can wait for a page to load and for an element to become visible.
4
4
 
5
5
  Scenario: Check waiting 6 seconds for the page content to load.
6
6
  Given I am on the homepage