✖TestCase_12: (TestCase_2 modified) should be able to add one item to cart, delay on CheckoutStep1 page,logged out, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout12-checkout1-delay.e2e.js:25:9)
UserStory: Logout
Spec File
\test\specs\checkout13-checkout2-logout.e2e.js
Suite Start
2022-02-18T01:59:26.912Z
Suite End
2022-02-18T01:59:32.133Z
Suite Duration
00:00:05.219
Tests
1
✖TestCase_13: (TestCase_2 modified) should be able to add one item to cart, logout at checkoutStep2 page, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout13-checkout2-logout.e2e.js:20:9)
UserStory: Logout
Spec File
\test\specs\checkout11-checkout1-logout.e2e.js
Suite Start
2022-02-18T01:59:26.933Z
Suite End
2022-02-18T01:59:33.183Z
Suite Duration
00:00:06.249
Tests
1
✖TestCase_11: (TestCase_2 modified) should be able to add one item to cart, logout on CheckoutStep1, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout11-checkout1-logout.e2e.js:21:9)
UserStory: Delay
Spec File
\test\specs\checkout14-checkout2-delay.e2e.js
Suite Start
2022-02-18T01:59:26.993Z
Suite End
2022-02-18T01:59:32.476Z
Suite Duration
00:00:05.481
Tests
1
✖TestCase_14: (TestCase_2 modified) should be able to add one item to cart, delay on checkoutStep2 page, logged out, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout14-checkout2-delay.e2e.js:25:9)
✖TestCase_15: (TestCase_2 modified) should be able to add one item to cart, checkout, logout at checkoutComplete page, log back in and check 0 items in cart
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout15-checkoutcomplete-logout.e2e.js:21:9)
UserStory: Delay
Spec File
\test\specs\checkout10-cart-delay.e2e.js
Suite Start
2022-02-18T01:59:27.220Z
Suite End
2022-02-18T01:59:32.750Z
Suite Duration
00:00:05.529
Tests
1
✖TestCase_10: (TestCase_2 modified) should be able to add one item to cart, go to Cart page, delay, get kicked out, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout10-cart-delay.e2e.js:26:9)
✖TestCase_16: (TestCase_2 modified) should be able to add one item to cart and go to checkoutComplete page, delay, logged out, log back in and check 0 items in cart
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout16-checkoutcomplete-delay.e2e.js:26:9)
UserStory: Checkout
Spec File
\test\specs\checkout17.e2e.js
Suite Start
2022-02-18T01:59:27.241Z
Suite End
2022-02-18T01:59:33.119Z
Suite Duration
00:00:05.876
Tests
1
✖TestCase_17: (TestCase_2 modified) should be able to add one item to cart and check it out successfully, click on cart icon and see 0 items in cart
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout17.e2e.js:20:9)
UserStory: Checkout
Spec File
\test\specs\checkout1.e2e.js
Suite Start
2022-02-18T01:59:27.454Z
Suite End
2022-02-18T01:59:33.192Z
Suite Duration
00:00:05.736
Tests
1
✖TestCase_1: Add one item to cart, remove it, add it again
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout1.e2e.js:16:9)
UserStory: Checkout
Spec File
\test\specs\checkout2.e2e.js
Suite Start
2022-02-18T01:59:27.854Z
Suite End
2022-02-18T01:59:33.385Z
Suite Duration
00:00:05.529
Tests
1
✖TestCase_2: Add one item to cart and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout2.e2e.js:19:9)
UserStory: Checkout
Spec File
\test\specs\checkout3.e2e.js
Suite Start
2022-02-18T01:59:38.034Z
Suite End
2022-02-18T01:59:43.909Z
Suite Duration
00:00:05.873
Tests
1
✖TestCase_3: Add multiple items to cart, Continue shopping from cart and remove 1 item, Cancel from Checkout1, to successful checkout
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout3.e2e.js:20:9)
UserStory: Checkout
Spec File
\test\specs\checkout4.e2e.js
Suite Start
2022-02-18T01:59:38.106Z
Suite End
2022-02-18T01:59:43.674Z
Suite Duration
00:00:05.566
Tests
1
✖TestCase_4: Should error out when customer information is missing
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout4.e2e.js:16:9)
UserStory: Checkout
Spec File
\test\specs\checkout5.e2e.js
Suite Start
2022-02-18T01:59:38.157Z
Suite End
2022-02-18T01:59:43.818Z
Suite Duration
00:00:05.660
Tests
1
✖TestCase_5: Add 5 items to cart, got to CheckoutStep1, don't fill in customer info, go Back to Cart, Remove an item, continue to checkout, go Back Home
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout5.e2e.js:22:9)
UserStory: Checkout
Spec File
\test\specs\checkout6.e2e.js
Suite Start
2022-02-18T01:59:38.968Z
Suite End
2022-02-18T01:59:44.472Z
Suite Duration
00:00:05.502
Tests
1
✖TestCase_6: Testing CartIcon from CheckoutStep2, Cancel from CheckoutStep2
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout6.e2e.js:21:9)
UserStory: Logout
Spec File
\test\specs\checkout7-inventory-logout.e2e.js
Suite Start
2022-02-18T01:59:39.263Z
Suite End
2022-02-18T01:59:45.284Z
Suite Duration
00:00:06.020
Tests
1
✖TestCase_7: (TestCase_2 modified) should be able to add one item to cart, logout from InventoryPage, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout7-inventory-logout.e2e.js:19:9)
UserStory: Delay
Spec File
\test\specs\checkout8-inventory-delay.e2e.js
Suite Start
2022-02-18T01:59:40.108Z
Suite End
2022-02-18T01:59:45.654Z
Suite Duration
00:00:05.545
Tests
1
✖TestCase_8: (TestCase_2 modified) should be able to add one item to cart, delay on inventory page, autologout, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout8-inventory-delay.e2e.js:25:9)
UserStory: Logout
Spec File
\test\specs\checkout9-cart-logout.e2e.js
Suite Start
2022-02-18T01:59:40.227Z
Suite End
2022-02-18T01:59:46.071Z
Suite Duration
00:00:05.842
Tests
1
✖TestCase_9: (TestCase_2 modified) should be able to add one item to cart, go to Cart page, logout, log back in and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\checkout9-cart-logout.e2e.js:24:9)
UserStory: Login
Spec File
\test\specs\example.e2e.js
Suite Start
2022-02-18T01:59:42.563Z
Suite End
2022-02-18T01:59:55.760Z
Suite Duration
00:00:13.195
Tests
1
✖Login_1: Should be able to login with valid credentials
Assertion: Expect $(`#header_container > div.header_secondary_container > span`) to have text containing
Expected: "PRODUCTS"
Received: undefined
Error: Expect $(`#header_container > div.header_secondary_container > span`) to have text containing
Expected: "PRODUCTS"
Received: undefined
at Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\example.e2e.js:11:52)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
UserStory: Login
Suite Start
2022-02-18T01:59:55.760Z
Suite End
2022-02-18T02:00:06.182Z
Suite Duration
00:00:10.422
Tests
1
✖Login_2: Should be able to login, then logout
Assertion: Expect $(`#header_container > div.header_secondary_container > span`) to have text containing
Expected: "PRODUCTS"
Received: undefined
Error: Expect $(`#header_container > div.header_secondary_container > span`) to have text containing
Expected: "PRODUCTS"
Received: undefined
at Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\example.e2e.js:21:52)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
UserStory: Login
Spec File
\test\specs\login3.e2e.js
Suite Start
2022-02-18T01:59:45.137Z
Suite End
2022-02-18T01:59:50.967Z
Suite Duration
00:00:05.828
Tests
1
✖Login_3:should be able to login, logout, login
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\login3.e2e.js:13:9)
UserStory: Login
Spec File
\test\specs\loginerror2.e2e.js
Suite Start
2022-02-18T01:59:45.415Z
Suite End
2022-02-18T01:59:48.769Z
Suite Duration
00:00:03.353
Tests
1
✔LoginError_2: accessing a valid page without being logged in should show correct Error message
UserStory: Login
Spec File
\test\specs\logintimeout1.e2e.js
Suite Start
2022-02-18T01:59:49.596Z
Suite End
2022-02-18T01:59:55.020Z
Suite Duration
00:00:05.423
Tests
1
✖LoginTimeout_1: Logged in user should be kicked out after 10 minutes
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\logintimeout1.e2e.js:18:9)
UserStory: Reset Cart State
Spec File
\test\specs\reset1.e2e.js
Suite Start
2022-02-18T01:59:49.752Z
Suite End
2022-02-18T01:59:55.357Z
Suite Duration
00:00:05.603
Tests
1
✖Reset_1: should be able to add two items to cart and zero it out by Reset App State from burger menu on the Inventory Page
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\reset1.e2e.js:16:9)
UserStory: Reset Cart State
Spec File
\test\specs\reset2.e2e.js
Suite Start
2022-02-18T01:59:50.252Z
Suite End
2022-02-18T01:59:55.689Z
Suite Duration
00:00:05.436
Tests
1
✖Reset_2: should be able to add two items to cart and zero it out by Reset App State from burger menu on the Cart Page
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\reset2.e2e.js:16:9)
UserStory: Reset Cart State
Spec File
\test\specs\reset3-checkout1.e2e.js
Suite Start
2022-02-18T01:59:51.197Z
Suite End
2022-02-18T01:59:56.635Z
Suite Duration
00:00:05.437
Tests
1
✖Reset_3: should be able to reset cart state from CheckoutStep1
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\reset3-checkout1.e2e.js:17:9)
UserStory: Reset Cart State
Spec File
\test\specs\reset4-checkout2.e2e.js
Suite Start
2022-02-18T01:59:51.632Z
Suite End
2022-02-18T01:59:57.109Z
Suite Duration
00:00:05.475
Tests
1
✖Reset_4: should be able to add one item to cart and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\reset4-checkout2.e2e.js:18:9)
UserStory: Reset Cart State
Spec File
\test\specs\reset5-checkoutcomplete.e2e.js
Suite Start
2022-02-18T01:59:51.967Z
Suite End
2022-02-18T01:59:57.345Z
Suite Duration
00:00:05.377
Tests
1
✖Reset_5: should be able to add one item to cart and check it out successfully
Assertion: InventoryPage.ensureOnPage: Not on correct page
Error: InventoryPage.ensureOnPage: Not on correct page
at InventoryPage.ensureOnPage (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\pageobjects\inventory.page.js:16:19)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async Context.<anonymous> (C:\pallavi\code\webdriverio\webdriverio-saucedemo-testing\test\specs\reset5-checkoutcomplete.e2e.js:19:9)