/
var
/
www
/
html
/
subscription-test2-cases
/
reports
/
Upload File
HOME
<!doctype html> <html lang="en"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width, initial-scale=1"/><title>Mochawesome Report</title><link rel="stylesheet" href="assets/app.css"/></head><body data-raw="{"stats":{"suites":264,"tests":315,"passes":3,"pending":0,"failures":309,"start":"2022-02-17T03:10:02.767Z","end":"2022-02-17T03:10:02.767Z","duration":389478,"testsRegistered":315,"passPercent":0.9523809523809523,"pendingPercent":0,"other":0,"hasOther":false,"skipped":3,"hasSkipped":true},"results":[{"uuid":"c8a76d25-52c6-423b-9f2c-5c12e28a9824","title":"","fullFile":"cypress/integration/p-portal/1-login/1-login_spec.js","file":"cypress/integration/p-portal/1-login/1-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ab33531f-fc51-4576-b41e-113d6b5095cd","title":"Login to the Customer Portal","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":" I enter <Users Email> and <Password> and I hit 'Sign in' CTA","fullTitle":"Login to the Customer Portal I enter <Users Email> and <Password> and I hit 'Sign in' CTA","timedOut":null,"duration":607,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:101:8)","diff":null},"uuid":"915099d0-9392-4c82-b1d5-c6e2af108f9c","parentUUID":"ab33531f-fc51-4576-b41e-113d6b5095cd","isHook":false,"skipped":false},{"title":"I should be on the customer's portal Dashboard/home page","fullTitle":"Login to the Customer Portal I should be on the customer's portal Dashboard/home page","timedOut":null,"duration":4161,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.navbar-brand').contains('Dashboard');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:105:8)","diff":null},"uuid":"b11592b6-d9fa-4c0a-ac7f-690783163aa0","parentUUID":"ab33531f-fc51-4576-b41e-113d6b5095cd","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4165,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/1-login/1-login_spec.js:108:8)","diff":null},"uuid":"46e41678-8a1c-4df9-83f0-07f89cb97f29","parentUUID":"ab33531f-fc51-4576-b41e-113d6b5095cd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["915099d0-9392-4c82-b1d5-c6e2af108f9c","b11592b6-d9fa-4c0a-ac7f-690783163aa0","46e41678-8a1c-4df9-83f0-07f89cb97f29"],"pending":[],"skipped":[],"duration":8933,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6def037a-b8bf-4bf3-a491-cbdcdbb4a100","title":"","fullFile":"cypress/integration/p-portal/2-subscription/1-subscription.spec.js","file":"cypress/integration/p-portal/2-subscription/1-subscription.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f40d260e-fdaa-4197-a68f-ab961062bc33","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":544,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var totalSub = 0;\nvar totalInv = 0;\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.sidebar-wrapper .fa-file-invoice-dollar').click({\n force: true\n});\ncy.get('.subscription-item-container').its('length').then(function (elm) {\n totalInv = elm + 1;\n});\ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(function (elm) {\n totalSub = elm + 1;\n});\ncy.log(\"totalSub\" + totalSub);\ncy.log(\"totalInv\" + totalInv);\ncy.get('[data-sfuniqueid=\"subscription__actionBtns\"] a.btn.btn-black').click({\n force: true\n});\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.card-title').each(function (element, index) {\n if (element.text().includes('tiered')) {\n cy.get('[data-sfuniqueid=\"subscription__subscriptionType_plan-0\"] .addPlanProductToSubscription').eq(index + 1).click({\n force: true\n });\n return false;\n }\n});\ncy.wait(20000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n expect(elm.length).to.eq(1);\n});\ncy.get('.list-group-item').eq(1).then(function (invAmt) {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] button.btn.btn-danger.m-0').click({\n force: true\n });\n cy.wait(30000); ////////here\n cy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(function (elm) {\n expect(elm).to.eq(totalSub);\n });\n cy.get('.fa-file-invoice-dollar').click({\n force: true\n });\n cy.get('.subscription-item-container').its('length').then(function (elm) {\n expect(elm).to.eq(totalInv);\n });\n cy.get('.bg-info').first().then(function (amount) {\n expect(invAmt.text()).to.include(amount.text());\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/1-subscription.spec.js:103:8)","diff":null},"uuid":"21f7ce78-64ac-404c-b615-7291bb8b6eba","parentUUID":"f40d260e-fdaa-4197-a68f-ab961062bc33","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["21f7ce78-64ac-404c-b615-7291bb8b6eba"],"pending":[],"skipped":[],"duration":544,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d009f92-4d71-4983-a887-917cfb0fe063","title":"","fullFile":"cypress/integration/p-portal/2-subscription/2-subscription-upgrade.spec.js","file":"cypress/integration/p-portal/2-subscription/2-subscription-upgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"462729bd-cb88-41af-b625-9718e02b8dc5","title":"Subscription - Upgrade","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to subscription's listing page and filter active subscription","fullTitle":"Subscription - Upgrade Go to subscription's listing page and filter active subscription","timedOut":null,"duration":444,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var list_top;\nvar inv_price;\nvar user_name; //start\ncy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(5000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row').eq(1).find('[class=\"subscription-details-header d-flex flex-row\"] > [class=\"lead\"] > strong').then(function (top) {\n list_top = top.text();\n}); //start original\n// cy.visit(\"/portal/subscriptions\") \ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(30000);\nvar selected_plan = 0;\nvar updatedSelected_plan = 0;\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n});\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n selected_plan = elm.length;\n}); //start\ncy.get('.card-title').each(function (element, index) {\n if (element.text().includes('Volume')) {\n cy.get('[class=\"card-footer text-center\"] .row .col .lead').eq(index + 1).then(function (price) {\n inv_price = price.text().split(' ');\n inv_price = inv_price[1];\n cy.log(inv_price);\n });\n cy.get('.addPlanProductToSubscription').eq(index + 1).click({\n force: true\n });\n return false;\n }\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').then(function (elm) {\n updatedSelected_plan = elm.length;\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n expect(updatedSelected_plan).to.not.eq(selected_plan);\n}).then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n});\ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(20000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.gt(totalBefore);\n}); //start\ncy.get('.fas.fa-file-invoice-dollar').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row').eq(1).find('[class=\"subscription-details-header d-flex flex-row\"] > [class=\"lead\"] > strong').then(function (top1) {\n expect(list_top).to.not.equal(top1);\n});\ncy.get('[class=\"list-group-item d-flex flex-row justify-content-between\"] [class=\"bg-info text-white p-1\"] strong').first().then(function (price2) {\n expect(inv_price).to.equal(price2.text());\n});\ncy.get('[class=\"navbar-nav head-nav-right\"] [class=\"nav-item\"] p strong').then(function (name) {\n user_name = name.text();\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/2-subscription-upgrade.spec.js:105:8)","diff":null},"uuid":"d09ded01-567b-4409-a2a8-e6b348bf71fc","parentUUID":"462729bd-cb88-41af-b625-9718e02b8dc5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d09ded01-567b-4409-a2a8-e6b348bf71fc"],"pending":[],"skipped":[],"duration":444,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a54b2ed2-9bf3-4e9f-991b-f566b9133fc8","title":"","fullFile":"cypress/integration/p-portal/2-subscription/3-subscription-downgrade.spec.js","file":"cypress/integration/p-portal/2-subscription/3-subscription-downgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"21655d23-1498-41fd-b9f3-4f2477c5e462","title":"Subscription - Downgrade","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to subscription's listing page and filter active subscription","fullTitle":"Subscription - Downgrade Go to subscription's listing page and filter active subscription","timedOut":null,"duration":517,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal;\n cy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row .btn-black').each(function ($el) {\n cy.get($el).click({\n force: true\n });\n });\n cy.wait(18000);\n var priceBefore = 0;\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .list-group .list-group-item .lead').each(function (price) {\n price = price.text().split('.');\n var price1 = price[0].replace(/\\D/g, \"\");\n price1 = parseInt(price1);\n priceBefore = priceBefore + price1;\n cy.log(priceBefore);\n });\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row .btn-black').each(function (elm) {\n expect(elm.text().trim()).to.eq('removed');\n });\n var sum = 0;\n var amount = 0;\n cy.get('.card-footer .lead').each(function ($el, index) {\n amount = $el;\n amount = amount.text().replace(/\\D/g, \"\");\n amount /= 100;\n if (parseInt(amount) < parseInt(totalBefore / 12)) {\n cy.get('.addPlanProductToSubscription').eq(index).click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(7000);\n });\n cy.get('.far.fa-calendar-check').click({\n force: true\n });\n cy.wait(10000);\n cy.url().should('include', '/portal/subscriptions');\n cy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n });\n cy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n });\n cy.wait(15000);\n cy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.lt(totalBefore);\n });\n cy.get('.fa-hand-holding-usd').click();\n cy.get('tr td').eq(1).then(function (price) {\n price = price.text().split('.');\n var price2 = price[0].replace(/\\D/g, \"\");\n price2 = parseInt(price2);\n expect(price2).to.eq(priceBefore);\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/3-subscription-downgrade.spec.js:101:8)","diff":null},"uuid":"2784d010-585a-49b8-95d8-68626d2f3999","parentUUID":"21655d23-1498-41fd-b9f3-4f2477c5e462","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2784d010-585a-49b8-95d8-68626d2f3999"],"pending":[],"skipped":[],"duration":517,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"97bad6bb-4904-4b24-872e-89aa9709be90","title":"","fullFile":"cypress/integration/p-portal/2-subscription/4-subscription-suspend.spec.js","file":"cypress/integration/p-portal/2-subscription/4-subscription-suspend.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d2781f74-2e49-40b5-ada7-8954b6fed686","title":"Subscription - Suspend","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to subscription's listing page and filter active subscription then perform Subscription - Suspend","fullTitle":"Subscription - Suspend Go to subscription's listing page and filter active subscription then perform Subscription - Suspend","timedOut":null,"duration":483,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-warning.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#suspendSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns button.btn.btn-success.m-0').then(function (elm) {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspended');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/4-subscription-suspend.spec.js:101:8)","diff":null},"uuid":"94b3a47f-770b-421f-a537-0ddce1b80b26","parentUUID":"d2781f74-2e49-40b5-ada7-8954b6fed686","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["94b3a47f-770b-421f-a537-0ddce1b80b26"],"pending":[],"skipped":[],"duration":483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ac20f5df-eb30-442b-a737-3ff7a8ff9840","title":"","fullFile":"cypress/integration/p-portal/2-subscription/5-subscription-resume.spec.js","file":"cypress/integration/p-portal/2-subscription/5-subscription-resume.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b80e9b5b-64e2-4999-9223-fc5bce72fca2","title":"Subscription - Resume","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to subscription's listing page and filter Suspended subscription then perform Subscription - Resume","fullTitle":"Subscription - Resume Go to subscription's listing page and filter Suspended subscription then perform Subscription - Resume","timedOut":null,"duration":514,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Suspended', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-success.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#resumeSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.actionBtns .btn.btn-warning').then(function (elm) {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(function (elm) {\n expect(elm.text().trim()).to.eq('Active');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/5-subscription-resume.spec.js:101:8)","diff":null},"uuid":"21437965-aa33-4ad3-acc4-f0eef589d10f","parentUUID":"b80e9b5b-64e2-4999-9223-fc5bce72fca2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["21437965-aa33-4ad3-acc4-f0eef589d10f"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7772b498-6760-4d36-b2c0-7d5707e416bf","title":"","fullFile":"cypress/integration/p-portal/2-subscription/6-subscription-cancel.spec.js","file":"cypress/integration/p-portal/2-subscription/6-subscription-cancel.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"165ecf8a-8608-4fb0-ae4c-d67a89d8c20f","title":"Subscription - Cancel","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to subscription's listing page and perform Subscription - Cancel","fullTitle":"Subscription - Cancel Go to subscription's listing page and perform Subscription - Cancel","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns button.btn.btn-danger.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#cancelSubscriptionModal').should('have.class', 'show');\ncy.wait(5000);\ncy.get('#cancelSubscriptionModal button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000);\ncy.get('span.ml-2.badge.badge-status-cancelled').then(function (elm) {\n expect(elm.text().trim()).to.eq('Cancelled');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/6-subscription-cancel.spec.js:101:8)","diff":null},"uuid":"f8fa6c78-0ac7-4148-8df5-b27786534d70","parentUUID":"165ecf8a-8608-4fb0-ae4c-d67a89d8c20f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f8fa6c78-0ac7-4148-8df5-b27786534d70"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84f76041-ee0f-4f32-a2f6-bcb20908c725","title":"","fullFile":"cypress/integration/p-portal/2-subscription/7-subscription-change-plan.spec.js","file":"cypress/integration/p-portal/2-subscription/7-subscription-change-plan.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"15498d6a-1b09-4db6-99e3-ad0cd33ae100","title":"Subscription - Change Plan","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to subscription's listing page and filter active subscription & Subscription - Change Plan","fullTitle":"Subscription - Change Plan Go to subscription's listing page and filter active subscription & Subscription - Change Plan","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.url().should('include', '/portal/subscriptions');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Active', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\nvar totalBefore = 0;\nvar totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal1 = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal1;\n});\ncy.get('[data-sfuniqueid=\"subscription__card-0\"] .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.actionBtns a.btn.btn-black.m-0').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.navbar-brand').contains('Upgrade / Downgrade Subscription');\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').each(function ($el, index, $list) {\n $el.find('.btn-black').click();\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .subscription-details-header .actionBtns .btn-black').should('contain', 'removed'); // cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').each(($el, index, $list) => {\n// expect($el.find('.btn-black').text().trim()).to.eq('removed')\n// })\ncy.get('.row > .col-4:first-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('.row > .col-4:last-child button.addPlanProductToSubscription').click({\n force: true\n});\ncy.wait(12000);\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(function () {\n cy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .btn-danger').click({\n force: true\n });\n cy.wait(10000);\n});\ncy.get('.far.fa-calendar-check').click({\n force: true\n});\ncy.wait(10000);\ncy.url().should('include', '/portal/subscriptions');\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(function (elm) {\n var normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.not.eq(totalBefore);\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/subscriptions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/7-subscription-change-plan.spec.js:101:8)","diff":null},"uuid":"3f106b0d-3e41-4561-9be8-79e49ce4e1b9","parentUUID":"15498d6a-1b09-4db6-99e3-ad0cd33ae100","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f106b0d-3e41-4561-9be8-79e49ce4e1b9"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bc25f6c4-a2d7-4f69-a660-b05b5bed2748","title":"","fullFile":"cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js","file":"cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"42c71d3b-fb0f-4535-b562-6f72616e2af2","title":"Invoice - Invoice Page Filters","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Invoice - Due Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Due Filter","timedOut":null,"duration":509,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:101:8)","diff":null},"uuid":"540f5332-b519-46bc-a297-2caf7a49727e","parentUUID":"42c71d3b-fb0f-4535-b562-6f72616e2af2","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":445,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Overdue', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(20000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Overdue');\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:121:8)","diff":null},"uuid":"cef49f39-afe8-46ac-b853-dde50bc1c628","parentUUID":"42c71d3b-fb0f-4535-b562-6f72616e2af2","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":468,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Partially Paid', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:141:8)","diff":null},"uuid":"8fa5c423-dadb-47a7-98c9-3ab3d16cf160","parentUUID":"42c71d3b-fb0f-4535-b562-6f72616e2af2","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":479,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Paid', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(25000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Paid');\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:161:8)","diff":null},"uuid":"ebf4d475-e7c1-42c3-8a6a-1b23cf72c955","parentUUID":"42c71d3b-fb0f-4535-b562-6f72616e2af2","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":467,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Bounced', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(15000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Bounced');\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:181:8)","diff":null},"uuid":"0ba92b68-41b4-47ec-8098-6c8ed7c8dde4","parentUUID":"42c71d3b-fb0f-4535-b562-6f72616e2af2","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":447,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Void', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(25000);\ncy.get('body').then(function ($body) {\n if ($body.find('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').length) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Void');\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/0.1-invoices.spec.js:201:8)","diff":null},"uuid":"b62b90fd-8b5f-4feb-80d8-246816e9963c","parentUUID":"42c71d3b-fb0f-4535-b562-6f72616e2af2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["540f5332-b519-46bc-a297-2caf7a49727e","cef49f39-afe8-46ac-b853-dde50bc1c628","8fa5c423-dadb-47a7-98c9-3ab3d16cf160","ebf4d475-e7c1-42c3-8a6a-1b23cf72c955","0ba92b68-41b4-47ec-8098-6c8ed7c8dde4","b62b90fd-8b5f-4feb-80d8-246816e9963c"],"pending":[],"skipped":[],"duration":2815,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"501bfafe-ac84-4d54-acd0-30c1bbe6baed","title":"","fullFile":"cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js","file":"cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f78553bc-8bc0-43e8-a7d4-eb38f3537875","title":"Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":489,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js:104:8)","diff":null},"uuid":"92f90660-236b-4a3d-94f2-1e14d14cbfd9","parentUUID":"f78553bc-8bc0-43e8-a7d4-eb38f3537875","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Add payment method from Portal","timedOut":null,"duration":457,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js:236:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/01-invoice-make-payment.spec.js:178:5)","diff":null},"uuid":"654c0503-2ac7-4544-a35e-440c4514ae91","parentUUID":"f78553bc-8bc0-43e8-a7d4-eb38f3537875","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["92f90660-236b-4a3d-94f2-1e14d14cbfd9","654c0503-2ac7-4544-a35e-440c4514ae91"],"pending":[],"skipped":[],"duration":946,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dd8010ed-c5c9-4bab-837f-1a2747824766","title":"","fullFile":"cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","file":"cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7fb3fe54-ea8b-49e3-8a07-4966353ddd55","title":"Make Payment with Credit Card using Stripe (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":452,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:104:8)","diff":null},"uuid":"5cb374bc-f386-4558-b24a-b5d877390350","parentUUID":"7fb3fe54-ea8b-49e3-8a07-4966353ddd55","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Add payment method from Portal","timedOut":null,"duration":464,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:259:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:175:5)","diff":null},"uuid":"4f8b38b9-4371-424a-a72b-5a74ff9e7abb","parentUUID":"7fb3fe54-ea8b-49e3-8a07-4966353ddd55","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('Due', {\n force: true\n});\ncy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n});\ncy.wait(10000); // Checking if second child \"row\" is found\ncy.get('[class=\"content\"] [class=\"container-fluid\"]').then(function (element) {\n if (element.find('.row').eq(1).length > 0) {\n //\"Due\" invoices are found\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Due');\n });\n } else {\n //goes back to filter to check for overdue invoices if there are no due invoices\n cy.get('.container-fluid > .row:first-child').find('select.form-control').select('Overdue', {\n force: true\n });\n cy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n });\n cy.wait(10000);\n cy.get('[class=\"content\"] [class=\"container-fluid\"]').then(function (element) {\n if (element.find('.row').eq(1).length > 0) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Overdue');\n });\n cy.log(\"adukhajksdhkajsdhkajsdhkajshdkjashkdajshdkja\");\n } else {\n //goes back to filter to check for Partially Paid invoices if there are no overdue invoices\n cy.get('.container-fluid > .row:first-child').find('select.form-control').select('Partially Paid', {\n force: true\n });\n cy.get('.container-fluid > .row:first-child').find('button.btn.btn-danger').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n });\n }\n}); //click the first found invoice\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:179:8)","diff":null},"uuid":"be2ce49b-e80a-469a-b279-d307244b92e8","parentUUID":"7fb3fe54-ea8b-49e3-8a07-4966353ddd55","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5cb374bc-f386-4558-b24a-b5d877390350","4f8b38b9-4371-424a-a72b-5a74ff9e7abb","be2ce49b-e80a-469a-b279-d307244b92e8"],"pending":[],"skipped":[],"duration":1408,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5bf645ca-74f8-483f-985b-3b7f1e448698","title":"","fullFile":"cypress/integration/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","file":"cypress/integration/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"de723117-d360-4c49-a067-ada7fc844122","title":"Invoice - Make Payment By unapplied amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Invoice - Make Payment","fullTitle":"Invoice - Make Payment By unapplied amount Invoice - Make Payment","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(1) div.col-7.mt-5.text-right > div > label').then(function (elm) {\n var text = elm.text().split(' ');\n totalUnappliedAmount = parseInt(text[18].replace(/[$,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container .bg-danger strong').then(function (elm) {\n totalInvoiceAmount = parseInt(elm.text().replace(/[$,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').its('length').then(function () {\n setUnappliedAmount(totalInvoiceAmount);\n payInvoice(totalInvoiceAmount);\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js:103:8)","diff":null},"uuid":"3eadd655-6c1d-4a45-a496-bd6f851be90b","parentUUID":"de723117-d360-4c49-a067-ada7fc844122","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3eadd655-6c1d-4a45-a496-bd6f851be90b"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0cd1bbf1-99ef-489d-b8d5-c5a2f11ef8f4","title":"","fullFile":"cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","file":"cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e722a31f-a569-4452-81d7-f54da2c8b80e","title":"Make Payment with credit card using AuthorizeNet (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":471,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); //Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(10000);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:104:8)","diff":null},"uuid":"ab28e958-0464-46a7-9c28-0eb7be351b56","parentUUID":"e722a31f-a569-4452-81d7-f54da2c8b80e","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Add payment method from Portal","timedOut":null,"duration":463,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:218:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:177:5)","diff":null},"uuid":"060e568f-c3d2-45a2-80c2-5eab734869b5","parentUUID":"e722a31f-a569-4452-81d7-f54da2c8b80e","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":459,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.modal-content.modal-content-set .lead').contains('is charged against Invoice').should('be.visible');\ncy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:180:8)","diff":null},"uuid":"1f452879-c01a-4355-bcda-b87a26665813","parentUUID":"e722a31f-a569-4452-81d7-f54da2c8b80e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ab28e958-0464-46a7-9c28-0eb7be351b56","060e568f-c3d2-45a2-80c2-5eab734869b5","1f452879-c01a-4355-bcda-b87a26665813"],"pending":[],"skipped":[],"duration":1393,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ac9260b-269d-461c-95c4-e6b28fbcee96","title":"","fullFile":"cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","file":"cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6f89819c-1096-4279-9588-a094481d235b","title":"Make Payment with ACH using AuthorizeNet (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":494,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:104:8)","diff":null},"uuid":"063511a0-ba48-4121-b4a6-d5d03c9d3f1b","parentUUID":"6f89819c-1096-4279-9588-a094481d235b","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Add payment method from Portal","timedOut":null,"duration":456,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:237:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:175:5)","diff":null},"uuid":"4397f13e-7d28-4f86-a733-aaeee5ced438","parentUUID":"6f89819c-1096-4279-9588-a094481d235b","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(5000);\ncy.checkPortal();\ncy.get('#subscription-single-header span.ml-2.badge').then(function (status) {\n cy.log('text status: ' + status.text());\n cy.get('.basic-information .table tbody tr').eq(6).then(function (outstandingAmount) {\n var el = outstandingAmount.text().replace(/[^0-9]+/g, \"\");\n el = parseInt(el);\n el = el / 100;\n cy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#invoicePaymentModal').should('have.class', 'show');\n cy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n });\n cy.wait(5000);\n if (el > 100) {\n cy.get('.lead').contains('We are unable to process your payment.').should('be.visible');\n cy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#subscription-single-header span.ml-2.badge').then(function (elm) {\n expect(elm.text()).to.eq(status.text());\n });\n } else {\n cy.get('.lead').should('contain', 'is charged against Invoice');\n cy.get('.lead').contains('is charged against Invoice').should('be.visible');\n cy.get('#invoicePaymentModal a.btn.btn-primary.closeInvociePaymentPopup').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#subscription-single-header span.ml-2.badge').should('have.class', 'badge-status-paid').then(function (elm) {\n expect(elm.text()).to.eq(\"Paid\");\n });\n }\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:178:8)","diff":null},"uuid":"ce527413-145f-4f6f-939c-7849508fb97b","parentUUID":"6f89819c-1096-4279-9588-a094481d235b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["063511a0-ba48-4121-b4a6-d5d03c9d3f1b","4397f13e-7d28-4f86-a733-aaeee5ced438","ce527413-145f-4f6f-939c-7849508fb97b"],"pending":[],"skipped":[],"duration":1440,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e0ff6e7-7120-4cfb-898c-23879b765576","title":"","fullFile":"cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","file":"cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e7aa2f03-2fa2-45da-b62d-26f3d983d28b","title":"Make Payment with Paypal Express Checkout Approve (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:104:8)","diff":null},"uuid":"c8cec8b0-e1c8-4035-b556-8d205ae667a5","parentUUID":"e7aa2f03-2fa2-45da-b62d-26f3d983d28b","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Add payment method from Portal","timedOut":null,"duration":438,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:268:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:176:5)","diff":null},"uuid":"16303567-6c93-4768-95f6-923b11c07080","parentUUID":"e7aa2f03-2fa2-45da-b62d-26f3d983d28b","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":545,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(8000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(10000);\nif (cy.url().should('contain', 'sandbox.paypal')) {\n cy.visit('/en/customers');\n cy.visit('/en/customers');\n cy.check();\n cy.visit('/en/customers');\n cy.wait(10000);\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('#related-table-transaction #relatedViewTableEl tr [data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n cy.get('.text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn.btn-warning').contains('Approve').click({\n force: true\n });\n cy.wait(20000); // cy.get('#approve-form > .modal-content > .modal-footer > .btn-create').click({force:true})\n // cy.wait(5000)\n // cy.get('#related-table-transaction #relatedViewTableEl tr [data-sfuniqueid=\"dataTable__table-td-6\"]').then(status => {\n // var payStatus = status.text().trim()\n // expect(payStatus).to.eq('Paid')\n // })\n // cy.get('#relatedList-bulk-action-Invoice_Customer > #example1 > tbody > :nth-child(1) > :nth-child(7)').then(status => {\n // var payStatus = status.text().trim()\n // expect(payStatus).to.eq('Paid')\n // })\n var x;\n cy.get('#relatedList-bulk-action-Transaction_Customer th').each(function (heading, index) {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(function (element) {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n var y;\n cy.get('#relatedList-bulk-action-Invoice_Customer th').each(function (heading, index) {\n if (heading.text().includes('dataTable__table-th-status')) {\n y = 'dataTable__table-td-' + index;\n cy.get(y).first().then(function (element) {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n}","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:179:8)","diff":null},"uuid":"fbfb0d92-b6d4-49ee-835c-35da9335aedd","parentUUID":"e7aa2f03-2fa2-45da-b62d-26f3d983d28b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c8cec8b0-e1c8-4035-b556-8d205ae667a5","16303567-6c93-4768-95f6-923b11c07080","fbfb0d92-b6d4-49ee-835c-35da9335aedd"],"pending":[],"skipped":[],"duration":1471,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b8ae556-f33f-4540-a953-a23aa5b3ecfc","title":"","fullFile":"cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","file":"cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"86cc61c2-4fbe-4e68-b8a4-c776a738b490","title":"Make Payment with Paypal Express Checkout Decline (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:104:8)","diff":null},"uuid":"1568f852-5a14-42ca-a4af-198914ac8289","parentUUID":"86cc61c2-4fbe-4e68-b8a4-c776a738b490","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Add payment method from Portal","timedOut":null,"duration":464,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:246:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:176:5)","diff":null},"uuid":"62a47be4-f4e9-4c9a-9aa6-b92c2745c716","parentUUID":"86cc61c2-4fbe-4e68-b8a4-c776a738b490","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":466,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices').then(function () {\n if (typeof selectInvoice() !== 'undefined') {\n createSubscription();\n }\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').click({\n force: true\n});\ncy.wait(8000);\ncy.checkPortal();\ncy.get('.actionBtns #showInvoicePaymentModal').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#invoicePaymentModal').should('have.class', 'show');\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(20000);\ncy.get('#portalInvoicePaymentModal .btn.btn-primary').click({\n force: true\n});\ncy.wait(15000);\nif (cy.url().should('contain', 'sandbox.paypal')) {\n cy.visit('/en/customers');\n cy.visit('/en/customers');\n cy.check();\n cy.wait(10000);\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n });\n });\n cy.wait(6000);\n cy.get('#relatedList-bulk-action-Transaction_Customer tr td a').first().click({\n force: true\n });\n cy.get('.text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline_reason').type('Declined');\n cy.get('#decline-form > .modal-content > .modal-footer > .btn-warning').click();\n var x;\n cy.get('#relatedList-bulk-action-Transaction_Customer th').each(function (heading, index) {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(function (element) {\n expect(element.text()).to.eq('Declined');\n });\n }\n });\n}","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:180:8)","diff":null},"uuid":"99ef0132-3004-4f94-85bf-7a21b2248343","parentUUID":"86cc61c2-4fbe-4e68-b8a4-c776a738b490","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1568f852-5a14-42ca-a4af-198914ac8289","62a47be4-f4e9-4c9a-9aa6-b92c2745c716","99ef0132-3004-4f94-85bf-7a21b2248343"],"pending":[],"skipped":[],"duration":1422,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d207cf4-577b-4064-b6f6-835c1628af0c","title":"","fullFile":"cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","file":"cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6bb24891-c5b1-4ce6-96da-baa3eedffaa3","title":"Allocate Credits using PortalFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Customer Detail and create Credit Notes apply it from portal","fullTitle":"Allocate Credits using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal","timedOut":null,"duration":799,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"createOrder();\ncy.visit(\"/portal/dashboard\");\ncy.checkPortal();\ncy.wait(5000);\ncy.get('.sidebar-wrapper i.fas.fa-hand-holding-usd').click({\n force: true\n});\ncy.url().should('include', '/portal/credits');\ncy.checkPortal();\ncy.get('.card-title').contains('All Credits');\ncy.get('.container-fluid .card-body').then(function (element) {\n if (element.find('.lead').text().includes('You do not have any credits.')) {\n expect(element.text()).includes('You do not have any credits.');\n allocateCredits();\n } else {\n checkVerify();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at createOrder (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:177:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:104:5)","diff":null},"uuid":"97743524-1fc7-421d-aa22-ccc2d0c22202","parentUUID":"6bb24891-c5b1-4ce6-96da-baa3eedffaa3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["97743524-1fc7-421d-aa22-ccc2d0c22202"],"pending":[],"skipped":[],"duration":799,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"60588eee-4e50-4042-892c-a9de2640a7db","title":"","fullFile":"cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2ea5b8e0-752d-451b-954d-f1c87753cc32","title":"Allocate credits when allocated amount is less than credit note balance using PortalFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Customer Detail and create Credit Notes apply it from portal","fullTitle":"Allocate credits when allocated amount is less than credit note balance using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at allocateCredits (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:159:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:104:5)","diff":null},"uuid":"e06acd1c-de6a-4bc6-a0cd-43286af536ce","parentUUID":"2ea5b8e0-752d-451b-954d-f1c87753cc32","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e06acd1c-de6a-4bc6-a0cd-43286af536ce"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31a53595-0a38-422c-a65d-65b90e807eef","title":"","fullFile":"cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"baea8ae8-255d-49cf-af4b-4183332b9870","title":"Allocate credits when allocated amount is greater than the credit note balance using PortalFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Customer Detail and create Credit Notes apply it from portal","fullTitle":"Allocate credits when allocated amount is greater than the credit note balance using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal","timedOut":null,"duration":489,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at allocateCredits (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:161:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:104:5)","diff":null},"uuid":"4e8bc2d2-a199-4647-a483-4e7d9b5fdcbf","parentUUID":"baea8ae8-255d-49cf-af4b-4183332b9870","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e8bc2d2-a199-4647-a483-4e7d9b5fdcbf"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"336b2167-ff26-40de-ba34-0c4ae926d58d","title":"","fullFile":"cypress/integration/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/integration/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"16781c28-ba26-4b1a-b0a6-2fc983ba014c","title":"Allocate credits when allocated amount is equal to the credit note balance using PortalFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Customer Detail and create Credit Notes apply it from portal","fullTitle":"Allocate credits when allocated amount is equal to the credit note balance using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at allocateCredits (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:158:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:104:5)","diff":null},"uuid":"3357966e-df24-46b2-99fd-c1cdb202f473","parentUUID":"16781c28-ba26-4b1a-b0a6-2fc983ba014c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3357966e-df24-46b2-99fd-c1cdb202f473"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"05522be2-1e27-4160-894a-7116c80f403e","title":"","fullFile":"cypress/integration/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","file":"cypress/integration/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b14324a8-91d4-4ab0-abfe-5e77f2bf5415","title":"Credit Notes using PortalFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Customer Detail and create Credit Notes apply it from portal","fullTitle":"Credit Notes using PortalFlow Go to Customer Detail and create Credit Notes apply it from portal","timedOut":null,"duration":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at allocateCredits (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:158:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:104:5)","diff":null},"uuid":"4cab6937-d768-4145-9fb0-5410e61747b5","parentUUID":"b14324a8-91d4-4ab0-abfe-5e77f2bf5415","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4cab6937-d768-4145-9fb0-5410e61747b5"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"53e83f33-d63e-4abb-879a-40727bd1f7ca","title":"","fullFile":"cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","file":"cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a9134e7e-2675-4864-bca2-577b8976e434","title":"Add payment method for ACH using Stripe (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Add payment method for ACH using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(7000);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:104:8)","diff":null},"uuid":"6a03b02e-bcad-4db4-af5e-7e061c5d311c","parentUUID":"a9134e7e-2675-4864-bca2-577b8976e434","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Add payment method for ACH using Stripe (PortalFlow) Add payment method from Portal","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:207:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:177:5)","diff":null},"uuid":"142d1998-996d-440a-b942-e3020116ded0","parentUUID":"a9134e7e-2675-4864-bca2-577b8976e434","isHook":false,"skipped":false},{"title":"Admin verified the payment method","fullTitle":"Add payment method for ACH using Stripe (PortalFlow) Admin verified the payment method","timedOut":null,"duration":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#amount1-input').type('32');\ncy.get('#amount2-input').type('45');\ncy.get('#verify_button').click({\n force: true\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:180:8)","diff":null},"uuid":"b37cba35-72f2-401f-a9c0-333304b0ec4a","parentUUID":"a9134e7e-2675-4864-bca2-577b8976e434","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6a03b02e-bcad-4db4-af5e-7e061c5d311c","142d1998-996d-440a-b942-e3020116ded0","b37cba35-72f2-401f-a9c0-333304b0ec4a"],"pending":[],"skipped":[],"duration":1477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd92c7e5-9bf3-4761-b47b-754b418e18c8","title":"","fullFile":"cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"41cb1fbb-b5aa-42cf-8e36-258d62a28328","title":"Add payment method for valid credit card using Stripe (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Add payment method for valid credit card using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":518,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// cy.get('.col-4 .btn.btn-danger').click({force:true})\n// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:106:8)","diff":null},"uuid":"be1b2f76-fde2-491a-8a40-79c8c2e5a1f3","parentUUID":"41cb1fbb-b5aa-42cf-8e36-258d62a28328","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Add payment method for valid credit card using Stripe (PortalFlow) Add payment method from Portal","timedOut":null,"duration":456,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:183:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:178:5)","diff":null},"uuid":"a0521373-15d0-4e6e-b9f6-78fd3928acf7","parentUUID":"41cb1fbb-b5aa-42cf-8e36-258d62a28328","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["be1b2f76-fde2-491a-8a40-79c8c2e5a1f3","a0521373-15d0-4e6e-b9f6-78fd3928acf7"],"pending":[],"skipped":[],"duration":974,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9cd68a26-26c0-4ebd-a845-e770b4909662","title":"","fullFile":"cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f9b02bf1-9f60-4b06-9fe1-d3aad645affb","title":"Add payment method for stolen credit card using Stripe (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Add payment method for stolen credit card using Stripe (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('.related-list').trigger('mouseover');\ncy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#relatedModule_rightAll').click({\n force: true\n});\ncy.get('#related_module_list > .modal-footer > .btn-warning').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:104:8)","diff":null},"uuid":"8f97bed1-9b62-414f-9757-370f3f15e5f7","parentUUID":"f9b02bf1-9f60-4b06-9fe1-d3aad645affb","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Add payment method for stolen credit card using Stripe (PortalFlow) Add payment method from Portal","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:193:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:188:5)","diff":null},"uuid":"1352be4d-80f9-490d-8bbb-49ec474b8112","parentUUID":"f9b02bf1-9f60-4b06-9fe1-d3aad645affb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f97bed1-9b62-414f-9757-370f3f15e5f7","1352be4d-80f9-490d-8bbb-49ec474b8112"],"pending":[],"skipped":[],"duration":973,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"41e09fe6-1681-41c2-9865-94b912f47de7","title":"","fullFile":"cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e69bfe5d-0140-4b35-b1b3-d227b7ec1293","title":"Add payment method for credit card using Authorize.net (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Add payment method for credit card using Authorize.net (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":507,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:105:8)","diff":null},"uuid":"585d6ab6-ee3d-41ce-8562-fcb299d69595","parentUUID":"e69bfe5d-0140-4b35-b1b3-d227b7ec1293","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Add payment method for credit card using Authorize.net (PortalFlow) Add payment method from Portal","timedOut":null,"duration":468,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:182:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:177:5)","diff":null},"uuid":"1f28c9b0-328f-472e-832a-c69c588b1178","parentUUID":"e69bfe5d-0140-4b35-b1b3-d227b7ec1293","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["585d6ab6-ee3d-41ce-8562-fcb299d69595","1f28c9b0-328f-472e-832a-c69c588b1178"],"pending":[],"skipped":[],"duration":975,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b61d167c-1ae5-42aa-ad20-e70c10e0265a","title":"","fullFile":"cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"acf57611-7f62-4f37-9f51-275f7520b858","title":"Add payment method for ACH using Authorize.net (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Add payment method for ACH using Authorize.net (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":480,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:105:8)","diff":null},"uuid":"a06b580e-6260-4958-8419-9c67b87e1d01","parentUUID":"acf57611-7f62-4f37-9f51-275f7520b858","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Add payment method for ACH using Authorize.net (PortalFlow) Add payment method from Portal","timedOut":null,"duration":482,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:182:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:177:5)","diff":null},"uuid":"e6c8dfe6-ed51-49c8-8165-d9260200b71d","parentUUID":"acf57611-7f62-4f37-9f51-275f7520b858","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a06b580e-6260-4958-8419-9c67b87e1d01","e6c8dfe6-ed51-49c8-8165-d9260200b71d"],"pending":[],"skipped":[],"duration":962,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43b36e94-71c2-4e31-a5a6-32f798fc9a42","title":"","fullFile":"cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","file":"cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"20566c18-8270-4772-bc79-5ee049100bc8","title":"Add payment method for PayPal Express Checkout (PortalFlow)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to Subscriptionflow and delete existing payment methods","fullTitle":"Add payment method for PayPal Express Checkout (PortalFlow) Go to Subscriptionflow and delete existing payment methods","timedOut":null,"duration":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.wait(5000);\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000);\ncy.wait(10000); // Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n return false;\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:105:8)","diff":null},"uuid":"23fbc03b-f190-436e-8048-9186e40c8ed6","parentUUID":"20566c18-8270-4772-bc79-5ee049100bc8","isHook":false,"skipped":false},{"title":"Add payment method from Portal","fullTitle":"Add payment method for PayPal Express Checkout (PortalFlow) Add payment method from Portal","timedOut":null,"duration":466,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:183:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:178:5)","diff":null},"uuid":"0c9caa7d-f6a3-4326-b4cc-1dcc7a826a7d","parentUUID":"20566c18-8270-4772-bc79-5ee049100bc8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["23fbc03b-f190-436e-8048-9186e40c8ed6","0c9caa7d-f6a3-4326-b4cc-1dcc7a826a7d"],"pending":[],"skipped":[],"duration":966,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"507e96fe-81d8-486d-9447-569053f2ba73","title":"","fullFile":"cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js","file":"cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c395e996-4708-4756-9dcb-26e472fa3518","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":520,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/profile\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test123');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test123');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test123');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('Current password does not matched');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password must be at least 8 characters.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password confirmation must be at least 8 characters.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test1231');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) p.my-2.text-danger').then(function (elm) {\n expect(elm.text()).include('The password confirmation and password must match.');\n});\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test12312');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/profile\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/profile\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:101:8)","diff":null},"uuid":"3b122de6-4b49-4162-9def-d5b7c76c560f","parentUUID":"c395e996-4708-4756-9dcb-26e472fa3518","isHook":false,"skipped":false},{"title":"I click on Logout CTA, It should log me out","fullTitle":"Update Password I click on Logout CTA, It should log me out","timedOut":null,"duration":4203,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:140:8)","diff":null},"uuid":"d25af770-deef-4117-b171-e79495e3af9e","parentUUID":"c395e996-4708-4756-9dcb-26e472fa3518","isHook":false,"skipped":false},{"title":" I enter <Users Email> and <Password> and I hit 'Sign in' CTA","fullTitle":"Update Password I enter <Users Email> and <Password> and I hit 'Sign in' CTA","timedOut":null,"duration":460,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test12312');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:147:8)","diff":null},"uuid":"805b4232-bf93-48be-bb1c-390c2b8a905b","parentUUID":"c395e996-4708-4756-9dcb-26e472fa3518","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/profile\");\ncy.loginPortal('andybary@mail.com', 'test12312');\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(1) input').clear().type('test12312');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(2) input').clear().type('test1234');\ncy.get('.change-password-form-wrapper form .form-group:nth-child(3) input').clear().type('test1234');\ncy.get('.col-md-4 .card .card-footer button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/profile\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/profile\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/1-profile-update-password.spec.js:151:8)","diff":null},"uuid":"ba2d8394-27dd-4c79-92dd-23cb50ad00aa","parentUUID":"c395e996-4708-4756-9dcb-26e472fa3518","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3b122de6-4b49-4162-9def-d5b7c76c560f","d25af770-deef-4117-b171-e79495e3af9e","805b4232-bf93-48be-bb1c-390c2b8a905b","ba2d8394-27dd-4c79-92dd-23cb50ad00aa"],"pending":[],"skipped":[],"duration":5675,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42c3da7e-c8f1-4c86-9fc1-a6ba722ec7d2","title":"","fullFile":"cypress/integration/p-portal/5-profile/2-edit-profile.spec.js","file":"cypress/integration/p-portal/5-profile/2-edit-profile.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ae59f0ba-6ba5-40f4-83fb-2cf1602a882c","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/profile\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/profile');\ncy.get('#pfCustomerProfile_BasicInformation').contains('Basic Information').should('exist');\ncy.get('#pfCustomerProfile_BillingAddressInformation').contains('Billing Address').should('exist');\ncy.get('#pfCustomerProfile_ShippingAddressInformation').contains('Shipping Address').should('exist');\ncy.get('#pfCustomerProfile_BasicInformation .row:nth-child(3) .col-md-6:nth-child(1) input').clear().type('+12345678');\ncy.get('#pfCustomerProfile_BasicInformation .row:nth-child(3) .col-md-6:nth-child(2) input').clear().type('7777');\ncy.get('#select2-cust-profile-billing-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-cust-profile-billing-state-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-state-el-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-cust-profile-billing-city-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('Adams');\ncy.wait(7000);\ncy.get('#select2-cust-profile-billing-city-el-results li').contains('Adams').click({\n force: true\n});\ncy.get('#pfCustomerProfile_BillingAddressInformation .row:nth-child(4) .col-md-6:nth-child(1) input').clear().type('address 1');\ncy.get('#pfCustomerProfile_BillingAddressInformation .row:nth-child(4) .col-md-6:nth-child(2) input').clear().type('address 2');\ncy.get('#select2-cust-profile-shipping-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-cust-profile-shipping-state-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-state-el-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-cust-profile-shipping-city-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('Adams');\ncy.wait(7000);\ncy.get('#select2-cust-profile-shipping-city-el-results li').contains('Adams').click({\n force: true\n});\ncy.get('#pfCustomerProfile_ActionBtns button.btn.btn-danger').click({\n force: true\n});\ncy.wait(3000);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/profile\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/profile\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/5-profile/2-edit-profile.spec.js:101:8)","diff":null},"uuid":"223580d7-8c09-4122-8f55-aa962bc99d17","parentUUID":"ae59f0ba-6ba5-40f4-83fb-2cf1602a882c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["223580d7-8c09-4122-8f55-aa962bc99d17"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb23ab6c-c98d-498e-997a-2377bfad1b0d","title":"","fullFile":"cypress/integration/p-portal/8-logout/1-logout_spec.js","file":"cypress/integration/p-portal/8-logout/1-logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0cfbec4b-96f2-4ed4-b02e-ef7cd5671605","title":"Logout from Customer Portal","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":" I enter <Users Email> and <Password> and I hit 'Sign in' CTA","fullTitle":"Logout from Customer Portal I enter <Users Email> and <Password> and I hit 'Sign in' CTA","timedOut":null,"duration":526,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:101:8)","diff":null},"uuid":"204ab6a1-1598-4285-8ed8-5d53026302fa","parentUUID":"0cfbec4b-96f2-4ed4-b02e-ef7cd5671605","isHook":false,"skipped":false},{"title":"I should be on the customer's portal Dashboard/home page","fullTitle":"Logout from Customer Portal I should be on the customer's portal Dashboard/home page","timedOut":null,"duration":4166,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.navbar-brand').contains('Dashboard');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-brand`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:105:8)","diff":null},"uuid":"ea714f61-f466-4e13-864e-3720196ddb7b","parentUUID":"0cfbec4b-96f2-4ed4-b02e-ef7cd5671605","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4191,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:108:8)","diff":null},"uuid":"ea64f718-8f81-41be-8a0c-9cb3a7fbd91b","parentUUID":"0cfbec4b-96f2-4ed4-b02e-ef7cd5671605","isHook":false,"skipped":false},{"title":"I click on Logout CTA, It should log me out","fullTitle":"Logout from Customer Portal I click on Logout CTA, It should log me out","timedOut":null,"duration":4162,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.logout-btn > a').click({\n force: true\n});\ncy.visit('/portal/dashboard');\ncy.location('pathname').should('include', '/portal/login');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.logout-btn > a`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/8-logout/1-logout_spec.js:111:8)","diff":null},"uuid":"f3d8a52e-aa17-499f-8ba9-550981020508","parentUUID":"0cfbec4b-96f2-4ed4-b02e-ef7cd5671605","isHook":false,"skipped":false},{"title":"I press back from browser, should not go to dashboard","fullTitle":"Logout from Customer Portal I press back from browser, should not go to dashboard","timedOut":null,"duration":34,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"16a2c5ff-5562-41fa-a7c0-4df921e6e596","parentUUID":"0cfbec4b-96f2-4ed4-b02e-ef7cd5671605","isHook":false,"skipped":false}],"suites":[],"passes":["16a2c5ff-5562-41fa-a7c0-4df921e6e596"],"failures":["204ab6a1-1598-4285-8ed8-5d53026302fa","ea714f61-f466-4e13-864e-3720196ddb7b","ea64f718-8f81-41be-8a0c-9cb3a7fbd91b","f3d8a52e-aa17-499f-8ba9-550981020508"],"pending":[],"skipped":[],"duration":13079,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"78878a6d-6b0f-4112-bec7-662454c7c3f1","title":"","fullFile":"cypress/integration/seeder/seedo.spec.js","file":"cypress/integration/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6507ac58-fb0f-4ba2-81c5-5078ecd80f06","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"for (var i = 0; i < 7; i++) {\n createCustomers();\n}","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers/create\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers/create\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at createCustomers (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/seeder/seedo.spec.js:108:6)\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/seeder/seedo.spec.js:102:7)","diff":null},"uuid":"b9211dc3-237f-4985-ac93-edcbd6f98a19","parentUUID":"6507ac58-fb0f-4ba2-81c5-5078ecd80f06","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b9211dc3-237f-4985-ac93-edcbd6f98a19"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8e73ae43-f1a4-44bc-95f2-91d01ca3881f","title":"","fullFile":"cypress/integration/SF/a-login/1-login-page.js","file":"cypress/integration/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0bfda982-17aa-4543-88d5-3371479598d9","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to awais.subscriptionflow.com then I should be navigated to the login","fullTitle":"Login Page I go to awais.subscriptionflow.com then I should be navigated to the login","timedOut":null,"duration":499,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').should('be.visible');\ncy.get('#password').should('be.visible');\ncy.get('[for=\"remember-me\"]').should('be.visible');\ncy.get('.fs--1').should('be.visible');\ncy.get('[name=\"submit\"]').should('be.visible'); // cy.get('[href=\"https://www.subscriptionflow.com/terms-and-conditions/\"]').should('be.visible')\n// cy.get('[href=\"https://www.subscriptionflow.com/privacypolicy/\"]').should('be.visible')","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/1-login-page.js:101:8)","diff":null},"uuid":"ae727347-dc10-4708-ba85-4c2e373e5ee8","parentUUID":"0bfda982-17aa-4543-88d5-3371479598d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae727347-dc10-4708-ba85-4c2e373e5ee8"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5df4c003-2c20-4e62-b034-48ae5f8942e2","title":"","fullFile":"cypress/integration/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/integration/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c5111107-0104-4ab9-aa7b-517695d305cf","title":"Login using incorrect credentials","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I entered an incorrect email and password I click 'Sign in' An error stating, 'These credentials do not match our records.' should be displayed","fullTitle":"Login using incorrect credentials I entered an incorrect email and password I click 'Sign in' An error stating, 'These credentials do not match our records.' should be displayed","timedOut":null,"duration":465,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').type('Username');\ncy.get('#password').type('Password');\ncy.get('[name=\"submit\"]').click();\ncy.get('.text-danger small').contains('These credentials do not match our records.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/2-login-using-incorrect-credentials.js:101:8)","diff":null},"uuid":"a1feb1d4-b2af-4362-bc4b-d110869d6d9b","parentUUID":"c5111107-0104-4ab9-aa7b-517695d305cf","isHook":false,"skipped":false},{"title":"I entered an incorrect email and correct password I click “Sign in”, “These credentials do not match our records.” should be displayed","fullTitle":"Login using incorrect credentials I entered an incorrect email and correct password I click “Sign in”, “These credentials do not match our records.” should be displayed","timedOut":null,"duration":451,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').type('Username');\ncy.get('#password').type('sf@superadmin#$');\ncy.get('[name=\"submit\"]').click();\ncy.get('.text-danger small').contains('These credentials do not match our records.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/2-login-using-incorrect-credentials.js:108:8)","diff":null},"uuid":"866911dc-f962-496b-8119-3062f709354b","parentUUID":"c5111107-0104-4ab9-aa7b-517695d305cf","isHook":false,"skipped":false},{"title":"I entered a correct email and incorrect password I click 'Sign in' Then An error stating 'These credentials do not match our records.' should be displayed","fullTitle":"Login using incorrect credentials I entered a correct email and incorrect password I click 'Sign in' Then An error stating 'These credentials do not match our records.' should be displayed","timedOut":null,"duration":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#email').type('admin@subscriptionflow.com');\ncy.get('#password').type('blah blah');\ncy.get('[name=\"submit\"]').click();\ncy.get('.text-danger small').contains('These credentials do not match our records.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/2-login-using-incorrect-credentials.js:115:8)","diff":null},"uuid":"863098f8-58cd-4a55-a8db-3d9de2893ffe","parentUUID":"c5111107-0104-4ab9-aa7b-517695d305cf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a1feb1d4-b2af-4362-bc4b-d110869d6d9b","866911dc-f962-496b-8119-3062f709354b","863098f8-58cd-4a55-a8db-3d9de2893ffe"],"pending":[],"skipped":[],"duration":1397,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f0f8265-83ea-4abd-becc-f3eb36b64183","title":"","fullFile":"cypress/integration/SF/a-login/3-login_spec.js","file":"cypress/integration/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b03bad14-c311-4657-ab13-4411d7dc4130","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":" I enter <Users Email> and <Password> and I hit 'Sign in' CTA","fullTitle":"Login to the site I enter <Users Email> and <Password> and I hit 'Sign in' CTA","timedOut":null,"duration":604,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.login('admin@subscriptionflow.com', 'sf@superadmin#$');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/3-login_spec.js:101:8)","diff":null},"uuid":"bb348c82-6028-41fe-825e-0dd3f948d18a","parentUUID":"b03bad14-c311-4657-ab13-4411d7dc4130","isHook":false,"skipped":false},{"title":"I should be on the users Dashboard/home page","fullTitle":"Login to the site I should be on the users Dashboard/home page","timedOut":null,"duration":4189,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.title().should('include', 'SubscriptionFlow - Dashboard');","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '' to include 'SubscriptionFlow - Dashboard'","estack":"AssertionError: Timed out retrying after 4000ms: expected '' to include 'SubscriptionFlow - Dashboard'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/3-login_spec.js:105:16)","diff":null},"uuid":"5bb798dd-4d27-43b8-b586-6668931e3db8","parentUUID":"b03bad14-c311-4657-ab13-4411d7dc4130","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":4189,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Welcome' but never did.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/3-login_spec.js:108:8)","diff":null},"uuid":"37e683e0-fd96-496e-9fcf-db162fdb47af","parentUUID":"b03bad14-c311-4657-ab13-4411d7dc4130","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb348c82-6028-41fe-825e-0dd3f948d18a","5bb798dd-4d27-43b8-b586-6668931e3db8","37e683e0-fd96-496e-9fcf-db162fdb47af"],"pending":[],"skipped":[],"duration":8982,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8a937405-b7d1-49e7-a075-f7d4cc5edcb5","title":"","fullFile":"cypress/integration/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/integration/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b3ce757f-8b29-427a-bbab-af4a716e9b84","title":"Verify Terms and Conditions URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I click on 'Terms and Conditions' URL Expected result I should be navigated to 'www.subscriptionflow.com/terms-and-conditions/'","fullTitle":"Verify Terms and Conditions URL is functional I click on 'Terms and Conditions' URL Expected result I should be navigated to 'www.subscriptionflow.com/terms-and-conditions/'","timedOut":null,"duration":469,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('[href=\"https://www.subscriptionflow.com/terms-and-conditions/\"]').invoke('removeAttr', 'target').click();\ncy.url().should('include', 'terms-and-conditions');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js:101:8)","diff":null},"uuid":"336fdd64-1645-43bc-8abb-36a982e8bcf4","parentUUID":"b3ce757f-8b29-427a-bbab-af4a716e9b84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["336fdd64-1645-43bc-8abb-36a982e8bcf4"],"pending":[],"skipped":[],"duration":469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5334ef65-7027-4405-b8cf-81f6106c8061","title":"","fullFile":"cypress/integration/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/integration/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"71a9ba16-1682-4392-a048-a3e006600b59","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on awais.subscriptionflow.com","fullTitle":"Verify Privacy Policies URL is functional I am on awais.subscriptionflow.com","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('[href=\"https://www.subscriptionflow.com/privacypolicy/\"]').invoke('removeAttr', 'target').click();\ncy.url().should('contain', 'privacypolicy');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/5-verify-privacy-policies-URL-is-functional.js:101:8)","diff":null},"uuid":"b5ec28b4-b424-427b-b0e4-261002b8cc48","parentUUID":"71a9ba16-1682-4392-a048-a3e006600b59","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5ec28b4-b424-427b-b0e4-261002b8cc48"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"783d60a2-ae00-4b1b-89c0-b22d5091cdab","title":"","fullFile":"cypress/integration/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/integration/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"465f9d81-7c8d-45b1-8fd5-19bd01d4e523","title":"Verify forgot password? works","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password? works Given: I am on the Login page","timedOut":null,"duration":506,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('h4.text-center').should('contain', 'Reset Password');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/a-login/6-verify-forgot-password-works.js:101:8)","diff":null},"uuid":"e0d72b8a-cb4c-4abd-8e01-97fb255e61dd","parentUUID":"465f9d81-7c8d-45b1-8fd5-19bd01d4e523","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0d72b8a-cb4c-4abd-8e01-97fb255e61dd"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"acf5786a-ae74-49c4-b024-727b07c5b048","title":"","fullFile":"cypress/integration/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/integration/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f47e46f6-0c69-4daa-bbd9-c0579b586146","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I hit [awais.subscriptionflow.com/password/reset] I should be navigated to reset password page","fullTitle":"Forgot Password Page I hit [awais.subscriptionflow.com/password/reset] I should be navigated to reset password page","timedOut":null,"duration":471,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click(); // cy.get('h3.text-center').should('contain', 'Reset Password')\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link');\ncy.get('.btn').should('be.visible');\ncy.get('p small').should('contain', 'Copyright © SubscriptionFlow Inc. All Rights Reserved');\ncy.get('.fs--1 ').should('contain', 'Back to Login').then(function (login) {\n var href = login.prop('href');\n expect(href).to.eq('https://awais.subscriptionflow.com/login');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/1-forgot-password-page.js:101:8)","diff":null},"uuid":"2b1fe350-ee4b-4aab-a62e-eae0ec1595ad","parentUUID":"f47e46f6-0c69-4daa-bbd9-c0579b586146","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2b1fe350-ee4b-4aab-a62e-eae0ec1595ad"],"pending":[],"skipped":[],"duration":471,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"520953cd-3e0b-4cf7-a9b3-6df3eef33ce1","title":"","fullFile":"cypress/integration/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/integration/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4c9f742c-a6c6-44d9-83b6-e27931a04759","title":"Forgot Password with correct email","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on forgot password page","fullTitle":"Forgot Password with correct email Given: I am on forgot password page","timedOut":null,"duration":505,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('#email').type('admin@subscriptionflow.com');\ncy.get('.btn').click();\ncy.get('.alert').should('contain', 'We have e-mailed your password reset link!');\ncy.get('.alert').should('have.css', 'background-color', 'rgb(204, 246, 228)');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/2-forgot-password-with-correct-email.js:101:8)","diff":null},"uuid":"79bd1de6-3514-459e-969f-00f4b9b0119c","parentUUID":"4c9f742c-a6c6-44d9-83b6-e27931a04759","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["79bd1de6-3514-459e-969f-00f4b9b0119c"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22034f1c-091b-4143-8b96-aad62056c330","title":"","fullFile":"cypress/integration/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/integration/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"34b8b9eb-bef9-46b6-8f26-13e3e71039ee","title":"Forgot Password with incorrect email","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on forgot password page","fullTitle":"Forgot Password with incorrect email Given: I am on forgot password page","timedOut":null,"duration":499,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.fs--1').click();\ncy.get('#email').type('natediaz@gmail.com');\ncy.get('.btn').click();\ncy.get('small').should('contain', 'We can\\'t find a user with that e-mail address.');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/login\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js:101:8)","diff":null},"uuid":"3597d5f0-3bc2-4b4e-9d4e-b2a8910b44bc","parentUUID":"34b8b9eb-bef9-46b6-8f26-13e3e71039ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3597d5f0-3bc2-4b4e-9d4e-b2a8910b44bc"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"419bfea2-49f9-4fef-b1ed-5c4abfdf6dd9","title":"","fullFile":"cypress/integration/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/integration/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4cac092c-a71b-4f98-97a1-814bc1f843f4","title":"Verify that the login URL on Forgot Password page is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Reset Password page","fullTitle":"Verify that the login URL on Forgot Password page is functional Given: I am on the Reset Password page","timedOut":null,"duration":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.get('.fs--1').click();\ncy.url().should('contains', 'login');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/password/reset\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/password/reset\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js:101:8)","diff":null},"uuid":"8be7f407-cc06-4277-a241-285d1af45ff5","parentUUID":"4cac092c-a71b-4f98-97a1-814bc1f843f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8be7f407-cc06-4277-a241-285d1af45ff5"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a256b946-521d-4b16-9270-784d380c1509","title":"","fullFile":"cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fa9a0d54-19b7-4a10-b91b-2a7e4f53507c","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":4794,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.location('pathname').should('include', 'dashboard');","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '/' to include 'dashboard'","estack":"AssertionError: Timed out retrying after 4000ms: expected '/' to include 'dashboard'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:103:29)","diff":null},"uuid":"b2bda9ba-44bd-48ca-b743-763371d3b67f","parentUUID":"fa9a0d54-19b7-4a10-b91b-2a7e4f53507c","isHook":false,"skipped":false},{"title":"I should see a main nav bar","fullTitle":"Dashboard View I should see a main nav bar","timedOut":null,"duration":4228,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('#navbarStandard').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#navbarStandard`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#navbarStandard`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:106:31)","diff":null},"uuid":"a233e4ac-2e3a-4085-84c9-8eb989f5aad0","parentUUID":"fa9a0d54-19b7-4a10-b91b-2a7e4f53507c","isHook":false,"skipped":false},{"title":"I should see two CTA's : Modern view , Currency","fullTitle":"Dashboard View I should see two CTA's : Modern view , Currency","timedOut":null,"duration":4213,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.btn-secondary').contains('Modern View').should('exist');\ncy.get('.d-flex > :nth-child(1) > .btn').contains('USD').should('exist');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.btn-secondary`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.btn-secondary`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:109:8)","diff":null},"uuid":"857f927c-0ef6-4022-9380-14a18b1da9f4","parentUUID":"fa9a0d54-19b7-4a10-b91b-2a7e4f53507c","isHook":false,"skipped":false},{"title":"I scroll down to the bottom, Expect footer","fullTitle":"Dashboard View I scroll down to the bottom, Expect footer","timedOut":null,"duration":4231,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.scrollTo('bottom', {\n ensureScrollable: true\n});\ncy.get('.no-gutters').should('be.visible');","err":{"message":"CypressError: Timed out retrying after 4000ms: `cy.scrollTo()` failed because this element is not scrollable:\n\n`<window>`\n\nMake sure you're targeting the correct element or use `{ensureScrollable: false}` to disable the scrollable check.\n\nhttps://on.cypress.io/scrollto","estack":"CypressError: Timed out retrying after 4000ms: `cy.scrollTo()` failed because this element is not scrollable:\n\n`<window>`\n\nMake sure you're targeting the correct element or use `{ensureScrollable: false}` to disable the scrollable check.\n\nhttps://on.cypress.io/scrollto\n at $Cy.ensureScrollability (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:162771:22)\n at ensureScrollability (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:154211:21)\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Function.Promise.attempt.Promise.try (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8039:29)\n at tryFn (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:167065:21)\n at whenStable (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:167103:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:166598:16\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8882:18)\n at Promise._fulfill (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8826:18)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10440:46\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/c-dashboard/1-dashboard_view_spec.js:113:8)","diff":null},"uuid":"3f7186a7-2c07-4aef-b591-a3fe97dfcc91","parentUUID":"fa9a0d54-19b7-4a10-b91b-2a7e4f53507c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2bda9ba-44bd-48ca-b743-763371d3b67f","a233e4ac-2e3a-4085-84c9-8eb989f5aad0","857f927c-0ef6-4022-9380-14a18b1da9f4","3f7186a7-2c07-4aef-b591-a3fe97dfcc91"],"pending":[],"skipped":[],"duration":17466,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f96a542b-6aac-4f14-ba5a-10053c895e8a","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/01cancel_contact.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/01cancel_contact.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4b7383c3-b475-402c-a24e-5584a2d42183","title":"Create contacts","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Successfully creates contact when all information is added correctly and shows error on inaccurate information","fullTitle":"Create contacts Successfully creates contact when all information is added correctly and shows error on inaccurate information","timedOut":null,"duration":505,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.contains('Create Contact').click({\n force: true\n});\ncy.url().should('include', '/contacts/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible'); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-results li:first-child').click({force:true})\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#salutation-input').select('Ms.', {\n force: true\n});\ncy.get('#first_name-input').type('Steven', {\n force: true\n}).should('have.value', 'Steven');\nvar rand = userID_Alpha_Numeric();\ncy.get('input[type=\"email\"]').eq(0).type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#work_phone-input').type('000', {\n force: true\n});\ncy.get('#personal_phone-input').type('000', {\n force: true\n});\ncy.get('#home_phone-input').type('000', {\n force: true\n});\ncy.get('#other_phone-input').type('000', {\n force: true\n});\ncy.get('#fax-input').type('000', {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('This is the description', {\n force: true\n});\ncy.get('#billing_address_1-input').type('Line11', {\n force: true\n}).should('have.value', 'Line11');\ncy.get('#billing_address_2-input').type('Line21', {\n force: true\n}).should('have.value', 'Line21');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('#billing_postal_code-input').type('gfgdfg1', {\n force: true\n}).should('have.value', 'gfgdfg1');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').should('be.hidden');\ncy.get('#shipping_address_2-input').should('be.hidden');\ncy.get('#shipping_city-input').should('be.hidden');\ncy.get('#shipping_state-input').should('be.hidden');\ncy.get('#shipping_county-input').should('be.hidden');\ncy.get('#shipping_postal_code-input').should('be.hidden');\ncy.get('#shipping_country-input').should('be.hidden');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').type('Line12', {\n force: true\n}).should('have.value', 'Line12');\ncy.get('#shipping_address_2-input').type('Line22', {\n force: true\n}).should('have.value', 'Line22');\ncy.get('#shipping_postal_code-input').type('gfgdfg2', {\n force: true\n}).should('have.value', 'gfgdfg2');\ncy.get('#select2-shipping_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-shipping_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-shipping_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-shipping_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-shipping_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.get(\".invalid-feedback\").contains(' This Field is Required ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Email Value ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Phone Number').should('be.visible');\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/contacts');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/01cancel_contact.spec.js:101:8)","diff":null},"uuid":"c31d54b8-7f30-4ac6-a21a-cb6f1d227282","parentUUID":"4b7383c3-b475-402c-a24e-5584a2d42183","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c31d54b8-7f30-4ac6-a21a-cb6f1d227282"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dee32c83-2959-4da9-8b35-75264001d090","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/02create_contact.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/02create_contact.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"079ebdc6-f48b-42c7-ae39-1ab27b3829bd","title":"Create contacts","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Successfully creates contact when all information is added correctly and shows error on inaccurate information","fullTitle":"Create contacts Successfully creates contact when all information is added correctly and shows error on inaccurate information","timedOut":null,"duration":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.contains('Create Contact').click({\n force: true\n});\ncy.url().should('include', '/contacts/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible'); // cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-container').click({force:true})\n// cy.wait(8000)\n// cy.get('#select2-assigned_group_id-input-results li:first-child').click({force:true})\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-customer_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#salutation-input').select('Ms.', {\n force: true\n});\ncy.get('#first_name-input').type('Steven', {\n force: true\n}).should('have.value', 'Steven');\nvar rand = userID_Alpha_Numeric();\ncy.get('input[type=\"email\"]').eq(0).type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#work_phone-input').type('000', {\n force: true\n});\ncy.get('#personal_phone-input').type('000', {\n force: true\n});\ncy.get('#home_phone-input').type('000', {\n force: true\n});\ncy.get('#other_phone-input').type('000', {\n force: true\n});\ncy.get('#fax-input').type('000', {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('This is the description', {\n force: true\n});\ncy.get('#billing_address_1-input').type('Line11', {\n force: true\n}).should('have.value', 'Line11');\ncy.get('#billing_address_2-input').type('Line21', {\n force: true\n}).should('have.value', 'Line21');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('#billing_postal_code-input').type('gfgdfg1', {\n force: true\n}).should('have.value', 'gfgdfg1');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').should('be.hidden');\ncy.get('#shipping_address_2-input').should('be.hidden');\ncy.get('#shipping_city-input').should('be.hidden');\ncy.get('#shipping_state-input').should('be.hidden');\ncy.get('#shipping_county-input').should('be.hidden');\ncy.get('#shipping_postal_code-input').should('be.hidden');\ncy.get('#shipping_country-input').should('be.hidden');\ncy.get('.custom-control-label small').click({\n force: true\n});\ncy.get('#shipping_address_1-input').type('Line12', {\n force: true\n}).should('have.value', 'Line12');\ncy.get('#shipping_address_2-input').type('Line22', {\n force: true\n}).should('have.value', 'Line22');\ncy.get('#shipping_postal_code-input').type('gfgdfg2', {\n force: true\n}).should('have.value', 'gfgdfg2');\ncy.get('#select2-shipping_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-shipping_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-shipping_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-shipping_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-shipping_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.get(\".invalid-feedback\").contains(' This Field is Required ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Email Value ').should('be.visible');\n cy.get(\".invalid-feedback\").contains(' Invalid Phone Number').should('be.visible');\n});\ncy.get('#last_name-input').type('Anderson', {\n force: true\n});\ncy.get('input[type=\"email\"]').eq(0).type('@mail.com', {\n force: true\n});\ncy.get('#work_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#personal_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#home_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#other_phone-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('#fax-input').clear({\n force: true\n}).type('03009765278', {\n force: true\n});\ncy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n});\ncy.get('#detail-title').should('contain', 'Steven Anderson');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/02create_contact.spec.js:101:8)","diff":null},"uuid":"359854d4-000e-46a7-ae52-70dff245d47c","parentUUID":"079ebdc6-f48b-42c7-ae39-1ab27b3829bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["359854d4-000e-46a7-ae52-70dff245d47c"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66f680d3-a9c6-47d2-8fb7-c1e8f303d148","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/03contact_page.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/03contact_page.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"25fb0dd4-dfa8-4d4d-a7c2-ac787b1a3351","title":"Contacts page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When: I click on Contacts -> Contacts from the main nav","fullTitle":"Contacts page When: I click on Contacts -> Contacts from the main nav","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa > path').should('be.visible').click({\n force: true\n}).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n});\ncy.wait(8000);\ncy.contains('Contacts').click({\n force: true\n});\ncy.url().should('include', '/contacts');\ncy.wait(10000);\ncy.get('[data-title=\" New Contact\"]').should('be.visible');\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').should('be.visible');\n cy.contains('Import').should('be.visible');\n cy.contains('Export').should('not.be.visible');\n});\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n}).then(function () {\n cy.contains('Actions').click({\n force: true\n }).then(function () {\n cy.wait(5000);\n cy.contains('Send Mail').should('be.visible');\n cy.contains('Delete').should('be.visible');\n cy.get('.row > .actions-dropdown > .btn-group > .dropdown-menu > [data-toggle=\"modal\"]').contains('Update').should('be.visible');\n });\n});\ncy.get('.justify-content-between > .btn-group > .btn').contains('All').should('be.visible'); //.contains('Create View')\ncy.get('.mx-2 > .svg-inline--fa').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/03contact_page.spec.js:101:8)","diff":null},"uuid":"2ac5f72b-8a08-4aec-b3cb-9155b09ffd11","parentUUID":"25fb0dd4-dfa8-4d4d-a7c2-ac787b1a3351","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2ac5f72b-8a08-4aec-b3cb-9155b09ffd11"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3b096a1c-52ec-44ae-bcf4-3c2a1332beab","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"badd5e07-e9ab-4146-bb45-a89fc3ab2845","title":"Search contacts","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When: I enter 3 characters of contacts name in Search Field","fullTitle":"Search contacts When: I enter 3 characters of contacts name in Search Field","timedOut":null,"duration":499,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Tes', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var k = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get(j).eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('tes');\n });\n }\n });\n }\n });\n } else {\n k = k + 1;\n }\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/04search_contacts.spec.js:105:8)","diff":null},"uuid":"097ddd3d-3edc-4498-a333-876979836c06","parentUUID":"badd5e07-e9ab-4146-bb45-a89fc3ab2845","isHook":false,"skipped":false},{"title":"When: I enter first name of contacts name in Search Field","fullTitle":"Search contacts When: I enter first name of contacts name in Search Field","timedOut":null,"duration":443,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').clear().type('Farhan', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"First Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Farhan');\n });\n }\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/04search_contacts.spec.js:138:8)","diff":null},"uuid":"f72631f7-41d2-4f0a-a1d2-34faf2e49a19","parentUUID":"badd5e07-e9ab-4146-bb45-a89fc3ab2845","isHook":false,"skipped":false},{"title":"When: I enter last name of contacts name in Search Field","fullTitle":"Search contacts When: I enter last name of contacts name in Search Field","timedOut":null,"duration":501,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('#basic_search').clear().type('Jaffar', { force: true }).then(() => {\ncy.get('#basic_search').clear();\ncy.get('#basic_search').type('Jaffar', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Last Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n console.log(n);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Jaffar');\n });\n }\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/04search_contacts.spec.js:170:8)","diff":null},"uuid":"b42738aa-ee9f-4400-96d3-cbf3fd5035d8","parentUUID":"badd5e07-e9ab-4146-bb45-a89fc3ab2845","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["097ddd3d-3edc-4498-a333-876979836c06","f72631f7-41d2-4f0a-a1d2-34faf2e49a19","b42738aa-ee9f-4400-96d3-cbf3fd5035d8"],"pending":[],"skipped":[],"duration":1443,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"827af4e8-0e39-430c-8886-7ba9a1780bdb","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/05delete_contacts.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/05delete_contacts.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"650e0ac9-67f6-4c8a-973d-2a142f1d72bc","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\nvar m = -2;\nvar j;\ncy.get('.recordsCount small').then(function (tEBefore1) {\n // var tEBefore = tEBefore1.text()\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Last Name')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(j).eq(5).then(function (element) {\n cy.get('tbody tr td input').eq(5).click({\n force: true\n });\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n cy.get('.recordsCount').invoke('text').should('not.eq', tEBefore1.text());\n });\n });\n } else {\n m = m + 1;\n }\n });\n});\ncy.get('.recordsCount').then(function ($count) {\n for (var i = 0; i < 6; i++) {\n cy.get('tbody tr td input').eq(i).click({\n force: true\n });\n }\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.recordsCount').invoke('text').should('not.eq', $count.text());\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/05delete_contacts.spec.js:101:8)","diff":null},"uuid":"116d6426-f04d-4c08-9d5b-9dab2d8e53c0","parentUUID":"650e0ac9-67f6-4c8a-973d-2a142f1d72bc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["116d6426-f04d-4c08-9d5b-9dab2d8e53c0"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d5e993f7-9e83-4b7d-8ab2-4d8954d73087","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/06edit_contact.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/06edit_contact.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aab54a3b-b400-4716-aad0-7b29dda9d60e","title":"Edit Contacts","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Contacts should be editted successfully","fullTitle":"Edit Contacts Contacts should be editted successfully","timedOut":null,"duration":462,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.show-edit').eq(4).then(function (Edit) {\n var edit = Edit.prop('href');\n cy.visit(edit);\n});\ncy.url().should('contain', '/edit');\ncy.get('#first_name-input').clear({\n force: true\n}).type('Update1', {\n force: true\n});\ncy.get('#last_name-input').then(function ($element) {\n cy.get($element).clear({\n force: true\n }).type('Update2', {\n force: true\n });\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@email.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains('Save').click({\n force: true\n });\n cy.wait(10000);\n cy.url().should('contain', '/contact-detail/');\n cy.get('#detail-title').should('contain', $element.text() + ' Update2');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/06edit_contact.spec.js:101:8)","diff":null},"uuid":"63dd6d96-4f2b-4e69-b747-59823961e56d","parentUUID":"aab54a3b-b400-4716-aad0-7b29dda9d60e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["63dd6d96-4f2b-4e69-b747-59823961e56d"],"pending":[],"skipped":[],"duration":462,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"69fe4ed3-aad5-498a-afaa-820a5c8d733c","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/07bulk_update.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/07bulk_update.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d701a4b7-d9d1-4dee-8219-93f9b5b4ce95","title":"Bulk Update contacts","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should dupdate the bulk of contacts","fullTitle":"Bulk Update contacts Should dupdate the bulk of contacts","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('tbody tr td input').then(function (elements) {\n for (var i = 0; i < 6; i++) {\n cy.get(elements).eq(i).click({\n force: true\n });\n }\n});\ncy.contains('Actions').click({\n force: true\n});\ncy.get('[data-target=\"#mass-update-modal\"]').contains('Update').click({\n force: true\n});\ncy.get('#massUpdateField').select('Personal Phone');\ncy.wait(10000);\ncy.get('#massUpdateValue').type('03003673767');\ncy.get('button').contains('Update').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#personal_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar m = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Personal Phone\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n console.log(j);\n for (var k = 0; k < 6; k++) {\n cy.get(j).eq(k).then(function (element) {\n expect(element.text()).to.include('03003673767');\n });\n }\n } else {\n m = m + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/07bulk_update.spec.js:102:8)","diff":null},"uuid":"ccc28a7e-3bb4-4a43-9fb4-3d46e358fe83","parentUUID":"d701a4b7-d9d1-4dee-8219-93f9b5b4ce95","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ccc28a7e-3bb4-4a43-9fb4-3d46e358fe83"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"44be728b-779b-4fb3-88a8-e308325c5294","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/08clear_selection.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/08clear_selection.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0c09563d-56bf-4504-90e0-cf272cd23ccc","title":"Clear all Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear all Selections Unselect all selected entries","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/contacts');\ncy.check();\ncy.wait(10000);\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n});\ncy.contains('Actions').should('be.visible');\ncy.get('.selected-rows a').should('be.visible').click({\n force: true\n});\ncy.get('tbody tr td input').then(function ($element) {\n for (var i = 0; i < $element.length; i++) {\n cy.get('tbody tr td input').eq(i).should('not.be.checked');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/08clear_selection.spec.js:102:8)","diff":null},"uuid":"b05edc5f-687c-4d45-94e7-4835b601067d","parentUUID":"0c09563d-56bf-4504-90e0-cf272cd23ccc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b05edc5f-687c-4d45-94e7-4835b601067d"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"df02d4d4-d9cf-4287-8365-f526b4a9620d","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/09edit_columns.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/09edit_columns.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7464c43b-463a-4135-8ca6-b3b86cefe427","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":834,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#work_phone').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Work Phone')) {\n var text = element.text().trim();\n expect(text).to.eq('Work Phone');\n } else {\n i = i + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/09edit_columns.spec.js:105:8)","diff":null},"uuid":"2526db99-b1bc-433c-a1f0-d2108de9568f","parentUUID":"7464c43b-463a-4135-8ca6-b3b86cefe427","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2526db99-b1bc-433c-a1f0-d2108de9568f"],"pending":[],"skipped":[],"duration":834,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31e13155-8ef8-484e-a2d7-e26ebdec3be1","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/01filter_by_salutation.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/01filter_by_salutation.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"31f173d3-27ff-4673-9e98-a50ee816fdf4","title":"Filter contacts by salutation","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by salutation Filters contacts based on given condition","timedOut":null,"duration":651,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#salutation').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// // cy.get('#toggleFilterSidebar').click({force:true})\n// cy.wait(1000)\n// cy.get('#toggleFilterSidebar').click({force:true})\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Salutation\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Salutation\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-salutation-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.include('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-salutation-input-container').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.eq('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.include('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#select2-salutation-input-results li').contains('Mr.').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizetext = normalizeText(elements.text());\n expect(normalizetext).to.not.include('mr.');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('\\n \\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[salutation]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('\\n \\n ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/01filter_by_salutation.spec.js:105:8)","diff":null},"uuid":"9fcfa1ef-ab36-488e-b52f-2e3c54b1c510","parentUUID":"31f173d3-27ff-4673-9e98-a50ee816fdf4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9fcfa1ef-ab36-488e-b52f-2e3c54b1c510"],"pending":[],"skipped":[],"duration":651,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3c27d590-395d-454d-968b-0a254683927c","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/02filter_by_customer.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/02filter_by_customer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9e4320d5-63b0-4d8d-8808-83650fba4284","title":"Filter contacts by customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by customer Filters contacts based on given condition","timedOut":null,"duration":477,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#customer_id').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(15000)\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Customer\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Customer\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-customer_id-input-results li').first().then(function (element) {\n cy.get(element).click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text().trim()).to.not.include(element.text());\n });\n }\n });\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('\\n \\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('\\n \\n ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/02filter_by_customer.spec.js:105:8)","diff":null},"uuid":"dab3a555-704e-401e-a673-4837a3ab7c30","parentUUID":"9e4320d5-63b0-4d8d-8808-83650fba4284","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dab3a555-704e-401e-a673-4837a3ab7c30"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7d51b148-b9ca-4232-aade-56cca3814394","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/03filter_by_first_name.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/03filter_by_first_name.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"36063de5-2168-4ead-8adf-8413c2a7e785","title":"Filter contacts by first name","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by first name Filters contacts based on given condition","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(5000); // cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'First Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"First Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Abbot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000); // cy.wait(5000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('Abbot');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Abbot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('Abbot');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('ab'); //expect(elements.text().toLowerCase()).to.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('ab'); // expect(elements.text()).to.not.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ab/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement); //expect(elements.text()).to.match(reg)\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ot', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ot$/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg); // expect(elements.text()).to.match(reg)\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[first_name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(8000); // cy.wait(50000)\n cy.get('td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/03filter_by_first_name.spec.js:106:8)","diff":null},"uuid":"b4526d17-74b4-4ef0-829c-589196ec9469","parentUUID":"36063de5-2168-4ead-8adf-8413c2a7e785","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4526d17-74b4-4ef0-829c-589196ec9469"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"30335a6e-a66e-46ac-91b6-6854f1fbb629","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/04filter_by_last_name.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/04filter_by_last_name.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0cfe9e8b-c788-460f-afa0-4f22582be6da","title":"Filter contacts by last name","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by last name Filters contacts based on given condition","timedOut":null,"duration":503,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000); // cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Last Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Last Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Homes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n }); // cy.wait(30000)\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('Homes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Johnson', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('Johnson');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Jo', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jo'); //expect(elements.text().toLowerCase()).to.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Jo', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jo'); // expect(elements.text()).to.not.include('Ab')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Jo', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^jo/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement); //expect(elements.text()).to.match(reg)\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('on', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(30000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /on$/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(50000)\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[last_name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000); // cy.wait(50000)\n cy.get('td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/04filter_by_last_name.spec.js:106:8)","diff":null},"uuid":"bee5c77a-f4ee-4139-942b-d318a3c42b14","parentUUID":"0cfe9e8b-c788-460f-afa0-4f22582be6da","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bee5c77a-f4ee-4139-942b-d318a3c42b14"],"pending":[],"skipped":[],"duration":503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"40228842-d2a6-45c8-b34a-168108d6bc96","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/05filter_by_workphone.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/05filter_by_workphone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"28f156b6-fe59-42b7-80fc-34cdd93b71f6","title":"Filter contacts by work phone","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by work phone Filters contacts based on given condition","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#work_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Work Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Work Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('888.315.7168', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include(' \\n 888.315.7168\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('888.315.7168', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 888.315.7168\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('8');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('7');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('88', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 88/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[work_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/05filter_by_workphone.spec.js:105:8)","diff":null},"uuid":"5eba18ea-91e5-43ba-8b36-e77d1288d067","parentUUID":"28f156b6-fe59-42b7-80fc-34cdd93b71f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5eba18ea-91e5-43ba-8b36-e77d1288d067"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"afd55ce4-6891-4038-b568-f9542ec918f3","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/06filter_by_personal_phone.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/06filter_by_personal_phone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"34bd37c6-a3a8-478d-b43d-b788460416d0","title":"Filter contacts by personal phone","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by personal phone Filters contacts based on given condition","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#personal_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Personal Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Personal Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('888.269.6814', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include(' \\n 888.269.6814\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('888.269.6814', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 888.269.6814\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('8');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('7');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('88', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 88/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[personal_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/06filter_by_personal_phone.spec.js:105:8)","diff":null},"uuid":"11de0cfa-d2fb-47e1-9d6e-70f9c547b2dc","parentUUID":"34bd37c6-a3a8-478d-b43d-b788460416d0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["11de0cfa-d2fb-47e1-9d6e-70f9c547b2dc"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a6b74ab7-ffc8-495d-a68a-24d1af3ad3a2","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/07filter_by_email.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/07filter_by_email.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1f230b13-e5d6-48cf-a531-22d663440944","title":"Filter contacts by email","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by email Filters contacts based on given condition","timedOut":null,"duration":533,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#email').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(3000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(3000);\nvar y,\n x = 0;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Email') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Email')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kamranakram003@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(3000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('kamranakram003@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kamranakram003@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('kamranakram003@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('@gmail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('@gmail.com');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('kam', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n kam/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('r.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /r.com\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(50000);\n cy.get('td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/07filter_by_email.spec.js:106:8)","diff":null},"uuid":"9f357c2d-477a-49d0-a35b-9f3f09d4a1ca","parentUUID":"1f230b13-e5d6-48cf-a531-22d663440944","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f357c2d-477a-49d0-a35b-9f3f09d4a1ca"],"pending":[],"skipped":[],"duration":533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0cfd734-b0eb-4452-813d-445eb826b5bb","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/08filter_by_other_phone.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/08filter_by_other_phone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"82ea0d80-cbfa-46d8-b8d0-22085a7b2854","title":"Filter contacts by other phone","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by other phone Filters contacts based on given condition","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#other_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Other Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Other Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\"; // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').should('be.visible').select('is', { force: true })\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('03009765278');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').select(\"isn't\", {\n force: true\n }); // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"isn't\", { force: true })\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n }\n }); // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"contains\", { force: true })\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n }\n }); // cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').should('be.visible').select(\"doesn't contain\", { force: true })\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[other_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/08filter_by_other_phone.spec.js:105:8)","diff":null},"uuid":"686481a4-cceb-49e6-af98-1b749f72ab7f","parentUUID":"82ea0d80-cbfa-46d8-b8d0-22085a7b2854","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["686481a4-cceb-49e6-af98-1b749f72ab7f"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b851b006-231b-43bd-a760-49facba22629","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/09filter_by_home_phone.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/09filter_by_home_phone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6f41d75a-df39-4a71-acfb-18e1701aedae","title":"Filter contacts by home phone","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by home phone Filters contacts based on given condition","timedOut":null,"duration":479,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#home_phone').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Home Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Home Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n var reg = /8\\n $/;\n expect(element.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq('03009765278');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[home_phone]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/09filter_by_home_phone.spec.js:105:8)","diff":null},"uuid":"f93e9e5a-1296-4e3c-9b80-13ed7066efdc","parentUUID":"6f41d75a-df39-4a71-acfb-18e1701aedae","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f93e9e5a-1296-4e3c-9b80-13ed7066efdc"],"pending":[],"skipped":[],"duration":479,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"49ab76dd-57e1-4339-8995-509c16841ba1","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/10filter_by_fax.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/10filter_by_fax.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f4c9e1bb-3ccb-4be4-b7f5-57ede342c8dd","title":"Filter contacts by Fax","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Fax Filters contacts based on given condition","timedOut":null,"duration":510,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#fax').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Fax') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Fax')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select('is', {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('03009765278');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03009765278', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"contains\", {\n force: true\n });\n cy.get(y).type('9', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('9');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('4', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('4');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('8', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /8\\n $/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include(' ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[fax]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/10filter_by_fax.spec.js:105:8)","diff":null},"uuid":"3b286ae8-1930-46f5-a64f-b778cda8b4f2","parentUUID":"f4c9e1bb-3ccb-4be4-b7f5-57ede342c8dd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3b286ae8-1930-46f5-a64f-b778cda8b4f2"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b818c7ef-96dc-491b-9dad-393ce0b20b4a","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/11filter_by_PrimaryAddress1.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/11filter_by_PrimaryAddress1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3ef1c173-96cb-483d-8407-e593f1ee760a","title":"Filter contacts by Primary Address 1","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Primary Address 1 Filters contacts based on given condition","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_address_1').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('lahore punjab 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahorepunjab1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('lahore punjab 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('lahorepunjab1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('la', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^la/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /1$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/11filter_by_PrimaryAddress1.spec.js:105:8)","diff":null},"uuid":"e8ef975d-eba9-4120-b504-1d6325d16b76","parentUUID":"3ef1c173-96cb-483d-8407-e593f1ee760a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e8ef975d-eba9-4120-b504-1d6325d16b76"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a006e243-4894-4982-a5b8-a3d72e261a09","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/12filter_by_PrimaryAddress2.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/12filter_by_PrimaryAddress2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"69f1dd32-56e1-42f9-981d-a70452a1a8a6","title":"Filter contacts by Primary Address 2","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Primary Address 2 Filters contacts based on given condition","timedOut":null,"duration":474,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_address_2').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('lahore punjab 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahorepunjab2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('lahore punjab 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('lahorepunjab2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('la', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^la/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /2$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/12filter_by_PrimaryAddress2.spec.js:105:8)","diff":null},"uuid":"ad4d02e9-1b44-42a7-be2a-1b14120b50dc","parentUUID":"69f1dd32-56e1-42f9-981d-a70452a1a8a6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ad4d02e9-1b44-42a7-be2a-1b14120b50dc"],"pending":[],"skipped":[],"duration":474,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"37a22cf6-bb52-4a9d-a525-26c858c884a9","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/13filter_by_primaryCountry.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/13filter_by_primaryCountry.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ada611a5-574c-477a-92ea-7886b8a8b9b2","title":"Filter contacts by Primary Country","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Primary Country Filters contacts based on given condition","timedOut":null,"duration":570,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_country').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n p/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /k$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/13filter_by_primaryCountry.spec.js:105:8)","diff":null},"uuid":"ad1feab2-17c2-4bb9-894f-cbed8016b314","parentUUID":"ada611a5-574c-477a-92ea-7886b8a8b9b2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ad1feab2-17c2-4bb9-894f-cbed8016b314"],"pending":[],"skipped":[],"duration":570,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5111cf44-af01-48c0-b64a-a783ed7fb6e7","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/14filter_by_primaryState.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/14filter_by_primaryState.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b737fda8-051b-4815-a631-632d06a0d4fd","title":"Filter contacts by Primary State","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Primary State Filters contacts based on given condition","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_state').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pun');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('pun');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pun', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n pun/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ab$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/14filter_by_primaryState.spec.js:105:8)","diff":null},"uuid":"5ad13fe8-eed3-44ea-99bb-f38273fee544","parentUUID":"b737fda8-051b-4815-a631-632d06a0d4fd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5ad13fe8-eed3-44ea-99bb-f38273fee544"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f850cb38-44e4-4bc9-9f89-3ff859c9250b","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/15filter_by_primaryCity.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/15filter_by_primaryCity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"36753af9-37e8-4634-bfe7-51d8b31363ab","title":"Filter contacts by Primary City","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Primary City Filters contacts based on given condition","timedOut":null,"duration":489,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_city').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lah');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lah');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('lah', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n lah/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('re', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /re$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/15filter_by_primaryCity.spec.js:105:8)","diff":null},"uuid":"a2e3fe35-50bb-48e9-834a-3f7d423e1faf","parentUUID":"36753af9-37e8-4634-bfe7-51d8b31363ab","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a2e3fe35-50bb-48e9-834a-3f7d423e1faf"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"999eee46-e5af-4868-8d13-f1190d648ead","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/16filter_by_primaryPostalCode.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/16filter_by_primaryPostalCode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2ecb41b6-43ab-401f-8abe-5909b5103308","title":"Filter contacts by Primary Postal Code","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Primary Postal Code Filters contacts based on given condition","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#billing_postal_code').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Primary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Primary Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('454545', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('454545');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('454545', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('454545');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('45');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('45');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^45/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('45', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /45$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/16filter_by_primaryPostalCode.spec.js:105:8)","diff":null},"uuid":"db07ca50-b5b0-49f9-9a6e-c930658acb78","parentUUID":"2ecb41b6-43ab-401f-8abe-5909b5103308","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["db07ca50-b5b0-49f9-9a6e-c930658acb78"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"05c38455-7665-4264-ac85-4fd64c7d3472","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/17filter_by_secondaryAddress1.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/17filter_by_secondaryAddress1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d121cd6e-7f9d-4a2b-bda7-e5a49a28408a","title":"Filter contacts by Secondary Address 1","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Secondary Address 1 Filters contacts based on given condition","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_address_1').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kpk 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kpk1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kpk 1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('kpk1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n k/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('1', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /1$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/17filter_by_secondaryAddress1.spec.js:105:8)","diff":null},"uuid":"5403f66f-f830-4099-bf99-42f6e44babcd","parentUUID":"d121cd6e-7f9d-4a2b-bda7-e5a49a28408a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5403f66f-f830-4099-bf99-42f6e44babcd"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a9a310ef-4e7e-429d-96d0-4724514998c9","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/18filter_by_secondaryAdress2.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/18filter_by_secondaryAdress2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8a38c7f6-9332-4513-9561-8c1bc1e042ca","title":"Filter contacts by Secondary Address 2","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Secondary Address 2 Filters contacts based on given condition","timedOut":null,"duration":489,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_address_2').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('kpk 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kpk2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('kpk 2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('kpk2');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('kp', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('kp');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n k/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('2', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /2$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/18filter_by_secondaryAdress2.spec.js:105:8)","diff":null},"uuid":"df3b0eaa-3002-434b-ac61-ceca31853106","parentUUID":"8a38c7f6-9332-4513-9561-8c1bc1e042ca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df3b0eaa-3002-434b-ac61-ceca31853106"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"187a3b09-bf53-4d83-b345-73df98964def","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/19filter_by_secondaryCountry.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/19filter_by_secondaryCountry.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8695bc5d-dfb9-4548-a568-550dbde1ecaa","title":"Filter contacts by Secondary Country","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Secondary Country Filters contacts based on given condition","timedOut":null,"duration":517,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_country').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('pk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('pk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('p');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('p', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n p/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /k$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/19filter_by_secondaryCountry.spec.js:105:8)","diff":null},"uuid":"3fab0b71-19b2-443b-8d18-596ed5d362d6","parentUUID":"8695bc5d-dfb9-4548-a568-550dbde1ecaa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3fab0b71-19b2-443b-8d18-596ed5d362d6"],"pending":[],"skipped":[],"duration":517,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"739c98ef-1b74-4817-bf92-c810394bd937","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/20filter_by_secondaryState.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/20filter_by_secondaryState.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2c175287-f082-4d97-b6ba-158f1a710aa4","title":"Filter contacts by Secondary State","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Secondary State Filters contacts based on given condition","timedOut":null,"duration":484,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_state').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('New York', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('newyork');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('New York', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('newyork');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('new', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('new');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('new', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('new');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ne', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ne/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('rk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /rk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/20filter_by_secondaryState.spec.js:105:8)","diff":null},"uuid":"30b49daf-97fb-4569-bcf3-3f449e14340b","parentUUID":"2c175287-f082-4d97-b6ba-158f1a710aa4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30b49daf-97fb-4569-bcf3-3f449e14340b"],"pending":[],"skipped":[],"duration":484,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3690634b-e937-4adf-8554-67e03c4c0773","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/21filter_by_secondaryCity.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/21filter_by_secondaryCity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a2774cba-4281-49a1-96ba-a19bd669adbe","title":"Filter contacts by Secondary City","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Secondary City Filters contacts based on given condition","timedOut":null,"duration":517,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_city').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Secondary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Peshawar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('peshawar');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Peshawar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('peshawar');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('pes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('pes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('pes', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('pes');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pe', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n pe/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ar', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ar$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/21filter_by_secondaryCity.spec.js:105:8)","diff":null},"uuid":"e1536140-e2e0-43b4-aade-1b9a7d2f05bd","parentUUID":"a2774cba-4281-49a1-96ba-a19bd669adbe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e1536140-e2e0-43b4-aade-1b9a7d2f05bd"],"pending":[],"skipped":[],"duration":517,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"28b9b6bd-883d-4fbc-9d16-e3fb10e38a65","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/22filter_by_secondaryPostalCode.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/22filter_by_secondaryPostalCode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"25f8323d-e0b5-4c26-a99e-ab0024bd8f9a","title":"Filter contacts by Secondary Postal Code","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Secondary Postal Code Filters contacts based on given condition","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#shipping_postal_code').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim(); // if (spans.text() == \"Secondary Postal Code\") {\n if (text == \"Secondary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Secondary Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('234546', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('234546');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('234546', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('234546');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('23');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('23');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('23', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 23/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('46', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /46$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/22filter_by_secondaryPostalCode.spec.js:105:8)","diff":null},"uuid":"8462756d-e2fe-49eb-a20b-a8f934936a16","parentUUID":"25f8323d-e0b5-4c26-a99e-ab0024bd8f9a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8462756d-e2fe-49eb-a20b-a8f934936a16"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4f337dc-939b-473c-ab1b-39ec6e553785","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/23filer_by_CreatedBy.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/23filer_by_CreatedBy.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3ea6af79-6899-48a4-9d23-f9ccb973c8d2","title":"Filter contacts by Created By","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Created By Filters contacts based on given condition","timedOut":null,"duration":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#created_by').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created By\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__option').first().click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('subscriptionflowadmin');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__option').first().contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.eq('jamesliam');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/23filer_by_CreatedBy.spec.js:105:8)","diff":null},"uuid":"398ef85a-9a8c-4a4a-9f7c-99712f78e5e9","parentUUID":"3ea6af79-6899-48a4-9d23-f9ccb973c8d2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["398ef85a-9a8c-4a4a-9f7c-99712f78e5e9"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"06a2575b-3e31-4b90-84fa-40e69cc43b89","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/24filter_by_CreatedAt.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/24filter_by_CreatedAt.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c0f1e9e5-9895-4799-8156-2959505d35a0","title":"Filter contacts by Created At","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by Created At Filters contacts based on given condition","timedOut":null,"duration":482,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({force:true}).then(()=>{\n// cy.contains('Edit Columns').click({force:true})\n// cy.get('#created_at').click({force:true})\n// cy.get('#push_right').click({force:true})\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({force:true})\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created At\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created At\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').scrollIntoView().should('be.visible').select('Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('02/02/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(date).equal('02/02/2021'); //expect(elements.text()).to.include('02/02/2021')\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Before', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('02/02/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt < 2020) {\n expect(yearInt).to.be.lessThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt < 9) {\n expect(monthInt).to.be.lessThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.lessThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('After', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('01/29/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt > 2020) {\n expect(yearInt).to.be.greaterThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt > 9) {\n expect(monthInt).to.be.greaterThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.greaterThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Today', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var Todaydate = Cypress.moment().format('MM/DD/yyyy');\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(Todaydate).equal(date);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Yesterday', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n var Todaydate = Cypress.moment().subtract(1, 'days').startOf('day');\n Todaydate = Cypress.moment(Todaydate, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n expect(Todaydate).equal(datetxt);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n console.log(Today);\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n console.log(date);\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().subtract(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().subtract(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(7, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().subtract(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(8, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().subtract(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(9, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().subtract(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(10, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().subtract(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(11, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().subtract(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(12, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday).format('MM/DD/yyyy');\n console.log(Saturday);\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday).format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().add(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(0, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().add(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(1, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().add(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(2, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().add(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(3, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().add(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(4, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().add(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(5, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().add(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n console.log(month);\n if (month == 1) {\n month = 12;\n } else {\n month++;\n } // if(parseInt(dateMonth) < 10){\n // dateMonth = '0'+dateMonth\n // }\n\n expect(dateMonth).equal(month);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#listViewTableEl tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n month = parseInt(month);\n expect(dateMonth).equal(month);\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/24filter_by_CreatedAt.spec.js:105:8)","diff":null},"uuid":"d593b96c-995c-4160-a24c-aeaa8a2d0bf8","parentUUID":"c0f1e9e5-9895-4799-8156-2959505d35a0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d593b96c-995c-4160-a24c-aeaa8a2d0bf8"],"pending":[],"skipped":[],"duration":482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5596c44-e90b-46ad-a014-a9d16a92ed98","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/25filter_by_isPrimary.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/25filter_by_isPrimary.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"612c4083-f6f0-45b7-bf22-418fd7035b11","title":"Filter contacts by is Primary","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by is Primary Filters contacts based on given condition","timedOut":null,"duration":507,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#is_primary').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Is Primary\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Is Primary\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] svg\";\n cy.get('.filerSelect [name=\"filter_condition[is_primary]\"]').should('exist').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[is_primary]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/25filter_by_isPrimary.spec.js:104:8)","diff":null},"uuid":"3a11406b-a61c-46d0-9e84-70091efb7439","parentUUID":"612c4083-f6f0-45b7-bf22-418fd7035b11","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a11406b-a61c-46d0-9e84-70091efb7439"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"04ff5f8e-a0a5-4566-a3ed-79b192ac06b4","title":"","fullFile":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/26filter_by_dataSource.spec.js","file":"cypress/integration/SF/d-contacts/Contacts Listing Page/Contacts Filter/26filter_by_dataSource.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c4893d21-1fc5-4851-aa85-0b126a6ab97e","title":"Filter contacts by other phone","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters contacts based on given condition","fullTitle":"Filter contacts by other phone Filters contacts based on given condition","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#data_source').click({ force: true })\n// cy.get('#push_right').click({ force: true })\n// cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({ force: true })\n// })\n// cy.wait(10000)\n// cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == 'Data Source') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Data Source')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('SubscriptionFlow', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('SubscriptionFlow');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').should('be.visible').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('SubscriptionFlow', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.eq('SubscriptionFlow');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').should('be.visible').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.include('Sub');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (element) {\n expect(element.text()).to.not.include('Sub');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n Sub/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('Sub', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /Sub$/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[data_source]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/Contacts%20Filter/26filter_by_dataSource.spec.js:105:8)","diff":null},"uuid":"ae0dcb40-9da0-43de-a3f6-0de74c99e40e","parentUUID":"c4893d21-1fc5-4851-aa85-0b126a6ab97e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae0dcb40-9da0-43de-a3f6-0de74c99e40e"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2c0aa730-c531-4fcf-8634-dc1f0e25f5be","title":"","fullFile":"cypress/integration/SF/e-product/01-create_product_spec.js","file":"cypress/integration/SF/e-product/01-create_product_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"01c4869b-f526-4ae5-ae45-ba7162079632","title":"Create product","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":" I enter <Email> and <Password> and I hit 'Sign in' CTA","fullTitle":"Create product I enter <Email> and <Password> and I hit 'Sign in' CTA","timedOut":null,"duration":522,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.contains('Create Product').click({\n force: true\n});\ncy.url().should('include', '/products/create');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/01-create_product_spec.js:101:8)","diff":null},"uuid":"d61fc29d-5dd1-4ef8-8d40-55fbcc066ab6","parentUUID":"01c4869b-f526-4ae5-ae45-ba7162079632","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":12219,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.wait(8000);\ncy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-plan_id-input-results li:first-child').click({\n force: true\n});\ncy.get('#type-input').select('Base Products', {\n force: true\n});\ncy.get('#name-input').type('cyp_test_product', {\n force: true\n});\ncy.get('#sku-input').type('cyp_test_product', {\n force: true\n});\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').contains('Save').click({\n force: true\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-selection.select2-selection--multiple`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-selection.select2-selection--multiple`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/01-create_product_spec.js:113:8)","diff":null},"uuid":"244685b5-50cd-4752-b736-6a39bc51eba1","parentUUID":"01c4869b-f526-4ae5-ae45-ba7162079632","isHook":false,"skipped":false},{"title":"I observe the product detail page, and verified created product","fullTitle":"Create product I observe the product detail page, and verified created product","timedOut":null,"duration":4164,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.location('pathname').should('include', 'product-detail');\ncy.get('#detail-title').should('contain', 'Cyp_test_product');","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'blank' to include 'product-detail'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'blank' to include 'product-detail'\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/01-create_product_spec.js:140:29)","diff":null},"uuid":"52744e8e-f3f4-4a3e-b5fc-a632a523db67","parentUUID":"01c4869b-f526-4ae5-ae45-ba7162079632","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d61fc29d-5dd1-4ef8-8d40-55fbcc066ab6","244685b5-50cd-4752-b736-6a39bc51eba1","52744e8e-f3f4-4a3e-b5fc-a632a523db67"],"pending":[],"skipped":[],"duration":16905,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e52fa2a8-614b-41c6-a10d-49cea5f0537e","title":"","fullFile":"cypress/integration/SF/e-product/02-add_product_plan_spec.js","file":"cypress/integration/SF/e-product/02-add_product_plan_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ca45c8aa-7098-4cde-92c0-9ff0616ebf25","title":"Add Plan","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to products, and click test product","fullTitle":"Add Plan Go to products, and click test product","timedOut":null,"duration":524,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n cy.get('.badge').then(function (Plan1) {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('.badge').then(function (Plan2) {\n var count = parseFloat(Plan1.text()) + 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n });\n } else {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('.badge').then(function (Plan2) {\n var count = 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/02-add_product_plan_spec.js:101:8)","diff":null},"uuid":"51698e50-ce83-48ce-a2da-ec8ce0f31079","parentUUID":"ca45c8aa-7098-4cde-92c0-9ff0616ebf25","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["51698e50-ce83-48ce-a2da-ec8ce0f31079"],"pending":[],"skipped":[],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b2f4600e-16c7-49b1-81bd-2c0ab7450ada","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"922472c0-e007-4591-bc4a-5abf0b2e3790","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Authorize.Net","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Credit Card with Authorize.Net","timedOut":null,"duration":4748,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\ncy.wait(5000);\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().click();\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:106:8)","diff":null},"uuid":"55fc6b10-e2ef-462f-aa96-1387b9ae97f7","parentUUID":"922472c0-e007-4591-bc4a-5abf0b2e3790","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55fc6b10-e2ef-462f-aa96-1387b9ae97f7"],"pending":[],"skipped":[],"duration":4748,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0be1be7-753f-4358-a1bb-3a37bd52c133","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d7c02c55-9b6c-4b0f-bc26-c95d1e9895e8","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Authorize.Net","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Authorize.Net","timedOut":null,"duration":4587,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"d3fbc28d-4599-4d98-aefd-e4907027936f","parentUUID":"d7c02c55-9b6c-4b0f-bc26-c95d1e9895e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d3fbc28d-4599-4d98-aefd-e4907027936f"],"pending":[],"skipped":[],"duration":4587,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3bc46e35-74ac-4512-bdf2-18786064badd","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f36bd3c8-9e5f-4a21-abb0-a67f71c17cdf","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Authorize.Net","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Bank Transfer with Authorize.Net","timedOut":null,"duration":4564,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"0065a140-18c2-449c-be11-9d3d798bccd3","parentUUID":"f36bd3c8-9e5f-4a21-abb0-a67f71c17cdf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0065a140-18c2-449c-be11-9d3d798bccd3"],"pending":[],"skipped":[],"duration":4564,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f51eceb0-16e2-4c7f-9500-bfe6f25bf610","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c8c3b431-f35f-4ac4-a8c0-25ae4a394367","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Authorize.Net","fullTitle":"Hosted Payment Page Hosted Payment Page using Bank Transfer with Authorize.Net","timedOut":null,"duration":4572,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"dab77396-7ea1-40dd-835f-a277443f9c76","parentUUID":"c8c3b431-f35f-4ac4-a8c0-25ae4a394367","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dab77396-7ea1-40dd-835f-a277443f9c76"],"pending":[],"skipped":[],"duration":4572,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef448343-d6f7-4816-9192-b877eed6650f","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"df7bf967-11e4-419f-bb70-63d8dbabd163","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Credit Card with Stripe","timedOut":null,"duration":4696,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:103:8)","diff":null},"uuid":"3a81f1bf-249d-4432-935c-f3bf9b3ba716","parentUUID":"df7bf967-11e4-419f-bb70-63d8dbabd163","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a81f1bf-249d-4432-935c-f3bf9b3ba716"],"pending":[],"skipped":[],"duration":4696,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"51030717-aadd-4b50-8331-2c26f498f174","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"10c405b2-2577-4396-883f-102f52db503b","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe","timedOut":null,"duration":4516,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:103:8)","diff":null},"uuid":"cd91bb36-0a2e-4b69-9844-25d2fd18e60f","parentUUID":"10c405b2-2577-4396-883f-102f52db503b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd91bb36-0a2e-4b69-9844-25d2fd18e60f"],"pending":[],"skipped":[],"duration":4516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"13ac62ca-9da2-4002-aa92-885535eb54f3","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"73ece9c9-8cab-45cc-893e-17bd165f7a64","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Stripe","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Bank Transfer with Stripe","timedOut":null,"duration":4527,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:103:8)","diff":null},"uuid":"8eac5975-a39b-4944-ac3e-855e0ede85ce","parentUUID":"73ece9c9-8cab-45cc-893e-17bd165f7a64","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8eac5975-a39b-4944-ac3e-855e0ede85ce"],"pending":[],"skipped":[],"duration":4527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"25a5c8f6-7b0a-44d0-b583-811b76938e7c","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"81c4dd59-d1c7-410f-95d9-37c68cc67a88","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Stripe","fullTitle":"Hosted Payment Page Hosted Payment Page using Bank Transfer with Stripe","timedOut":null,"duration":4566,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:103:8)","diff":null},"uuid":"83261371-395d-41e1-a48e-f29302c2e73a","parentUUID":"81c4dd59-d1c7-410f-95d9-37c68cc67a88","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["83261371-395d-41e1-a48e-f29302c2e73a"],"pending":[],"skipped":[],"duration":4566,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"30854ce0-7ef2-40a9-a973-ca707d9670fc","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e543f139-bedc-4fae-b859-2ea2c8301b0e","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page with PayPal Express Checkout","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page with PayPal Express Checkout","timedOut":null,"duration":4918,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:103:8)","diff":null},"uuid":"64c57c8e-24b2-4772-aa8c-416651b74f69","parentUUID":"e543f139-bedc-4fae-b859-2ea2c8301b0e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["64c57c8e-24b2-4772-aa8c-416651b74f69"],"pending":[],"skipped":[],"duration":4918,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd1a379e-1c69-4809-96d7-3513d42cc348","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a0de2a33-34cd-4df1-a3be-cf43fd4ed7e2","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with PayPal Express Checkout","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with PayPal Express Checkout","timedOut":null,"duration":4538,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:103:8)","diff":null},"uuid":"c75862d4-4f33-4454-a96b-30df51b21b5a","parentUUID":"a0de2a33-34cd-4df1-a3be-cf43fd4ed7e2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c75862d4-4f33-4454-a96b-30df51b21b5a"],"pending":[],"skipped":[],"duration":4538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bc32c04d-2782-4df5-b847-a8131c5c7220","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"35d64b4d-dfb0-42c7-9a4b-a6b7e88f75d8","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Authorize.Net","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Credit Card with Authorize.Net","timedOut":null,"duration":4583,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#apps_flow').trigger('mouseover');\ncy.get('.app-flow-content--item__text a').contains('PaymentsFlow').then(function (PF) {\n var payflow = PF.prop('href');\n cy.visit(payflow);\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().click();\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"c4271f7b-aca8-47eb-8561-8e5151fdd861","parentUUID":"35d64b4d-dfb0-42c7-9a4b-a6b7e88f75d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c4271f7b-aca8-47eb-8561-8e5151fdd861"],"pending":[],"skipped":[],"duration":4583,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d77a9546-0747-49f8-bc6b-db8d9a1d1457","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f6180ef7-ec26-4e37-8b7f-32d9df778b3a","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Authorize.Net","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Authorize.Net","timedOut":null,"duration":4532,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"8eb7f0d0-e580-4859-90ba-55cfbbd84794","parentUUID":"f6180ef7-ec26-4e37-8b7f-32d9df778b3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8eb7f0d0-e580-4859-90ba-55cfbbd84794"],"pending":[],"skipped":[],"duration":4532,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c1df2501-1b23-48ed-b74e-094802fed897","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1c9d5b53-f647-4491-b766-dcfb9d858a25","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Authorize.Net","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Bank Transfer with Authorize.Net","timedOut":null,"duration":4500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"e58d8e30-85b0-4526-861f-77698b8616f0","parentUUID":"1c9d5b53-f647-4491-b766-dcfb9d858a25","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e58d8e30-85b0-4526-861f-77698b8616f0"],"pending":[],"skipped":[],"duration":4500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"271659b5-88fd-4d52-8312-16882a388db8","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c215a105-0a2d-40d8-a5d5-609e139782b3","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Authorize.Net","fullTitle":"Hosted Payment Page Hosted Payment Page using Bank Transfer with Authorize.Net","timedOut":null,"duration":4640,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"4eefb18c-f354-427e-b5dd-65fbfa4103ea","parentUUID":"c215a105-0a2d-40d8-a5d5-609e139782b3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4eefb18c-f354-427e-b5dd-65fbfa4103ea"],"pending":[],"skipped":[],"duration":4640,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"49fc050d-a80a-4b31-a765-8450ae43cbb3","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"38ab11b7-0abd-4729-a9af-5206d944bd3a","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Credit Card with Stripe","timedOut":null,"duration":4717,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js:103:8)","diff":null},"uuid":"dae9e616-205a-4a00-8217-e5ae051542e2","parentUUID":"38ab11b7-0abd-4729-a9af-5206d944bd3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dae9e616-205a-4a00-8217-e5ae051542e2"],"pending":[],"skipped":[],"duration":4717,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3df2c1a2-4e24-407f-9120-3e181fa71636","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"93699d02-e7a7-47ea-91dd-6490abbbd6f6","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe","timedOut":null,"duration":4521,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:103:8)","diff":null},"uuid":"df464b43-3bd5-46bf-a3af-c39238864496","parentUUID":"93699d02-e7a7-47ea-91dd-6490abbbd6f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df464b43-3bd5-46bf-a3af-c39238864496"],"pending":[],"skipped":[],"duration":4521,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f10c79af-e32c-4e77-b06b-15e31e101f7d","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ecb25c63-f888-4621-a825-c123d7b41b10","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Stripe","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page using Bank Transfer with Stripe","timedOut":null,"duration":4540,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:103:8)","diff":null},"uuid":"644abe5b-44b9-402a-9359-98a948918a12","parentUUID":"ecb25c63-f888-4621-a825-c123d7b41b10","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["644abe5b-44b9-402a-9359-98a948918a12"],"pending":[],"skipped":[],"duration":4540,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"369ecc94-5e12-4477-b32f-9631caf3135e","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3e0f8c66-59ad-4013-acc6-5c43bbda35fe","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Bank Transfer with Stripe","fullTitle":"Hosted Payment Page Hosted Payment Page using Bank Transfer with Stripe","timedOut":null,"duration":4563,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:103:8)","diff":null},"uuid":"5bacc9e7-cd16-4133-9e1c-b1cf28918173","parentUUID":"3e0f8c66-59ad-4013-acc6-5c43bbda35fe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5bacc9e7-cd16-4133-9e1c-b1cf28918173"],"pending":[],"skipped":[],"duration":4563,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f2ca5f5-b321-4d5e-8ca2-607420fe438d","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ba83f858-bf43-462a-9a13-94c753cc51db","title":"Hosted Payment Page (Trial)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page with PayPal Express Checkout","fullTitle":"Hosted Payment Page (Trial) Hosted Payment Page with PayPal Express Checkout","timedOut":null,"duration":4702,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:103:8)","diff":null},"uuid":"27f021f6-cd65-489d-b2eb-3e9c8f24e471","parentUUID":"ba83f858-bf43-462a-9a13-94c753cc51db","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["27f021f6-cd65-489d-b2eb-3e9c8f24e471"],"pending":[],"skipped":[],"duration":4702,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e98a9092-3af0-4ef3-ae66-9e79852312a7","title":"","fullFile":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","file":"cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"795b3b3f-f043-48ef-a2e6-94f7755bdc35","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with PayPal Express Checkout","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with PayPal Express Checkout","timedOut":null,"duration":4543,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#status').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar p = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n if (spans.text().includes(\"Status\")) {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:103:8)","diff":null},"uuid":"1967da20-1f8d-4a22-b8bf-80eeca8dfe0f","parentUUID":"795b3b3f-f043-48ef-a2e6-94f7755bdc35","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1967da20-1f8d-4a22-b8bf-80eeca8dfe0f"],"pending":[],"skipped":[],"duration":4543,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0b8aba59-c596-4b5d-ad6f-dcca0b5348ed","title":"","fullFile":"cypress/integration/SF/e-product/Plan Pricing/01-add_plan_detail_one_time_spec.js","file":"cypress/integration/SF/e-product/Plan Pricing/01-add_plan_detail_one_time_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7ab9a7e0-603d-4878-89b8-37c0b6b44cd8","title":"Add Plan details (one time)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to product detail, and add new plan pricing","fullTitle":"Add Plan details (one time) Go to product detail, and add new plan pricing","timedOut":null,"duration":319,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/Plan%20Pricing/01-add_plan_detail_one_time_spec.js:101:8)","diff":null},"uuid":"ec0d0b4b-f470-4c55-9ffa-d6038d1ce2fd","parentUUID":"7ab9a7e0-603d-4878-89b8-37c0b6b44cd8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ec0d0b4b-f470-4c55-9ffa-d6038d1ce2fd"],"pending":[],"skipped":[],"duration":319,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8f0d72c1-d960-421a-a4d0-369f9e7f1a73","title":"","fullFile":"cypress/integration/SF/e-product/Plan Pricing/02-add_plan_detail_recurring_spec.js","file":"cypress/integration/SF/e-product/Plan Pricing/02-add_plan_detail_recurring_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1b8dd8c9-e493-469b-b108-8aaa46f48901","title":"Add Plan details (recurring time)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to product detail, and add new plan pricing","fullTitle":"Add Plan details (recurring time) Go to product detail, and add new plan pricing","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/Plan%20Pricing/02-add_plan_detail_recurring_spec.js:101:8)","diff":null},"uuid":"9bad4f6a-3418-4b6e-afc7-1ec86136d39f","parentUUID":"1b8dd8c9-e493-469b-b108-8aaa46f48901","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9bad4f6a-3418-4b6e-afc7-1ec86136d39f"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f1fb3f57-5eb0-400e-866a-a2c10c156457","title":"","fullFile":"cypress/integration/SF/e-product/Plan Pricing/03-add_plan_detail_UOM_spec.js","file":"cypress/integration/SF/e-product/Plan Pricing/03-add_plan_detail_UOM_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0846cb5f-c256-49eb-a58b-cd622c4da297","title":"Add Plan details (usage time)","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Go to product detail, and add new plan pricing","fullTitle":"Add Plan details (usage time) Go to product detail, and add new plan pricing","timedOut":null,"duration":485,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/products\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('cyp_test_product', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(function (ele) {\n var prod = ele.prop('href');\n cy.visit(prod);\n });\n});\ncy.url().should('contain', 'product-detail');\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n addPricing();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n addPricing();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/products\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/Plan%20Pricing/03-add_plan_detail_UOM_spec.js:101:8)","diff":null},"uuid":"9f870803-fa2d-4022-8726-ad6d56da162b","parentUUID":"0846cb5f-c256-49eb-a58b-cd622c4da297","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f870803-fa2d-4022-8726-ad6d56da162b"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c297d725-2c20-4a2a-9e01-1cc0d8c8cb0d","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"12f74e70-8aee-4fd9-b21a-47ca875d040a","title":"Cancel Plan","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Fill the form and click CTA","fullTitle":"Cancel Plan Fill the form and click CTA","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/plans');\ncy.check();\ncy.contains('Create Plan').click({\n force: true\n});\ncy.url().should('include', '/plans/create');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#name-input').type('cyp_test_plan');\ncy.wait(50);\ncy.location('pathname').should('include', 'plans');\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('this is description', {\n force: true\n});\ncy.get('a.btn').contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/plans');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/plans\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/plans\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-plan/cancel-plan.js:101:8)","diff":null},"uuid":"05065260-013b-4b5e-8d7a-814a2e946dd1","parentUUID":"12f74e70-8aee-4fd9-b21a-47ca875d040a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["05065260-013b-4b5e-8d7a-814a2e946dd1"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a587ebd5-ad6c-4ca2-a743-98749eb8f4e9","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"53ddccf3-cffc-45e1-b5a0-f1cb152770bd","title":"Create Plan","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Fill the form and click CTA","fullTitle":"Create Plan Fill the form and click CTA","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/plans');\ncy.check();\ncy.contains('Create Plan').click({\n force: true\n});\ncy.url().should('include', '/plans/create');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#name-input').type('cyp_test_plan');\ncy.wait(50);\ncy.location('pathname').should('include', 'plans');\ncy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n});\ncy.get('#effective_end_date-input').type(endDate, {\n force: true\n});\ncy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.location('pathname').should('include', 'plan-detail');\ncy.get('#detail-title').should('contain', 'Cyp_test_plan');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/plans\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/plans\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/f-plan/create-plan.js:101:8)","diff":null},"uuid":"721bb501-5d52-4953-9929-ddc010af2759","parentUUID":"53ddccf3-cffc-45e1-b5a0-f1cb152770bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["721bb501-5d52-4953-9929-ddc010af2759"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5804e0ec-8771-4974-a66f-83d1f10ead5d","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3c9c66a6-993e-4cad-a9f9-ed37dcd54fe6","title":"Cancel Coupon","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Fill the form with Regular Availability and click CTA","fullTitle":"Cancel Coupon Fill the form with Regular Availability and click CTA","timedOut":null,"duration":4670,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('.nav-link').contains('More').click();\ncy.get('.dropdown-menu a').contains('Coupon').click({\n force: true\n});\ncy.wait(8000);\ncy.get('span').contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#name-input').type('Noman', {\n force: true\n});\ncy.get('#code-input').type('A2%T-IY', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Regular');\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search--dropdown .select2-search__field').type('Test{downarrow} {enter}');\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/coupons');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:103:8)","diff":null},"uuid":"7e4f8e6d-b74a-48fc-8b62-4f976bf25c60","parentUUID":"3c9c66a6-993e-4cad-a9f9-ed37dcd54fe6","isHook":false,"skipped":false},{"title":"Fill the form with Limited Availability and click CTA","fullTitle":"Cancel Coupon Fill the form with Limited Availability and click CTA","timedOut":null,"duration":4832,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('.nav-link').contains('More').click();\ncy.get('.dropdown-menu a').contains('Coupon').click({\n force: true\n});\ncy.wait(8000);\ncy.get('span').contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#name-input').type('Noman', {\n force: true\n});\ncy.get('#code-input').type('A2%T-IY', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Limited');\ncy.get('#available_from-input').should('be.visible');\ncy.get('#available_to-input').should('be.visible');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(10, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#available_from-input').type(todaysDate, {\n force: true\n});\ncy.get('#available_to-input').type(endDate, {\n force: true\n});\ncy.get('#discount_type-input').select('Percentage', {\n force: true\n});\ncy.get('#discount_value-input').type('50', {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-assigned_to-input-container').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.select2-search--dropdown .select2-search__field').type('Test{downarrow} {enter}');\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/coupons');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:155:8)","diff":null},"uuid":"8cbaec13-8d83-4b0f-8e9c-8aac15f9c3d4","parentUUID":"3c9c66a6-993e-4cad-a9f9-ed37dcd54fe6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7e4f8e6d-b74a-48fc-8b62-4f976bf25c60","8cbaec13-8d83-4b0f-8e9c-8aac15f9c3d4"],"pending":[],"skipped":[],"duration":9502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d087c231-392e-4bf1-8a76-87b9f9b0d325","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"dd7ae8c5-1880-4fab-81fb-9c458cbc8292","title":"Create Coupon","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Fill the form with Regular Availability and click CTA","fullTitle":"Create Coupon Fill the form with Regular Availability and click CTA","timedOut":null,"duration":322,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('ABC', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Regular');\ncy.get('#discount_type-input').select('Percentage');\ncy.get('#discount_value-input').type('50');\ncy.wait(10000);\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('.invalid-feedback').contains('This Field is Required').should('be.visible');\ncy.get('#name-input').type('Test Coupon', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/coupons\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/coupons\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/create-coupon.js:101:8)","diff":null},"uuid":"b4a44093-8515-4ab8-8241-240fb203ef82","parentUUID":"dd7ae8c5-1880-4fab-81fb-9c458cbc8292","isHook":false,"skipped":false},{"title":"Fill the form with Limited Availability and click CTA","fullTitle":"Create Coupon Fill the form with Limited Availability and click CTA","timedOut":null,"duration":433,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/coupons\");\ncy.check();\ncy.contains('Create Coupon').click({\n force: true\n});\ncy.url().should('include', '/coupons/create');\ncy.get('#code-input').type('DEF', {\n force: true\n});\ncy.get('#coupon_add_form textarea').type('Adding Coupon');\ncy.get('#availability-input').select('Limited');\ncy.get('#available_from-input').should('be.visible');\ncy.get('#available_to-input').should('be.visible');\nvar todaysDate = Cypress.moment().format('MM/DD/YYYY');\nvar addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(10, 'days');\nvar endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\ncy.get('#available_from-input').type(todaysDate, {\n force: true\n});\ncy.get('#available_to-input').type(endDate, {\n force: true\n});\ncy.get('#discount_type-input').select('Percentage', {\n force: true\n});\ncy.get('#discount_value-input').type('50', {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(15000);\ncy.get('#select2-plan_id-input-results li').eq(0).click({\n force: true\n});\ncy.get('#apply_on_onetime-input').check({\n force: true\n});\ncy.get('#apply_on_recurring-input').check({\n force: true\n});\ncy.get('#apply_on_usage-input').check({\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('.invalid-feedback').contains('This Field is Required').should('be.visible');\ncy.get('#name-input').type('Test Coupon 2', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/coupons\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/coupons\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/create-coupon.js:144:8)","diff":null},"uuid":"695913ab-870a-46fd-b41b-b605f94ec049","parentUUID":"dd7ae8c5-1880-4fab-81fb-9c458cbc8292","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4a44093-8515-4ab8-8241-240fb203ef82","695913ab-870a-46fd-b41b-b605f94ec049"],"pending":[],"skipped":[],"duration":755,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ffadcf9e-9c03-4c26-b80e-7205dff6eab1","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/01Add_Edit_Delete_Notes.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/01Add_Edit_Delete_Notes.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f37a635d-fc34-49b0-90be-31d03da2fd84","title":"Add/Edit/Delete Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add note, should be added successfully","fullTitle":"Add/Edit/Delete Notes Add note, should be added successfully","timedOut":null,"duration":509,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get(':nth-child(2) > .nav-link > .ml-auto > .svg-inline--fa > path').click({\n force: true\n});\ncy.get('form[id=\"Note-Form\"]').then(function (elem) {\n cy.get('textarea[id=\"note-description\"]').click({\n force: true\n });\n cy.get('.mob-left-3').contains(' Attach File').should('be.visible');\n cy.get('.mob-left-2').contains('Add a title').should('be.visible');\n cy.contains('Cancel').should('be.visible');\n cy.get('#save_note').contains('Save').should('be.visible'); // Check error only entering title and press Save button\n cy.get('.mob-left-2').contains('Add a title').click({\n force: true\n });\n cy.get('input[id=\"title\"]').click({\n force: true\n }).type('Tested Title Should Not Be Added', {\n force: true\n });\n cy.get('#save_note').contains('Save').click({\n force: true\n });\n cy.get('.invalid-feedback').should('contain', ' This Field is Required '); //...\n cy.wait(3000); // Check error, if note not added and press Save button\n cy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().should('be.visible').clear({\n force: true\n });\n });\n cy.get('td').eq(0).then(function (elem) {\n cy.get('textarea[placeholder=\"Add a Note\"]').first().click();\n });\n cy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.get('.invalid-feedback').should('contain', ' This Field is Required ');\n cy.wait(1000);\n}); // Adding and verify that the \n// title and note added are accurate\n//Adding note description without title\ncy.get('#note-description').should('be.visible').clear({\n force: true\n}).type(\"Note description, without title added successfully\", {\n force: true\n}).should('have.value', 'Note description, without title added successfully');\ncy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n});\ncy.wait(3000); //Adding note with title\ncy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().clear({\n force: true\n });\n});\ncy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().type('Add Title Successfully', {\n force: true\n }).should('have.value', 'Add Title Successfully');\n cy.get('#note-description').should('be.visible').clear({\n force: true\n }).type(\"Add note description successfully\", {\n force: true\n }).should('have.value', 'Add note description successfully');\n cy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.wait(5000);\n}); //...","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Add/Edit/Delete Notes`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Add/Edit/Delete Notes`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/01Add_Edit_Delete_Notes.spec.js:101:8)","diff":null},"uuid":"cf6a05f7-fa94-4645-8a74-d1418ea2c014","parentUUID":"f37a635d-fc34-49b0-90be-31d03da2fd84","isHook":false,"skipped":false},{"title":"Edit note, should be edit successfully","fullTitle":"Add/Edit/Delete Notes Edit note, should be edit successfully","timedOut":null,"duration":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"/*When I hover on the note\nThen I should be able to see \nthe edit and delete icons options*/\ncy.get('tbody[id=\"display-notes\"]').should('be.visible').within(function () {\n cy.get('tr[class=\"notes\"]').first().trigger('mouseover').should('be.visible').then(function () {\n cy.get('td').eq(2).then(function (elem) {\n cy.get('.pointer.delete-note.note-actions').first().should('be.visible');\n cy.get('.pointer.edit-note.note-actions.displaynone').first().click({\n force: true\n });\n });\n });\n});\n/*When I click on the Edit icon \nthe following CTAs will be there*/\ncy.get('table[class=\"edit-notes-table\"]').within(function () {\n cy.get('td').eq(0).then(function () {\n cy.get('.gray-text .m-left-3').contains(' Attach File').should('be.visible');\n cy.contains('Cancel').should('be.visible');\n cy.get('.save-note').contains('Save').should('be.visible');\n cy.get('.add-title').contains('Add a title').should('be.visible').click({\n force: true\n });\n });\n});\nvar title = \"Add Title Successfully\";\nvar note = \"Add note description successfully\";\ncy.get('table[class=\"edit-notes-table\"]').within(function () {\n /*the recent Title and Note will be exist*/\n // cy.get('td').eq(0).then(elem => {\n // cy.get('input[placeholder=\"Title\"]').first().should('have.value', title)\n // cy.get('textarea[placeholder=\"Add a Note\"]').first().should('have.value', note)\n // })\n /*clear the Title and Note, and new one */\n cy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().clear({\n force: true\n }).type('Edit Title Successfully', {\n force: true\n });\n cy.get('textarea[placeholder=\"Add a Note\"]').first().clear({\n force: true\n }).type(\"Edit note description successfully\", {\n force: true\n });\n cy.get('button[class=\"btn btn-create btn-sm save-note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.wait(5000);\n });\n});","err":{},"uuid":"3ccae98d-f6ed-435d-bc78-7e115f92c49c","parentUUID":"f37a635d-fc34-49b0-90be-31d03da2fd84","isHook":false,"skipped":true},{"title":"Delete note, should be deleted successfully","fullTitle":"Add/Edit/Delete Notes Delete note, should be deleted successfully","timedOut":null,"duration":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"cy.get('tbody[id=\"display-notes\"]').should('be.visible').within(function () {\n cy.get('tr[class=\"notes\"]').first().trigger('mouseover').should('be.visible').then(function () {\n cy.get('td').eq(2).then(function (elem) {\n cy.get('.pointer.delete-note.note-actions').first().should('be.visible').click({\n force: true\n });\n });\n });\n});\ncy.wait(5000);\ncy.get('form[id=\"deleteForm\"]').within(function () {\n cy.get('button[type=\"submit\"]').contains('Delete').click({\n force: true\n });\n});\ncy.wait(3000);\ncy.get('tbody[id=\"display-notes\"]').should('be.visible').within(function () {\n cy.get(':nth-child(2) > .font-weight-bold').should('not.exist', 'Edit Title Successfully');\n});","err":{},"uuid":"9af8efd8-c338-4f3f-9d17-f190121dfab4","parentUUID":"f37a635d-fc34-49b0-90be-31d03da2fd84","isHook":false,"skipped":true},{"title":"When I write text in the field, and click on Cancel button, the form should not be saved","fullTitle":"Add/Edit/Delete Notes When I write text in the field, and click on Cancel button, the form should not be saved","timedOut":null,"duration":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"var listingCount; //Check the length before adding text in the Note\ncy.get('tbody[id=\"display-notes\"]').then(function (ele) {\n if (ele.find('tr').length > 1) {\n cy.get('tbody[id=\"display-notes\"]').find('tr').then(function (tr) {\n listingCount = Cypress.$(tr).length;\n });\n }\n}); //Add some text, and the note should not be saved\ncy.get('form[id=\"Note-Form\"]').then(function (elem) {\n cy.get('textarea[id=\"note-description\"]').click({\n force: true\n }).type('Should not be saved', {\n force: true\n });\n cy.contains('Cancel').should('be.visible').click({\n force: true\n });\n}); //Check the length after press the Cancel button\ncy.get('tbody[id=\"display-notes\"]').then(function (ele) {\n if (ele.find('tr').length > 1) {\n cy.log('Actual length of tr is: ', listingCount);\n cy.get('tbody[id=\"display-notes\"]').find('tr').should('have.length', listingCount);\n }\n});","err":{},"uuid":"c11cdd6c-e0ac-4de2-a568-4c6410c0f059","parentUUID":"f37a635d-fc34-49b0-90be-31d03da2fd84","isHook":false,"skipped":true}],"suites":[],"passes":[],"failures":["cf6a05f7-fa94-4645-8a74-d1418ea2c014"],"pending":[],"skipped":["3ccae98d-f6ed-435d-bc78-7e115f92c49c","9af8efd8-c338-4f3f-9d17-f190121dfab4","c11cdd6c-e0ac-4de2-a568-4c6410c0f059"],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb76c29b-3a3d-4730-b684-c6303d0d695b","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/02Customer_Detail_View.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/02Customer_Detail_View.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"515ffc99-491f-4c0b-97f2-e1ef66c553b2","title":"Customer Detail View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I logged in, on the customer’s details page I can see the customer detail","fullTitle":"Customer Detail View When I logged in, on the customer’s details page I can see the customer detail","timedOut":null,"duration":511,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var firstText;\nvar normalizeText = function normalizeText(s) {\n return s.replace(/\\s/g, '').toLowerCase();\n};\ncy.get('.card-body > .d-flex > :nth-child(1) > p').should('be.visible');\ncy.get('.text-left > .btn-primary').should('contain', ' Generate Statement');\ncy.get('.text-left > .btn-warning').should('contain', ' Edit');\ncy.get('#myTab').within(function () {\n cy.get('li').eq(0).contains('Details', {\n matchCase: false\n });\n cy.get('li').eq(1).contains('History', {\n matchCase: false\n });\n});\ncy.get('.btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').eq(0).contains('Process Payment');\ncy.get('.dropdown-menu.show a').eq(1).contains('Print Preview');\ncy.get('.dropdown-menu.show a').eq(2).contains('Delete');\ncy.get(':nth-child(1) > .col-lg > .ls').should('be.visible').contains('Basic Information');\ncy.get(':nth-child(2) > .col-lg > .ls').contains('Address Information');\ncy.get(':nth-child(1) > .nav-item > .d-flex > .nav-link-text').should('contain', 'Quick Links');\ncy.get('.mb-2 > .nav-link > span').should('contain', 'Timeline');\ncy.get(':nth-child(3) > :nth-child(2) > .nav-link > :nth-child(1)').should('contain', 'Notes');\ncy.get('.nav-link > .nav-link-text').should('contain', 'Related List');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Customer Detail View`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Customer Detail View`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/02Customer_Detail_View.spec.js:101:8)","diff":null},"uuid":"8918598a-65c4-477a-914f-02c7d502ed59","parentUUID":"515ffc99-491f-4c0b-97f2-e1ef66c553b2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8918598a-65c4-477a-914f-02c7d502ed59"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9b8eef80-2b2b-4571-bd91-a75b53385c72","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/03Delete_customer_from_customer_details.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/03Delete_customer_from_customer_details.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b5707947-ad75-4501-94b5-60a6aa662dd7","title":"Delete Customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I press the delete button, in the burger menu, current customer should be deleted and customer list should be open","fullTitle":"Delete Customer When I press the delete button, in the burger menu, current customer should be deleted and customer list should be open","timedOut":null,"duration":503,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var firstText;\ncy.get('.page-title').should('be.visible').then(function ($first) {\n // save text from the first element\n firstText = $first.text().trim();\n cy.log('Name is: ', firstText);\n}); // cy.()\ncy.get('.text-md-right.mt-3.mt-md-0.detail-top-btn .actions-dropdown').within(function () {\n cy.get('.detail-btn-bars.btn-import.mob-btn-import').should('be.visible').click({\n force: true\n });\n cy.get('ul li').eq(2).contains('Delete').should('be.visible').click({\n force: true\n });\n});\ncy.wait(3000);\ncy.get('#deleteForm').within(function () {\n cy.get('.modal-header .modal-title').contains('Delete').should('be.visible');\n cy.get('.modal-footer > .btn-secondary').contains('Cancel').should('be.visible');\n cy.get('.modal-footer > .btn-create').contains('Delete').should('be.visible').click(); // cy.wait(33000)\n}); // cy.go(-1)\n// cy.url().should('include', '/en/customers')\ncy.wait(25000); //After deleting checking, if customer exists\ncy.get('td[data-sfuniqueid=\"dataTable__table-td-0\"] a').each(function ($ele) {\n expect($ele.text().trim()).to.not.equal(firstText);\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Delete Customer`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Delete Customer`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/03Delete_customer_from_customer_details.spec.js:101:8)","diff":null},"uuid":"62ae44dd-df3a-439d-aa63-dc681e9e8eaa","parentUUID":"b5707947-ad75-4501-94b5-60a6aa662dd7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["62ae44dd-df3a-439d-aa63-dc681e9e8eaa"],"pending":[],"skipped":[],"duration":503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3b1aa3c4-7cbd-44ff-8fcf-8ce404d502ee","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/04Check_Related_List.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/04Check_Related_List.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b2907f3f-6618-46dc-af17-f32ce1d26972","title":"Check Related List","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Checking the related list, by adding and removing item","fullTitle":"Check Related List Checking the related list, by adding and removing item","timedOut":null,"duration":484,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('#related-modal').should('have.css', 'opacity', '0');\ncy.get('aside[id=\"mySidenav\"] .nav-wrapper ul .related-list > .nav-link').contains('Related List').trigger('mouseover').should('be.visible');\ncy.get('.related-list > .nav-link .show-cog .fa-cog').should('be.visible').click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('.row > :nth-child(1) > h5').contains(' Unselected List: ');\n cy.get('[style=\"overflow-y: auto;\"] > h5').contains(' Selected List: ');\n cy.wait(2000);\n cy.get('#related_module_list').should('be.visible'); // select an element from the Unselected list\n // and send it to the selected list\n cy.get('#relatedModule').then(function (ele) {\n if (ele.find('option').length > 0) {\n cy.get('#relatedModule option').each(function (el) {\n if (el.text().includes('Customers')) {\n cy.get('#relatedModule').select('Customers', {\n force: true\n }).should('contain', 'Customers');\n cy.get('#relatedModule_rightSelected').should('be.visible').click({\n force: true\n });\n cy.wait(1000);\n get = false;\n } else {\n get = true;\n }\n });\n }\n if (get) {\n cy.get('#related_module_list #relatedModule_to').select('Customers', {\n force: true\n }).should('contain', 'Customers');\n cy.get('#relatedModule_leftSelected').should('be.visible').click({\n force: true\n });\n cy.wait(1000);\n cy.get('#relatedModule').select('Customers', {\n force: true\n }).should('contain', 'Customers');\n cy.get('#relatedModule_rightSelected').should('be.visible').click({\n force: true\n });\n cy.wait(1000);\n }\n });\n cy.wait(1000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n cy.wait(7000);\n}); //Check element exist in aside nav\ncy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').should('contain', ' Customers '); // ...\n// select an element from the selected list\n// and send it to the Unselected list\ncy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list').should('be.visible');\n cy.get('#relatedModule_to').then(function (ele) {\n if (ele.find('option')) {\n cy.get('#relatedModule_to option').each(function (el) {\n if (el.text().includes('Emails')) {\n cy.get('#relatedModule_to').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n cy.get('#relatedModule_leftSelected').should('be.visible').click({\n force: true\n });\n getNow = false;\n return false;\n } else {\n getNow = true;\n }\n }).then(function () {\n if (getNow) {\n cy.get('#related_module_list #relatedModule').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n cy.get('#relatedModule_rightSelected').should('be.visible').click({\n force: true\n }); // cy.wait(1000)\n cy.get('#relatedModule_to').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n cy.get('#relatedModule_leftSelected').should('be.visible').click({\n force: true\n });\n }\n });\n }\n }); // cy.get('#relatedModule_to').select('Emails', {force:true}).should('contain', 'Emails')\n // cy.get('#relatedModule_leftSelected').should('be.visible').click({ force: true })\n cy.wait(1000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n cy.wait(7000); //Check element not exist in aside nav\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').should('not.contain', ' Emails '); // ...\n cy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list').should('be.visible');\n cy.get('#related_module_list > .modal-body > .row > [style=\"flex-flow: column\"]').should('be.visible').then(function () {\n cy.get('#relatedModule_leftAll').should('be.visible').click({\n force: true\n });\n });\n cy.wait(1500);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n });\n cy.wait(7000);\n var selectAll = 22;\n var selectNone = 4;\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').then(function (ele) {\n if (ele.find('li').length == selectNone) {\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').find('li').should('have.length', selectNone);\n }\n });\n cy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list').should('be.visible');\n cy.get('#related_module_list > .modal-body > .row > [style=\"flex-flow: column\"]').should('be.visible').then(function () {\n cy.get('#relatedModule_rightAll').should('be.visible').click({\n force: true\n });\n });\n cy.wait(3000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n });\n });\n cy.wait(7000);\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').then(function (ele) {\n if (ele.find('li').length == selectAll) {\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').find('li').should('have.length', selectAll);\n }\n }); //Change element arrangement\n cy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('#related_module_list #relatedModule_to').select('Emails', {\n force: true\n }).should('contain', 'Emails');\n for (var i = 0; i < 17; i++) {\n cy.get('#relatedModule_move_up').click({\n force: true\n });\n }\n cy.wait(1000);\n cy.get('#related_module_list > .modal-footer > .btn-create').contains('Save').click({\n force: true\n }); // change plan upgrade\n });\n cy.wait(7000);\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').eq(4).should('contain', 'Emails');\n /*When I click on any of the \n related list options like Email\n Then I should be navigated to that section*/\n cy.get('aside[id=\"mySidenav\"] .nav-wrapper ul li').eq(4).contains('Emails').click({\n force: true\n });\n cy.get('#Emails-subpanel > .card-header > h5').should('have.class', 'related_list_focus');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Check Related List`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `Check Related List`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/04Check_Related_List.spec.js:101:8)","diff":null},"uuid":"e4627d3f-b556-40c8-a947-dcc15e1273a9","parentUUID":"b2907f3f-6618-46dc-af17-f32ce1d26972","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e4627d3f-b556-40c8-a947-dcc15e1273a9"],"pending":[],"skipped":[],"duration":484,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9bb3fcd2-f397-4644-ab1d-e41e5b374d2e","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/05Verify_Terms_of_Service_link.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/05Verify_Terms_of_Service_link.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"25e694a0-c94f-450a-8fd9-e52ddb7a7d38","title":"Terms of Service","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Terms of Service\" link","fullTitle":"Terms of Service Verify \"Terms of Service\" link","timedOut":null,"duration":512,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get('#appflow_popup').trigger('mouseover').then(function () {\n console.log('hello');\n cy.get('span[class=\"mt-1 app-flow-content--item__text\"] a').contains('PaymentsFlow').invoke('removeAttr', 'target').click({\n force: true\n }); // cy.get('')\n});\ncy.url().should('include', 'en/apps/paymentsflow', {\n timeout: 10000\n});\ncy.get(':nth-child(3) > .nav-link > .nav-link-text').click({\n force: true\n});\ncy.url().should('include', '/checkout-pages', {\n timeout: 1000\n});\ncy.get('.card-title').should('contain', 'Designer').click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels', {\n timeout: 10000\n}).click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels-container').within(function () {\n cy.get('.form-group input').eq(2).clear({\n force: true\n }).type('https://www.subscriptionflow.com/terms-and-conditions/', {\n force: true\n });\n cy.get('button').contains('Save Changes').click({\n force: true\n });\n}); // After change\ncy.visit(\"/en/customers\");\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', '/en/public-checkout/', {\n timeout: 10000\n}); //\ncy.get('#sc_pcp-chk-subscribe_el_tos').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', '/terms-and-conditions/', {\n timeout: 10000\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/05Verify_Terms_of_Service_link.spec.js:102:8)","diff":null},"uuid":"c8b62d5a-307b-4048-bd4a-2583ceb434e6","parentUUID":"25e694a0-c94f-450a-8fd9-e52ddb7a7d38","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c8b62d5a-307b-4048-bd4a-2583ceb434e6"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5fa37084-7217-4746-9e29-61ed55e5df2e","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/06Verify_Privacy_Policy_link.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/06Verify_Privacy_Policy_link.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"737fc13c-500c-445b-a236-61f8c8c5cebd","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","timedOut":null,"duration":523,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get('#appflow_popup').trigger('mouseover').then(function () {\n console.log('hello');\n cy.get('span[class=\"mt-1 app-flow-content--item__text\"] a').contains('PaymentsFlow').invoke('removeAttr', 'target').click({\n force: true\n }); // cy.get('')\n});\ncy.url().should('include', 'en/apps/paymentsflow', {\n timeout: 10000\n});\ncy.get(':nth-child(3) > .nav-link > .nav-link-text').click({\n force: true\n});\ncy.url().should('include', '/checkout-pages', {\n timeout: 1000\n});\ncy.get('.card-title').should('contain', 'Designer').click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels', {\n timeout: 10000\n}).click({\n force: true\n});\ncy.get('#tab-pcp-designer-license-labels-container').within(function () {\n cy.get('.form-group input').eq(3).clear({\n force: true\n }).type('https://www.subscriptionflow.com/privacypolicy', {\n force: true\n });\n cy.get('button').contains('Save Changes').click({\n force: true\n });\n}); // After change\ncy.visit(\"/en/customers\");\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', '/en/public-checkout/', {\n timeout: 10000\n}); //\ncy.get('#sc_pcp-chk-subscribe_el_pp').invoke('removeAttr', 'target').click({\n force: true\n});\ncy.url().should('include', 'https://www.subscriptionflow.com/privacypolicy', {\n timeout: 10000\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/06Verify_Privacy_Policy_link.spec.js:102:8)","diff":null},"uuid":"c466e5e8-3891-44a7-adff-d455d50f8a01","parentUUID":"737fc13c-500c-445b-a236-61f8c8c5cebd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c466e5e8-3891-44a7-adff-d455d50f8a01"],"pending":[],"skipped":[],"duration":523,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"45ea9542-ee90-4ce2-a7e6-4941cbc96f74","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/07Verify_SubscriptionFlow_link.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/07Verify_SubscriptionFlow_link.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"612e6d7c-6251-4d23-af4b-db6e4f5f5cc4","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add payment method using public payment method page for credit card using Authorize.net","fullTitle":"Add Payment Method Add payment method using public payment method page for credit card using Authorize.net","timedOut":null,"duration":519,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\naddPublicPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/07Verify_SubscriptionFlow_link.spec.js:107:8)","diff":null},"uuid":"cd45f80d-097e-4e61-858d-a88f09d3b23b","parentUUID":"612e6d7c-6251-4d23-af4b-db6e4f5f5cc4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd45f80d-097e-4e61-858d-a88f09d3b23b"],"pending":[],"skipped":[],"duration":519,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ff3619c5-949e-4738-a91d-c8c079db92ec","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/01Add_Payment_CreditCard_AuthorizeNet_part_1.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/01Add_Payment_CreditCard_AuthorizeNet_part_1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9813ce18-418b-4966-a7e5-7af0f2c7aa84","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add payment method from customer details for credit card using Authorize.Net","fullTitle":"Add Payment Method Add payment method from customer details for credit card using Authorize.Net","timedOut":null,"duration":456,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"testData.forEach(function (testCase) {\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(15000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n });\n function addPaymentMethod() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n });\n cy.wait(3000);\n cy.get('.modal-content h5').contains('Account Holder Information').should('exist');\n cy.get('.modal-content h5').contains('Billing Address Information').should('exist');\n cy.get('.modal-content h5').contains('Account Information').should('exist');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111112');\n cy.get('#expiry_month-input').select('10', {\n force: true\n }).should('have.value', '10');\n cy.get('#expiry_year-input').select('2027', {\n force: true\n }).should('have.value', '2027');\n cy.get('#card_cvv-input').type('abc');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.get('#authorizenet_errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include('Please provide valid credit card number.');\n expect($element.text()).to.include('Please provide valid CVV.');\n });\n cy.get('#card_number-input').clear().type(\"\".concat(testCase.card_no));\n cy.get('#card_cvv-input').clear().type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n var h = 0;\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer th').each(function (heading, index) {\n if (heading.text().includes('Source')) {\n h = '#relatedList-bulk-action-PaymentMethod_Customer [data-sfuniqueid = \"dataTable__table-td-' + (index - 1) + '\"]';\n cy.get(h).first().then(function (source) {\n expect(source.text()).to.contain(\"\".concat(testCase.source));\n });\n }\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 1 of 1 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n }\n function addPaymentMethod2() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111111');\n cy.get('#expiry_month-input').select('01', {\n force: true\n }).should('have.value', '01');\n cy.get('#expiry_year-input').select('2028', {\n force: true\n }).should('have.value', '2028');\n cy.get('#card_cvv-input').type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 2 of 2 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(1).should('not.have.class', 'fa-check');\n cy.wait(5000);\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet_part_1.spec.js:115:8)","diff":null},"uuid":"4a993fcc-e77f-45b4-a710-0832000de722","parentUUID":"9813ce18-418b-4966-a7e5-7af0f2c7aa84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a993fcc-e77f-45b4-a710-0832000de722"],"pending":[],"skipped":[],"duration":456,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42156732-935b-4e98-a020-ddb6c3607ec1","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/01Add_Payment_CreditCard_AuthorizeNet_part_2.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/01Add_Payment_CreditCard_AuthorizeNet_part_2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2698ac45-794e-4edb-8ae3-7c14a6375348","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add payment method from customer details for credit card using Authorize.Net","fullTitle":"Add Payment Method Add payment method from customer details for credit card using Authorize.Net","timedOut":null,"duration":494,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"testData.forEach(function (testCase) {\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(15000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n });\n function addPaymentMethod() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n });\n cy.wait(3000);\n cy.get('.modal-content h5').contains('Account Holder Information').should('exist');\n cy.get('.modal-content h5').contains('Billing Address Information').should('exist');\n cy.get('.modal-content h5').contains('Account Information').should('exist');\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111112');\n cy.get('#expiry_month-input').select('10', {\n force: true\n }).should('have.value', '10');\n cy.get('#expiry_year-input').select('2027', {\n force: true\n }).should('have.value', '2027');\n cy.get('#card_cvv-input').type('abc');\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.get('#authorizenet_errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include('Please provide valid credit card number.');\n expect($element.text()).to.include('Please provide valid CVV.');\n });\n cy.get('#card_number-input').clear().type(\"\".concat(testCase.card_no));\n cy.get('#card_cvv-input').clear().type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n var h = 0;\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer th').each(function (heading, index) {\n if (heading.text().includes('Source')) {\n h = '#relatedList-bulk-action-PaymentMethod_Customer [data-sfuniqueid = \"dataTable__table-td-' + (index - 1) + '\"]';\n cy.get(h).first().then(function (source) {\n expect(source.text()).to.contain(\"\".concat(testCase.source));\n });\n }\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 1 of 1 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n }\n function addPaymentMethod2() {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment-gateway-input').select('Authorize.Net');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get('#card_number-input').type('4111111111111111');\n cy.get('#expiry_month-input').select('01', {\n force: true\n }).should('have.value', '01');\n cy.get('#expiry_year-input').select('2028', {\n force: true\n }).should('have.value', '2028');\n cy.get('#card_cvv-input').type('123');\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.get('#related-table-paymentmethod .recordsCount').eq(0).then(function (count) {\n expect(count.text()).to.include('Showing 1 - 2 of 2 entries');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('have.class', 'fa-check');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(1).should('not.have.class', 'fa-check');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n\nBecause this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `Add Payment Method`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet_part_2.spec.js:115:8)","diff":null},"uuid":"762463ce-86b8-4b6a-9140-f290a727c587","parentUUID":"2698ac45-794e-4edb-8ae3-7c14a6375348","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["762463ce-86b8-4b6a-9140-f290a727c587"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7a359a2c-1d31-4e89-aaee-63c68c282d25","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/01Add_Payment_CreditCard_AuthorizeNet.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/01Add_Payment_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"09320078-939f-4cf2-83a1-71c39d96d22c","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method with Credit Card using Authorize.Net","fullTitle":"Add Payment Method Add Payment Method with Credit Card using Authorize.Net","timedOut":null,"duration":496,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/01Add_Payment_CreditCard_AuthorizeNet.spec.js:101:8)","diff":null},"uuid":"bf5e8906-f930-48f3-a962-51b450bf4707","parentUUID":"09320078-939f-4cf2-83a1-71c39d96d22c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bf5e8906-f930-48f3-a962-51b450bf4707"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4810ea80-e410-485c-b5d0-5082a41087a4","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/02Add_Payment_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/02Add_Payment_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"76b4ba9f-c5b1-457a-a7f4-049f7737bc88","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method with Bank Transfer using Authorize.Net","fullTitle":"Add Payment Method Add Payment Method with Bank Transfer using Authorize.Net","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n cy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/02Add_Payment_BankTransfer_AuthorizeNet.spec.js:101:8)","diff":null},"uuid":"79ec8366-b49f-4840-9157-1fba314deb93","parentUUID":"76b4ba9f-c5b1-457a-a7f4-049f7737bc88","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["79ec8366-b49f-4840-9157-1fba314deb93"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"34625535-6815-4ff1-bcdf-0197e580eecc","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/03Add_10_Authorize.Net_Payment.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/03Add_10_Authorize.Net_Payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c522b972-dc1e-4c5c-84f1-29ea252ace7c","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add 11 Authorize.Net Payment Method and Got error on 11th","fullTitle":"Add Payment Method Add 11 Authorize.Net Payment Method and Got error on 11th","timedOut":null,"duration":535,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n}); //1st\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('370000000000002', {\n force: true\n});\ncy.get('#expiry_month-input').select('03', {\n force: true\n});\ncy.get('#expiry_year-input').select('2024', {\n force: true\n});\ncy.get('#card_cvv-input').type('234'), {\n force: true\n};\ncy.get('#save_button_dis').click({\n force: true\n}); //2nd\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('6011000000000012', {\n force: true\n});\ncy.get('#expiry_month-input').select('04', {\n force: true\n});\ncy.get('#expiry_year-input').select('2023', {\n force: true\n});\ncy.get('#card_cvv-input').type('734', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //3rd\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('38000000000006', {\n force: true\n});\ncy.get('#expiry_month-input').select('02', {\n force: true\n});\ncy.get('#expiry_year-input').select('2025', {\n force: true\n});\ncy.get('#card_cvv-input').type('239', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //4th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('4007000000027', {\n force: true\n});\ncy.get('#expiry_month-input').select('03', {\n force: true\n});\ncy.get('#expiry_year-input').select('2025', {\n force: true\n});\ncy.get('#card_cvv-input').type('434', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //5th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('4012888818888', {\n force: true\n});\ncy.get('#expiry_month-input').select('07', {\n force: true\n});\ncy.get('#expiry_year-input').select('2025', {\n force: true\n});\ncy.get('#card_cvv-input').type('224', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //6th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('4111111111111111', {\n force: true\n});\ncy.get('#expiry_month-input').select('03', {\n force: true\n});\ncy.get('#expiry_year-input').select('2022', {\n force: true\n});\ncy.get('#card_cvv-input').type('232', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //7th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('5424000000000015', {\n force: true\n});\ncy.get('#expiry_month-input').select('09', {\n force: true\n});\ncy.get('#expiry_year-input').select('2024', {\n force: true\n});\ncy.get('#card_cvv-input').type('244', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //8th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('2223000010309703', {\n force: true\n});\ncy.get('#expiry_month-input').select('05', {\n force: true\n});\ncy.get('#expiry_year-input').select('2025', {\n force: true\n});\ncy.get('#card_cvv-input').type('334', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //9th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').first().click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get('#card_number-input').type('2223000010309711', {\n force: true\n});\ncy.get('#expiry_month-input').select('06', {\n force: true\n});\ncy.get('#expiry_year-input').select('2025', {\n force: true\n});\ncy.get('#card_cvv-input').type('284', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); //10th\ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con > .custom_radio_bootstrap_checkmark').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#routing_number-input').type('021000021', {\n force: true\n});\ncy.get('#account_number-input').type('021000043', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n}); // //11th \ncy.wait(8000);\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#select2-billing_city-input-results li').first().click({\n force: true\n});\ncy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con > .custom_radio_bootstrap_checkmark').click({\n force: true\n});\ncy.wait(6000);\ncy.get('#routing_number-input').type('011401533', {\n force: true\n});\ncy.get('#account_number-input').type('021000033', {\n force: true\n});\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#example1 > tbody > :nth-child(1) > :nth-child(5)').should('contain', 'Declined');\ncy.get('tbody > :nth-child(1) > :nth-child(8)').should('contain', 'E00042');\ncy.get('#example1 > tbody > :nth-child(1) > :nth-child(10)').should('contain', 'You cannot add more than {0} payment profiles.');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/03Add_10_Authorize.Net_Payment.spec.js:104:8)","diff":null},"uuid":"5875c610-4f43-471d-a762-aac1a61cfbf3","parentUUID":"c522b972-dc1e-4c5c-84f1-29ea252ace7c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5875c610-4f43-471d-a762-aac1a61cfbf3"],"pending":[],"skipped":[],"duration":535,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd28e22c-4b1c-412a-9a06-9020d5a030b9","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/04Add_Payment_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/04Add_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1c58cd28-25c8-4c39-833d-e50747268393","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method with Credit Card using Stripe","fullTitle":"Add Payment Method Add Payment Method with Credit Card using Stripe","timedOut":null,"duration":507,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/04Add_Payment_CreditCard_Stripe.spec.js:101:8)","diff":null},"uuid":"fe774340-5d48-4f61-a895-f9eea38be2a0","parentUUID":"1c58cd28-25c8-4c39-833d-e50747268393","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fe774340-5d48-4f61-a895-f9eea38be2a0"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5dcae03-b63d-42e8-871f-53f0cc3a64f3","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/05Add_Payment_BankTransfer_Stripe.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/05Add_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9df32f3e-901f-4af8-a299-f412dc4374cf","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method with Bank Transfer using Stripe","fullTitle":"Add Payment Method Add Payment Method with Bank Transfer using Stripe","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/05Add_Payment_BankTransfer_Stripe.spec.js:104:8)","diff":null},"uuid":"55f0c2dd-97c2-44b5-bfb2-086adb3d8225","parentUUID":"9df32f3e-901f-4af8-a299-f412dc4374cf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55f0c2dd-97c2-44b5-bfb2-086adb3d8225"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8223ceea-1489-4510-a180-7b20fc59a723","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/06Add_Payment_GoCardless.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/06Add_Payment_GoCardless.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"792bfd64-38cd-4d64-a348-6cd4cc5c3b6e","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using GoCardless","fullTitle":"Add Payment Method Add Payment Method using GoCardless","timedOut":null,"duration":482,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/06Add_Payment_GoCardless.spec.js:101:8)","diff":null},"uuid":"8b1c04b1-e39e-42ae-b692-dc9103d83e66","parentUUID":"792bfd64-38cd-4d64-a348-6cd4cc5c3b6e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b1c04b1-e39e-42ae-b692-dc9103d83e66"],"pending":[],"skipped":[],"duration":482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d5a2109e-ed0a-4212-91b0-aa71349f97c5","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/07Add_Payment_PayPalExpress.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/07Add_Payment_PayPalExpress.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ac6cc77d-457a-43e8-b5f7-dff8eacc09c0","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using PayPal","fullTitle":"Add Payment Method Add Payment Method using PayPal","timedOut":null,"duration":499,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.reload();\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/07Add_Payment_PayPalExpress.spec.js:101:8)","diff":null},"uuid":"bee8f66c-d8ce-4ae9-8a8b-747ed82b3589","parentUUID":"ac6cc77d-457a-43e8-b5f7-dff8eacc09c0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bee8f66c-d8ce-4ae9-8a8b-747ed82b3589"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bc449fc8-7364-49c8-8076-c79e4404f5fb","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/08Add_Payment_Uncheck_Default.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/08Add_Payment_Uncheck_Default.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"edf192f3-572d-434d-b1c9-7333b2049895","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method and uncheck default","fullTitle":"Add Payment Method Add Payment Method and uncheck default","timedOut":null,"duration":485,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('1');\n });\n addPaymentMethod2();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('2');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('not.have.class', 'fa-check');\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('1');\n });\n addPaymentMethod2();\n cy.get('#related-table-paymentmethod .sf-pagination-wrapper span.bold').eq(0).then(function (count) {\n expect(count.text()).to.eq('2');\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td svg').eq(0).should('not.have.class', 'fa-check');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/08Add_Payment_Uncheck_Default.spec.js:101:8)","diff":null},"uuid":"f714a66d-f18b-4be4-86f0-64cf3f34f077","parentUUID":"edf192f3-572d-434d-b1c9-7333b2049895","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f714a66d-f18b-4be4-86f0-64cf3f34f077"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f8132c88-dbb5-4e99-ad1f-9c4b7d1eabca","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/09Cancel_Add_Payment.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/09Cancel_Add_Payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"72da3c34-8caf-4c19-8834-3ec1e6bce49c","title":"Cancel Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Cancel Add Payment method","fullTitle":"Cancel Add Payment Method Cancel Add Payment method","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/09Cancel_Add_Payment.spec.js:101:8)","diff":null},"uuid":"30a9a808-d3ed-458e-9a6e-b2467f1d0af4","parentUUID":"72da3c34-8caf-4c19-8834-3ec1e6bce49c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30a9a808-d3ed-458e-9a6e-b2467f1d0af4"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"97673da2-cf56-4537-88d6-39ac79f5ca46","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/11Add_Payment_method_for_incorrect_number_using_Stripe.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/11Add_Payment_method_for_incorrect_number_using_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f591cd68-07cd-48fe-8bea-1112daca1ecc","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment method for incorrect card number using Stripe","fullTitle":"Add Payment Method Add Payment method for incorrect card number using Stripe","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con').contains('ACH').should('exist');\n cy.get('.modal-content h5').contains('Credit Card').should('exist');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424241');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('427');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('337');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77777');\n });\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardBrandIcon-container').find('svg[focusable=\"false\"]').should('exist');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).should('have.class', 'is-invalid');\n });\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(1000);\n cy.get('#card-errors').should('contain', 'Your card number is invalid.');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/11Add_Payment_method_for_incorrect_number_using_Stripe.spec.js:101:8)","diff":null},"uuid":"33d34dc1-ccdd-4c84-9203-48c5c8c22742","parentUUID":"f591cd68-07cd-48fe-8bea-1112daca1ecc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["33d34dc1-ccdd-4c84-9203-48c5c8c22742"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"efa814d7-d64f-406a-908f-66582b638403","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/12Edit_Payment_Method.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/12Edit_Payment_Method.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8b225952-82f2-45e3-9bed-22ede741caba","title":"Edit Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit payment method from customer’s details page using Stripe","fullTitle":"Edit Payment Method Edit payment method from customer’s details page using Stripe","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('527');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('357');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77773');\n });\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment_api_information > :nth-child(1) > .form-group > label').should('exist');\n cy.get('#payment_api_information > :nth-child(2) > .form-group > label').should('exist');\n cy.get('#first_name-input').clear({\n force: true\n }).type('Scott', {\n force: true\n });\n cy.get('#email-input').clear({\n force: true\n }).type('scott@mail.com', {\n force: true\n });\n cy.wait(1000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000); //Open modal and check values\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#first_name-input').should('have.value', 'Scott');\n cy.get('#email-input').should('have.value', 'scott@mail.com'); //Uncheck\n cy.get('.modal-footer > :nth-child(2) > :nth-child(1) #status-input').uncheck({\n force: true\n });\n cy.get('.modal-footer > :nth-child(2) > :nth-child(2) #default_payment_method').uncheck({\n force: true\n }); //After uncheck\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(7000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(5)').should('contain', 'Inactive');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(6)').should('not.have.class', 'fa-check');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/12Edit_Payment_Method.spec.js:104:8)","diff":null},"uuid":"7b2a9809-a639-493c-8c1b-cb63bf423c44","parentUUID":"8b225952-82f2-45e3-9bed-22ede741caba","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7b2a9809-a639-493c-8c1b-cb63bf423c44"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6ea1beab-a5ca-4f5a-830d-de7ddd04b8df","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/14Add_Payment_method_for_incorrect_number_using_Stripe.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/14Add_Payment_method_for_incorrect_number_using_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cccbd201-80f8-4b90-a83d-a6c616cd225a","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment method for incorrect card number using Stripe","fullTitle":"Add Payment Method Add Payment method for incorrect card number using Stripe","timedOut":null,"duration":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(1) > .custom_radio_bootstrap_con').contains('ACH').should('exist');\n cy.get('.modal-content h5').contains('Credit Card').should('exist');\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').should('have.class', 'custom_radio_bootstrap_checkmark').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424241');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('427');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('337');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77777');\n });\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardBrandIcon-container').find('svg[focusable=\"false\"]').should('exist');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).should('have.class', 'is-invalid');\n });\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(1000);\n cy.get('#card-errors').should('contain', 'Your card number is invalid.');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/14Add_Payment_method_for_incorrect_number_using_Stripe.spec.js:102:8)","diff":null},"uuid":"810b050c-7252-4a17-bdb1-5a367cbcdb9a","parentUUID":"cccbd201-80f8-4b90-a83d-a6c616cd225a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["810b050c-7252-4a17-bdb1-5a367cbcdb9a"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5ff007c8-a91d-49c3-813b-cd026a9a798d","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/16Add_Payment_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/16Add_Payment_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d050e383-d41a-420e-85fd-73f9db3e7f6b","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method with Bank Transfer using Authorize.Net","fullTitle":"Add Payment Method Add Payment Method with Bank Transfer using Authorize.Net","timedOut":null,"duration":485,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n cy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n addPaymentMethod2();\n } else {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n addPaymentMethod();\n addPaymentMethod2();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/16Add_Payment_BankTransfer_AuthorizeNet.spec.js:102:8)","diff":null},"uuid":"a7a22854-d14a-4eb6-9e81-15a4193ec9de","parentUUID":"d050e383-d41a-420e-85fd-73f9db3e7f6b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a7a22854-d14a-4eb6-9e81-15a4193ec9de"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"24ef812a-7d0a-4f6d-8543-df2b53e5c289","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/20Edit_Payment_Method.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Payment Method/20Edit_Payment_Method.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d4527703-c41f-4a6a-90d0-eb9d1ae14ea7","title":"Edit Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit payment method from customer’s details page using Stripe","fullTitle":"Edit Payment Method Edit payment method from customer’s details page using Stripe","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.modal-content label').contains('Payment Method').should('exist');\n cy.get('#payment-gateway-input').select('Stripe');\n cy.wait(3000);\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(5000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(5000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-billing_city-input-results li').first().click({\n force: true\n });\n cy.get(':nth-child(1) > fieldset.col-12 > :nth-child(2) > .custom_radio_bootstrap_con span').click({\n force: true\n });\n cy.wait(3000);\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('527');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('357');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('77773');\n });\n cy.wait(3000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#payment_api_information > :nth-child(1) > .form-group > label').should('exist');\n cy.get('#payment_api_information > :nth-child(2) > .form-group > label').should('exist');\n cy.get('#first_name-input').clear({\n force: true\n }).type('Scott', {\n force: true\n });\n cy.get('#email-input').clear({\n force: true\n }).type('scott@mail.com', {\n force: true\n });\n cy.wait(1000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(10000); //Open modal and check values\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) a').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#first_name-input').should('have.value', 'Scott');\n cy.get('#email-input').should('have.value', 'scott@mail.com'); //Uncheck\n cy.get('.modal-footer > :nth-child(2) > :nth-child(1) #status-input').uncheck({\n force: true\n });\n cy.get('.modal-footer > :nth-child(2) > :nth-child(2) #default_payment_method').uncheck({\n force: true\n }); //After uncheck\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#center-modal > .modal-dialog > .modal-content > .modal-header > .close').click({\n force: true\n });\n cy.wait(7000);\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(5)').should('contain', 'Inactive');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer #example1 > tbody > tr > :nth-child(6)').should('not.have.class', 'fa-check');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/20Edit_Payment_Method.spec.js:101:8)","diff":null},"uuid":"760e17e8-de86-4f07-8e74-2b92b6e0c6ce","parentUUID":"d4527703-c41f-4a6a-90d0-eb9d1ae14ea7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["760e17e8-de86-4f07-8e74-2b92b6e0c6ce"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d9acbc8-07a7-41ac-a4c3-a1b7c7bda095","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/01Add_Public_Payment_Creditcard_Authorizenet.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/01Add_Public_Payment_Creditcard_Authorizenet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2f00769d-8a01-409f-aa44-9afe4ca40efc","title":"Add payment method using public payment method page for credit card using Authorize.Net","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add cardit card for Authorize.Net Payment Method using Add Public Payment method","fullTitle":"Add payment method using public payment method page for credit card using Authorize.Net Add cardit card for Authorize.Net Payment Method using Add Public Payment method","timedOut":null,"duration":507,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_credit-card-tab').click({\n force: true\n});\ncy.get('#paymentInformationCard__cardNumber').type('4111111111111112');\ncy.get('#paymentInformationCard__expiryMonth').select('01', {\n force: true\n}).should('have.value', '01');\ncy.get('#paymentInformationCard__expiryYear').select('2021', {\n force: true\n}).should('have.value', '2021');\ncy.get('#paymentInformationCard__Cvv').type('12', {\n force: true\n}).should('have.value', '12');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include('Please provide valid credit card number.');\n expect($element.text()).to.include('Please provide valid CVV.');\n});\ncy.get('#paymentInformationCard__cardNumber').clear().type('4111111111111111');\ncy.get('#paymentInformationCard__expiryYear').select('2027', {\n force: true\n}).should('have.value', '2027');\ncy.get('#paymentInformationCard__Cvv').clear().type('667');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n}); // cy.get('label[for=\"termsAndConditions\"]').click({force:true})\ncy.wait(20000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/01Add_Public_Payment_Creditcard_Authorizenet.spec.js:101:8)","diff":null},"uuid":"df73852d-7eb2-4a69-96dc-483ddf6ddfaa","parentUUID":"2f00769d-8a01-409f-aa44-9afe4ca40efc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df73852d-7eb2-4a69-96dc-483ddf6ddfaa"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"24995390-a87c-4d1a-9c5d-84685880de12","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/02Add_Public_Payment_BankTransfer_Authorizenet.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/02Add_Public_Payment_BankTransfer_Authorizenet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7e240778-cb8b-4b21-8d58-c6f5efbffd0c","title":"Add payment method using public payment method page for ACH using Authorize.Net","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add ACH for Authorize.Net Payment Method using Add Public Payment method","fullTitle":"Add payment method using public payment method page for ACH using Authorize.Net Add ACH for Authorize.Net Payment Method using Add Public Payment method","timedOut":null,"duration":514,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_ach-tab').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_pcp-chk-subscribe_el_btn').dblclick({\n force: true\n});\ncy.wait(10000);\ncy.get('#ach-errors').contains('Please provide valid account number.').should('be.visible');\ncy.get('#paymentInformationBank__accountNumber').type('111111111');\ncy.get('#paymentInformationBank__routingNumber').type('021000021');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/02Add_Public_Payment_BankTransfer_Authorizenet.spec.js:104:8)","diff":null},"uuid":"7152314d-c5f2-485f-a5dd-d60f963609be","parentUUID":"7e240778-cb8b-4b21-8d58-c6f5efbffd0c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7152314d-c5f2-485f-a5dd-d60f963609be"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d8ec9328-7f25-4444-87b7-2ac9ba67aba1","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5ac772bf-f1a7-4520-80bb-0760fa66bc4d","title":"Add payment method using public payment method page for credit card using Stripe","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add cardit card for Stripe Payment Method using Add Public Payment method","fullTitle":"Add payment method using public payment method page for credit card using Stripe Add cardit card for Stripe Payment Method using Add Public Payment method","timedOut":null,"duration":518,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_credit-card-tab').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).type('420');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).type('42');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).type('777');\n});\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and(function ($element) {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/04Add_Public_Payment_CreditCard_Stripe.spec.js:101:8)","diff":null},"uuid":"fc1c8633-28f2-4505-afe8-96b5576cf5be","parentUUID":"5ac772bf-f1a7-4520-80bb-0760fa66bc4d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fc1c8633-28f2-4505-afe8-96b5576cf5be"],"pending":[],"skipped":[],"duration":518,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3be48f9a-813f-4145-b69e-df294320836a","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"dc5b56f2-8a44-4121-ba3b-331851d03c33","title":"Add payment method using public payment method page for ACH using stripe","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add ACH for stripe Payment Method using Add Public Payment method","fullTitle":"Add payment method using public payment method page for ACH using stripe Add ACH for stripe Payment Method using Add Public Payment method","timedOut":null,"duration":583,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_pcp-chk-payment_ach-tab').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#ach-errors').contains('* Please enter correct routing number').should('be.visible');\ncy.get('#paymentInformationBank__accountNumber').type('0001234567');\ncy.get('#paymentInformationBank__routingNumber').type('1100000');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#ach-errors').contains('* Please enter correct routing number').should('be.visible');\ncy.get('#paymentInformationBank__accountNumber').clear().type('000123456789');\ncy.get('#paymentInformationBank__routingNumber').clear().type('110000000');\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);\ncy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js:101:8)","diff":null},"uuid":"28d2344a-627c-45b7-944e-9a172e3a2b51","parentUUID":"dc5b56f2-8a44-4121-ba3b-331851d03c33","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["28d2344a-627c-45b7-944e-9a172e3a2b51"],"pending":[],"skipped":[],"duration":583,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c4fd0ea2-46d5-4cdf-ac83-f3ce162a8501","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/07Add_Public_Payment_PayPalExpress.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Add Public Payment Method/07Add_Public_Payment_PayPalExpress.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"253efbf6-83a0-407e-9a3b-c4c77bfe0e89","title":"Add payment method using public payment method page for using PayPal Express Checkout","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add PayPal Express Checkout Payment Method using Add Public Payment method","fullTitle":"Add payment method using public payment method page for using PayPal Express Checkout Add PayPal Express Checkout Payment Method using Add Public Payment method","timedOut":null,"duration":509,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-paypal.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n }\n});\ncy.get('#PaymentMethod-subpanel .pull-right a').contains('Public Payment Method Page').then(function ($ele) {\n var href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pcp-chk-billing-addr_lbl-billing-addr').contains('Address').should('exist');\ncy.get('#sc_pcp-chk-payment_lbl-payment-info').contains('Payment Information').should('exist');\ncy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Andy');\ncy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('Barymore');\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type('andy');\ncy.get('#sc_pcp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pcp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#termsAndConditions').click({\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.row h5').contains('* Please enter a valid email address').should('be.visible');\nvar rand = userID_Alpha_Numeric();\ncy.get('#sc_pcp-chk-acc-info_inp-email-el').type(rand + '@mail.com', {\n force: true\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(18000);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Public%20Payment%20Method/07Add_Public_Payment_PayPalExpress.spec.js:101:8)","diff":null},"uuid":"8d8d2d54-faa8-4b10-8da2-d7e7aa1960c8","parentUUID":"253efbf6-83a0-407e-9a3b-c4c77bfe0e89","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8d8d2d54-faa8-4b10-8da2-d7e7aa1960c8"],"pending":[],"skipped":[],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"920d3c5a-bb98-4c59-a791-daafbabe6954","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/01Allocate_Existing_Credits.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/01Allocate_Existing_Credits.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6d99b83b-7611-4225-ba31-ddc2a5fe27ff","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits a transaction should be made","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate credits a transaction should be made","timedOut":null,"duration":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('.row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(10000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(15000);\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.get('.btn-group > .btn').click({\n force: true\n});\ncy.get('[href=\"https://awais.subscriptionflow.com/en/invoices/process-payment/5e191737-d0df-45db-bfee-175c4f5ef640\"]').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.col > :nth-child(1) > h5').contains('Basic Information').should('be.visible'); // cy.get('.card-header').contains('Apply Payment').should('be.visible')\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/01Allocate_Existing_Credits.spec.js:104:8)","diff":null},"uuid":"7da251b3-4806-4145-bfb8-c00f5a96d4c3","parentUUID":"6d99b83b-7611-4225-ba31-ddc2a5fe27ff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7da251b3-4806-4145-bfb8-c00f5a96d4c3"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4534e4fe-e8bf-4fcf-8a5e-aebd0b829d59","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/02Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/02Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"262fc66c-294b-495d-8f0d-201400beba96","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate amount greater than credit note balance it should give an error","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate amount greater than credit note balance it should give an error","timedOut":null,"duration":509,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains(\"Digital Magazine\").click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(20000);\ncy.reload();\nallocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/02Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js:104:8)","diff":null},"uuid":"40d3d73c-5d31-47e9-b037-0bf7c19f10cd","parentUUID":"262fc66c-294b-495d-8f0d-201400beba96","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["40d3d73c-5d31-47e9-b037-0bf7c19f10cd"],"pending":[],"skipped":[],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31adb1c2-01fd-4824-8aa2-7ab50eeddd26","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/03Allocate_Existing_Credits_Amt_Lt_Balance.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/03Allocate_Existing_Credits_Amt_Lt_Balance.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bba791bb-e78c-4a81-a232-2f0e489bc31a","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate amount less than credit note balance it should create transaction","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate amount less than credit note balance it should create transaction","timedOut":null,"duration":501,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/03Allocate_Existing_Credits_Amt_Lt_Balance.spec.js:104:8)","diff":null},"uuid":"14049660-2468-4e7b-a96d-70fc799b4291","parentUUID":"bba791bb-e78c-4a81-a232-2f0e489bc31a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["14049660-2468-4e7b-a96d-70fc799b4291"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cb7b3cca-111d-498e-85aa-6cce8d726ba8","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/04Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/04Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aaa4922a-2fd4-4379-8dfe-a731dc7acc17","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate amount greater than invoice outstanding balance it should give an error","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate amount greater than invoice outstanding balance it should give an error","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\nallocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/04Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js:104:8)","diff":null},"uuid":"c91a53f9-155c-45f9-bb8a-63171c59cc43","parentUUID":"aaa4922a-2fd4-4379-8dfe-a731dc7acc17","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c91a53f9-155c-45f9-bb8a-63171c59cc43"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9187525b-0ed7-46bb-92d8-7023e9889607","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/05Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/05Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"94caf33e-9a48-4670-9647-6ff818259983","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate amount less than invoice outstanding balance","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate amount less than invoice outstanding balance","timedOut":null,"duration":512,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/05Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js:104:8)","diff":null},"uuid":"5c6d7c4b-58d9-41fa-abbe-816ea0dbe865","parentUUID":"94caf33e-9a48-4670-9647-6ff818259983","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5c6d7c4b-58d9-41fa-abbe-816ea0dbe865"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6ad3f820-3ff7-466d-b120-5beca7277697","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/06Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/06Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0f26a811-f665-47fc-87ce-1e791198e30b","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate amount equal to invoice outstanding balance","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate amount equal to invoice outstanding balance","timedOut":null,"duration":527,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/06Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js:104:8)","diff":null},"uuid":"bf14562f-27d9-46a1-ab79-00ae4f814ada","parentUUID":"0f26a811-f665-47fc-87ce-1e791198e30b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bf14562f-27d9-46a1-ab79-00ae4f814ada"],"pending":[],"skipped":[],"duration":527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a7b128c9-90be-4c4c-a5d0-2ca930e917f0","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/07Allocate_Existing_Credits_Multiple_Invoices.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/07Allocate_Existing_Credits_Multiple_Invoices.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fd31d570-091c-4bca-86e7-c1aea95b13b4","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate amount to multiple invoices it should change their status to paid/partially paid","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate amount to multiple invoices it should change their status to paid/partially paid","timedOut":null,"duration":516,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(5000);\ncy.get('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').contains('Process Payment').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.card-header').contains('Basic Information').should('be.visible');\ncy.get('.card-header').contains('Apply Payment').should('be.visible');\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/07Allocate_Existing_Credits_Multiple_Invoices.spec.js:104:8)","diff":null},"uuid":"e0d6f937-777f-449c-8987-8d8aededcb86","parentUUID":"fd31d570-091c-4bca-86e7-c1aea95b13b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0d6f937-777f-449c-8987-8d8aededcb86"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"68ccbf3b-c774-4ab8-898a-87b0a2a2375e","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/08Create_And_Allocate_Credits.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/08Create_And_Allocate_Credits.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5e0d8e40-9a89-499e-aaf5-30031850eb69","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits equal to credit balance, a transaction should be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits equal to credit balance, a transaction should be made","timedOut":null,"duration":517,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n cy.log(trans1);\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/08Create_And_Allocate_Credits.spec.js:104:8)","diff":null},"uuid":"8be543cb-4965-4f6b-9b69-eaac74cde78d","parentUUID":"5e0d8e40-9a89-499e-aaf5-30031850eb69","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8be543cb-4965-4f6b-9b69-eaac74cde78d"],"pending":[],"skipped":[],"duration":517,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb4cd3ca-f3b7-479d-beb8-df203c19ed3b","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/09Create_And_Allocate_Balance_Gtr_Allocated.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/09Create_And_Allocate_Balance_Gtr_Allocated.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"70f7b52d-aed0-4be6-b3b2-a76015baa8e9","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits less than credit balance, a transaction should be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits less than credit balance, a transaction should be made","timedOut":null,"duration":504,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/09Create_And_Allocate_Balance_Gtr_Allocated.spec.js:104:8)","diff":null},"uuid":"6dbeb00b-9e91-4711-b900-f6e8e98312da","parentUUID":"70f7b52d-aed0-4be6-b3b2-a76015baa8e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6dbeb00b-9e91-4711-b900-f6e8e98312da"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a6b16c54-39d2-426a-922a-90540f1c3f65","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/10Create_And_Allocate_Balance_Lt_Allocated.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/10Create_And_Allocate_Balance_Lt_Allocated.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"25070141-0ee3-4f71-bfb3-9e8466827e94","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits more than credit balance, a transaction should not be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits more than credit balance, a transaction should not be made","timedOut":null,"duration":476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('.related-list > .nav-link').trigger('mouseover').then(function () {\n cy.get('.related-list [data-toggle=\"modal\"] .fas.fa-cog').click({\n force: true,\n multiple: true\n });\n});\ncy.wait(5000);\ncy.get('#relatedModule_rightAll').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n});\ncy.wait(5000);\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\nallocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/10Create_And_Allocate_Balance_Lt_Allocated.spec.js:104:8)","diff":null},"uuid":"29abc501-7a63-4a09-9573-5233e423ef04","parentUUID":"25070141-0ee3-4f71-bfb3-9e8466827e94","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29abc501-7a63-4a09-9573-5233e423ef04"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"912f4414-2785-4f45-a9c0-cfce5a898900","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/11Create_And_Allocate_Balance_Gtr_Outstanding.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/11Create_And_Allocate_Balance_Gtr_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ba0ae14f-d996-480b-b959-af750b2d7ba2","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits more than outstanding balance, a transaction should not be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits more than outstanding balance, a transaction should not be made","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\nallocateCredits();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/11Create_And_Allocate_Balance_Gtr_Outstanding.spec.js:104:8)","diff":null},"uuid":"7975860f-af0f-4fef-b872-837fa8cbd7c0","parentUUID":"ba0ae14f-d996-480b-b959-af750b2d7ba2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7975860f-af0f-4fef-b872-837fa8cbd7c0"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f13c6dfa-cf1e-4160-bbc1-3abb874a1678","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/12Create_And_Allocate_Balance_Lt_Outstanding.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/12Create_And_Allocate_Balance_Lt_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"235d2621-a8e8-4a45-8a38-963c71758bb5","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits less than outstanding balance, a transaction should be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits less than outstanding balance, a transaction should be made","timedOut":null,"duration":522,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/12Create_And_Allocate_Balance_Lt_Outstanding.spec.js:104:8)","diff":null},"uuid":"a91adaa8-4e4e-4e2d-a99c-d8a199fbeda6","parentUUID":"235d2621-a8e8-4a45-8a38-963c71758bb5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a91adaa8-4e4e-4e2d-a99c-d8a199fbeda6"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a71e2b8-e88e-4a24-9bc3-a7c729e50c1d","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/13Create_And_Allocate_Balance_Eq_Outstanding.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/13Create_And_Allocate_Balance_Eq_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aac48096-1669-48a8-a292-6198c49626d8","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits equal to outstanding balance, a transaction should be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits equal to outstanding balance, a transaction should be made","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/13Create_And_Allocate_Balance_Eq_Outstanding.spec.js:104:8)","diff":null},"uuid":"741e94b4-803c-4320-bfce-50b4474acad4","parentUUID":"aac48096-1669-48a8-a292-6198c49626d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["741e94b4-803c-4320-bfce-50b4474acad4"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cbea4805-933a-4feb-906d-d2605795e69e","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/14Create_And_Allocate_Multiple_Invoices.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/14Create_And_Allocate_Multiple_Invoices.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6c2b0545-0698-4870-b417-de23987ebfb8","title":"Create and Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits to multiple invoices, multiple transactions should be made","fullTitle":"Create and Allocate Credit Notes When I allocate credits to multiple invoices, multiple transactions should be made","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/14Create_And_Allocate_Multiple_Invoices.spec.js:104:8)","diff":null},"uuid":"8a1511ac-50b1-4466-ad8b-64ba3d5624f5","parentUUID":"6c2b0545-0698-4870-b417-de23987ebfb8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8a1511ac-50b1-4466-ad8b-64ba3d5624f5"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"400c32e9-1678-4f23-b32e-8b8f15cdd0b7","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/15Create_And_Dont_Allocate.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Credit Notes/15Create_And_Dont_Allocate.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a58188f4-4288-49ba-a5f8-f5894df7cf40","title":"Create and Dont Allocate Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I dont allocate credit to any invoice, no transaction should be made","fullTitle":"Create and Dont Allocate Credit Notes When I dont allocate credit to any invoice, no transaction should be made","timedOut":null,"duration":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/15Create_And_Dont_Allocate.spec.js:104:8)","diff":null},"uuid":"450e61fd-5c61-4a3b-a0e1-5b80fe8361d5","parentUUID":"a58188f4-4288-49ba-a5f8-f5894df7cf40","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["450e61fd-5c61-4a3b-a0e1-5b80fe8361d5"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"118cb51d-bf88-4bf4-adfe-6d72549452ba","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/01Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/01Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5c000d37-94de-4a50-980e-5808de9f835c","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through cash & the amount entered is equal to the total amount of invoices selected","fullTitle":"Process Payment Make payment through cash & the amount entered is equal to the total amount of invoices selected","timedOut":null,"duration":472,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/01Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js:104:8)","diff":null},"uuid":"e74df0eb-6e54-433d-9a68-6b59391f379e","parentUUID":"5c000d37-94de-4a50-980e-5808de9f835c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e74df0eb-6e54-433d-9a68-6b59391f379e"],"pending":[],"skipped":[],"duration":472,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6ea2fe18-ddba-4b15-94d3-11279db7cd36","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/02Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/02Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"225c60a2-c26e-4510-8403-385cb7c87ebd","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through cash & the amount entered is greater than the total amount of invoices selected","fullTitle":"Process Payment Make payment through cash & the amount entered is greater than the total amount of invoices selected","timedOut":null,"duration":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(30, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 30) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 30) {\n newbal = 30;\n status = \"Partially Paid\";\n } else {\n newbal = 30;\n status = \"Paid\";\n }\n cy.get('#receive_amount').clear({\n force: true\n }).type(40, {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(40 - newbal);\n });\n return false;\n }\n i++;\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/02Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js:104:8)","diff":null},"uuid":"79a9e3f0-de22-426c-aefa-17a5cf1768e3","parentUUID":"225c60a2-c26e-4510-8403-385cb7c87ebd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["79a9e3f0-de22-426c-aefa-17a5cf1768e3"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"653e3c38-8a0e-4b45-9aea-25570f7cdb64","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/03Process_Payment_Cheque_Status_Paid.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/03Process_Payment_Cheque_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d65bec5b-2ac1-4917-97a3-45f77d68906d","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cheque with Status equal to Paid","fullTitle":"Process Payment Make payment through Cheque with Status equal to Paid","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Cheque', {\n force: true\n });\n cy.get('#status_pay-input').select('Paid', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/03Process_Payment_Cheque_Status_Paid.spec.js:104:8)","diff":null},"uuid":"80127211-ee67-4072-bcd9-06b0f6f005f3","parentUUID":"d65bec5b-2ac1-4917-97a3-45f77d68906d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80127211-ee67-4072-bcd9-06b0f6f005f3"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5a6fdda7-b85c-47db-84dd-d11a7e9511d6","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/04Process_Payment_Cheque_Status_Approve_Pending.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/04Process_Payment_Cheque_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"145d4f2f-316f-46ea-9db9-4504dda212d6","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cheque with Status equal to Pending and I Approve","fullTitle":"Process Payment Make payment through Cheque with Status equal to Pending and I Approve","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Cheque', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n });\n cy.wait(5000);\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/04Process_Payment_Cheque_Status_Approve_Pending.spec.js:104:8)","diff":null},"uuid":"6f83a0a7-7a43-4da8-b0f9-0796cc7d3275","parentUUID":"145d4f2f-316f-46ea-9db9-4504dda212d6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6f83a0a7-7a43-4da8-b0f9-0796cc7d3275"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f14d7fe5-b86c-4f68-ae74-736d3f8c6800","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/05Process_Payment_Cheque_Status_Decline_Pending.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/05Process_Payment_Cheque_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e3be4708-32dd-41ee-ba80-606ba15e2f59","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cheque with Status equal to Pending and I Decline","fullTitle":"Process Payment Make payment through Cheque with Status equal to Pending and I Decline","timedOut":null,"duration":549,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#cash_or_card-input').select('Cheque', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Declined');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/05Process_Payment_Cheque_Status_Decline_Pending.spec.js:104:8)","diff":null},"uuid":"81d5d22a-3106-47ea-b129-110ff5c6a3ea","parentUUID":"e3be4708-32dd-41ee-ba80-606ba15e2f59","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["81d5d22a-3106-47ea-b129-110ff5c6a3ea"],"pending":[],"skipped":[],"duration":549,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2fb29823-468d-475a-8e1d-19d43b8c1496","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/06Process_Payment_BankTransfer.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/06Process_Payment_BankTransfer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"32b85a46-f84b-4de8-a7e4-bd043fee2e77","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Bank Transfer","fullTitle":"Process Payment Make payment through Bank Transfer","timedOut":null,"duration":542,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Bank Transfer', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Unapplied Amount')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/06Process_Payment_BankTransfer.spec.js:104:8)","diff":null},"uuid":"77f363e6-52b3-44b4-aae1-7cf8c7d9958e","parentUUID":"32b85a46-f84b-4de8-a7e4-bd043fee2e77","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["77f363e6-52b3-44b4-aae1-7cf8c7d9958e"],"pending":[],"skipped":[],"duration":542,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc5566ee-8ff8-4f6f-9bf1-74f9e94503a9","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/07Cancel_Process_Payment.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/07Cancel_Process_Payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"281fa898-31e7-4f32-83f4-a43d5b9c75bd","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through cash & the amount entered is equal to the total amount of invoices selected","fullTitle":"Process Payment Make payment through cash & the amount entered is equal to the total amount of invoices selected","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n }).then(function () {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('a').contains('Cancel').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n expect(parseInt(transaction1.text())).to.eq(parseInt(transaction2.text()));\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/07Cancel_Process_Payment.spec.js:104:8)","diff":null},"uuid":"7ee6b3ec-9e22-4c36-967b-385ce7878a03","parentUUID":"281fa898-31e7-4f32-83f4-a43d5b9c75bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7ee6b3ec-9e22-4c36-967b-385ce7878a03"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"62f2587d-a871-4c1c-adb5-5ad6acee7702","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/08Process_Payment_Wire_Status_Paid.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/08Process_Payment_Wire_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"eb4a72d3-a686-4bd8-86c6-f8f11ab349e3","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Wire with Status equal to Paid","fullTitle":"Process Payment Make payment through Wire with Status equal to Paid","timedOut":null,"duration":501,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Wire', {\n force: true\n });\n cy.get('#status_pay-input').select('Paid', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/08Process_Payment_Wire_Status_Paid.spec.js:104:8)","diff":null},"uuid":"ed9c9835-654f-462d-8948-3a047dde011f","parentUUID":"eb4a72d3-a686-4bd8-86c6-f8f11ab349e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ed9c9835-654f-462d-8948-3a047dde011f"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8b8cdb6-f627-43e9-aa47-4f122d36df6b","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/09Process_Payment_Wire_Status_Approve_Pending.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/09Process_Payment_Wire_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ebf18818-fbc4-487a-9935-63071d3d2f36","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Wire with Status equal to Pending and I Approve","fullTitle":"Process Payment Make payment through Wire with Status equal to Pending and I Approve","timedOut":null,"duration":496,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('Wire', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/09Process_Payment_Wire_Status_Approve_Pending.spec.js:104:8)","diff":null},"uuid":"ca725a68-b2db-4765-a60d-bcfba332274e","parentUUID":"ebf18818-fbc4-487a-9935-63071d3d2f36","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca725a68-b2db-4765-a60d-bcfba332274e"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"db0ad103-d48d-48c3-a345-5c7d92447563","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/10Process_Payment_Wire_Status_Decline_Pending.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/10Process_Payment_Wire_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"99b32ef9-76ac-4472-a544-3db1a449d337","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Wire with Status equal to Pending and I Decline","fullTitle":"Process Payment Make payment through Wire with Status equal to Pending and I Decline","timedOut":null,"duration":514,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#cash_or_card-input').select('Wire', {\n force: true\n });\n cy.get('#status_pay-input').select('Pending', {\n force: true\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Declined');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/10Process_Payment_Wire_Status_Decline_Pending.spec.js:104:8)","diff":null},"uuid":"3a365ec8-4fa9-43fe-ba7a-0eb576ec7e8d","parentUUID":"99b32ef9-76ac-4472-a544-3db1a449d337","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a365ec8-4fa9-43fe-ba7a-0eb576ec7e8d"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"30a7f58c-79e8-427c-a71c-e93e42834fc4","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/11Process_Payment_Card.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/11Process_Payment_Card.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0aeaf1f7-cb93-4917-83ce-0b65d6ad8fb4","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":494,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.wait(5000);\n cy.get('#cash_or_card-input').select('Card', {\n force: true\n });\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('.form-group > .btn-create').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal > .modal-dialog > .modal-content > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(12000); // cy.reload()\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/11Process_Payment_Card.spec.js:104:8)","diff":null},"uuid":"c10ede11-44e9-40f0-bc39-feb63eb5de61","parentUUID":"0aeaf1f7-cb93-4917-83ce-0b65d6ad8fb4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c10ede11-44e9-40f0-bc39-feb63eb5de61"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"03b46d38-9b90-4e84-b0d7-37c4af49effc","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/12Process_Payment_eCheck.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/12Process_Payment_eCheck.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ba6acb3f-4400-4e6e-8004-750b039963e9","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","timedOut":null,"duration":476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('eCheck', {\n force: true\n });\n cy.wait(10000);\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n cy.get('#payment_method_id-input').select(option.val());\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('#account_code_select').select('Suspense (250)');\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(25000);\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (bal - newbal); // var ClosingBalance1 = OpeningBalance + (bal);\n console.log('ClosingBalance1: ' + ClosingBalance1);\n console.log('OpeningBalance: ' + OpeningBalance);\n console.log('bal: ' + bal);\n console.log('newbal: ' + newbal);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n });\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/12Process_Payment_eCheck.spec.js:104:8)","diff":null},"uuid":"ce541bf2-8032-4cf8-b1aa-0dda3d3b6bf4","parentUUID":"ba6acb3f-4400-4e6e-8004-750b039963e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ce541bf2-8032-4cf8-b1aa-0dda3d3b6bf4"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"965f0784-e2fc-4e21-a1fa-cd99245fa62d","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/13Process_Payment_PayPal_Approve.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/13Process_Payment_PayPal_Approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c1730bae-21a1-45db-b6a4-9f5a141e3cbf","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal and I Approve","fullTitle":"Process Payment Make payment through PayPal and I Approve","timedOut":null,"duration":472,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.get('#cash_or_card-input').select('PayPal', {\n force: true\n });\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n var i = 0;\n var trans;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header) {\n var header_text = header.text();\n header_text = header_text.trim();\n if (header_text.includes('Unapplied Amount')) {\n trans = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i + '\"]';\n cy.get(trans).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n return false;\n }\n i++;\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('.card-header .badge').should('have.class', 'badge-status-pending');\n });\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/13Process_Payment_PayPal_Approve.spec.js:104:8)","diff":null},"uuid":"6bffde98-ea33-48df-b6aa-3b8d1468e108","parentUUID":"c1730bae-21a1-45db-b6a4-9f5a141e3cbf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6bffde98-ea33-48df-b6aa-3b8d1468e108"],"pending":[],"skipped":[],"duration":472,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c5dd87e-3e91-4257-9b93-85f1b14eae71","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/14Process_Payment_PayPal_Decline.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/14Process_Payment_PayPal_Decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4d11332f-c2db-4ea5-a21b-d57beb87d6f6","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal and I Decline","fullTitle":"Process Payment Make payment through PayPal and I Decline","timedOut":null,"duration":471,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n }\n cy.get('#cash_or_card-input').select('PayPal', {\n force: true\n });\n var flag = false;\n cy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method' && option.text() != 'No Payment Methods found') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n });\n cy.get('#reference').type('abc123', {\n force: true\n });\n cy.get('#description').type('This is a description', {\n force: true\n });\n cy.get('input[type=\"submit\"]').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n });\n cy.wait(12000);\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n var oB;\n var cB;\n var st;\n var count = -1;\n cy.get('#relatedList-bulk-action-Invoice_Customer table thead tr th').each(function (heads) {\n if (heads.text().includes('Opening Balance')) {\n oB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Closing Balance')) {\n cB = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n } else if (heads.text().includes('Status')) {\n st = \"#relatedList-bulk-action-Invoice_Customer [data-sfuniqueid = dataTable__table-td-\" + count + \"]\";\n }\n count++;\n });\n var index = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody td').eq(3).then(function (element) {\n var el = element.text().replace(/[$€,]+/g, \"\");\n el = parseInt(el);\n expect(el).to.eq(0);\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer tbody a span').eq(0).click({\n force: true\n }).then(function () {\n cy.wait(7000);\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form button[type=\"submit\"]').click({\n force: true\n });\n });\n var index1 = 0;\n cy.get('#relatedList-bulk-action-Invoice_Customer td a span').each(function (row) {\n if (row.text().includes('IN-')) {\n if (row.text().includes(invname.text())) {\n cy.get(oB).eq(index1).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get(cB).eq(index1).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + bal;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n cy.get(st).eq(index1).then(function (statusnew) {\n expect(statusnew.text()).to.include(status);\n });\n return false;\n }\n index1++;\n }\n });\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n var i1 = 0;\n var trans1;\n cy.get('#relatedList-bulk-action-Transaction_Customer thead th').each(function (header1) {\n var header_text1 = header1.text();\n header_text1 = header_text1.trim();\n if (header_text1.includes('Status')) {\n cy.log(\"i1 \" + i1);\n trans1 = '#relatedList-bulk-action-Transaction_Customer [data-sfuniqueid = \"dataTable__table-td-' + i1 + '\"]';\n cy.get(trans1).then(function (element) {\n expect(element.text()).to.include('Paid');\n });\n return false;\n }\n i1++;\n });\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/14Process_Payment_PayPal_Decline.spec.js:104:8)","diff":null},"uuid":"eef290d5-9b60-4169-8f16-15b5f05f9e40","parentUUID":"4d11332f-c2db-4ea5-a21b-d57beb87d6f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eef290d5-9b60-4169-8f16-15b5f05f9e40"],"pending":[],"skipped":[],"duration":471,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31ce637b-2534-4237-9466-73af719ab287","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/15process_payment_with_paypal.spec.js","file":"cypress/integration/SF/h-customer/Customer Details Page/Process Payment/15process_payment_with_paypal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b699cbf4-4752-48d8-b3a3-5fbc9e7fd2ed","title":"Process Payment with Paypal","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Process Payment with PayPal and I complete checkout using email","fullTitle":"Process Payment with Paypal Process Payment with PayPal and I complete checkout using email","timedOut":null,"duration":472,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"console.error('hello error');\nconsole.warn('hello war');\nconsole.info('hello info');\ncy.visit(\"/en/customers\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Payment Setting').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.integration-box-item strong').contains('PayPal Express Checkout').click({\n force: true\n});\ncy.url().should('contain', '/configure/PayPal');\ncy.wait(5000);\ncy.get('#connect-btn-wrapper button').then(function (ele) {\n if (ele.text().includes('Uninstall PayPal Express Checkout')) {\n cy.get('#back-to-payment-gateways').should('contain', 'Back to Payment Gateways');\n cy.get('#uninstall_paymentgateway').should('contain', 'Uninstall PayPal Express Checkout');\n cy.get('#tab-advance-options').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('#btn-save').click({\n force: true\n });\n } else {\n integratePayPal();\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('a[data-title=\" New Customer\"] .desktop-display').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.page-title.bold').should('contain', 'New Customer');\ncy.get('#name-input').type('Clara Cathereen');\ncy.get('#phone_number-input').type('(800)555-1234');\ncy.get('[wt-paste=\"email_address\"] > div > div > input').type('clara@mail.com');\ncy.get('.custom-control.custom-checkbox.mb-1.pull-left label').click({\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_country-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('#billing_county-input').type('abcd');\ncy.get('#billing_address_1-input').type('Kabul Road');\ncy.get('#billing_postal_code-input').type('55555');\ncy.get('.col-md-12 > .btn-create').contains('Save').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.main-content-container .detail-toggle-c li a').eq(1).then(function (name) {\n expect(name.text()).to.equal('History');\n}).click({\n force: true\n});\ncy.get('.card-header .detail-toggle-c li').eq(1).contains('Other').click({\n force: true\n});\ncy.get('.timeLineHistInner ul li').last().contains('Current Customer has been created');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/15process_payment_with_paypal.spec.js:105:8)","diff":null},"uuid":"b83344e6-a1e6-4c5f-9d94-87c61a7fcc28","parentUUID":"b699cbf4-4752-48d8-b3a3-5fbc9e7fd2ed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b83344e6-a1e6-4c5f-9d94-87c61a7fcc28"],"pending":[],"skipped":[],"duration":472,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0287789f-5f68-4f3b-bca7-97fc4401380b","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/01customer_page.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/01customer_page.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6a0376eb-eb45-49b9-9586-0412f3962c45","title":"Customers Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When: I click on Customers -> Customers from the main nav","fullTitle":"Customers Page When: I click on Customers -> Customers from the main nav","timedOut":null,"duration":476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n});\ncy.wait(8000);\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.wait(10000);\ncy.contains('Create Customer').should('be.visible');\ncy.get('.recordsCount').should('be.visible');\ncy.get('#sidebar-search').should('exist');\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').should('be.visible');\n cy.contains('Import').should('be.visible');\n cy.contains('Export').should('be.visible');\n});\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n}).then(function () {\n debugger;\n cy.contains('Actions').click({\n force: true\n }).then(function () {\n cy.contains('Send Mail').should('be.visible');\n cy.contains('Delete').should('be.visible');\n cy.contains('Update').should('be.visible');\n });\n});\ncy.get('#lv_filter_hide').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.dropbtn.btn-import').contains('All').click({\n force: true\n}).then(function () {\n cy.contains('Create View').should('be.visible');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/01customer_page.spec.js:101:8)","diff":null},"uuid":"360f6a50-b632-41dd-ad4e-2aef948e72ba","parentUUID":"6a0376eb-eb45-49b9-9586-0412f3962c45","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["360f6a50-b632-41dd-ad4e-2aef948e72ba"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f6879472-bd5d-4495-9efd-77920248ea34","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/04search_customer.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/04search_customer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5dff7a88-52c6-40c4-a8dd-363dbbba2d8e","title":"Search customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When: I enter 3 characters of Customers name in Search Field","fullTitle":"Search customers When: I enter 3 characters of Customers name in Search Field","timedOut":null,"duration":467,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Tes', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var k = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.get(j).its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get(j).eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('tes');\n });\n }\n });\n } else {\n k = k + 1;\n }\n });\n});\ncy.get('#basic_search').clear().type('Test Customer', {\n force: true\n}).then(function () {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(n).its('length').then(function ($length) {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then(function ($element) {\n expect($element.text()).to.include('Test Customer');\n });\n }\n });\n } else {\n m = m + 1;\n }\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/04search_customer.spec.js:105:8)","diff":null},"uuid":"917c97f2-18ce-400a-87ea-5dd05554b2aa","parentUUID":"5dff7a88-52c6-40c4-a8dd-363dbbba2d8e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["917c97f2-18ce-400a-87ea-5dd05554b2aa"],"pending":[],"skipped":[],"duration":467,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8e45c4e2-93ac-4b84-b70a-3182218918be","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/05delete_customer.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/05delete_customer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"377ef71b-5af7-4934-8486-87fa479ce8f5","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","timedOut":null,"duration":465,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar m = -2;\nvar j;\ncy.get('.recordsCount small').then(function (tEBefore1) {\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(j).eq(5).then(function ($element) {\n cy.get('tbody tr td input').eq(5).click({\n force: true\n });\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(5000);\n cy.get('.recordsCount').invoke('text').should('not.eq', tEBefore1.text()); // cy.get(j).eq(5).invoke('text').should('not.eq', $element.text())\n });\n });\n } else {\n m = m + 1;\n }\n });\n});\ncy.get('.recordsCount').then(function ($data) {\n for (var i = 0; i < 1; i++) {\n cy.get('tbody tr td input').eq(i).click({\n force: true\n });\n }\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(10000);\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(30000);\n });\n cy.get('.recordsCount').invoke('text').should('not.eq', $data.text());\n});\nvar z = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + z + \"]\";\n cy.get(j).eq(5).then(function ($element) {\n cy.get('tbody tr td input').eq(5).click({\n force: true\n });\n cy.contains('Actions').click({\n force: true\n });\n cy.contains('Delete').click({\n force: true\n });\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n cy.on('window:confirm', function () {\n return false;\n }).then(function () {\n cy.get('#listViewTableEl thead th').each(function (element) {\n cy.get(j).eq(5).invoke('text').should('not.eq', $element.text());\n });\n });\n });\n } else {\n z = z + 1;\n }\n});\ncy.wait(10000); // not necessary this part, \n//upper part doing the same task \n// cy.get('.recordsCount').then(($data) => {\n// for (var i = 0; i < 3; i++) {\n// cy.get('tbody tr td input').eq(i).click({ force: true })\n// }\n// cy.contains('Actions').click({ force: true })\n// cy.contains('Delete').click({ force: true })\n// cy.get('#confirmationModalOkay').click({ force: true })\n// cy.wait(5000)\n// cy.on('window:confirm', () => false)\n// cy.get('.recordsCount').invoke('text').should('not.eq', $data.text())\n// })","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/05delete_customer.spec.js:101:8)","diff":null},"uuid":"dac7bab9-fd93-4f23-9f38-223a528b7a4f","parentUUID":"377ef71b-5af7-4934-8486-87fa479ce8f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dac7bab9-fd93-4f23-9f38-223a528b7a4f"],"pending":[],"skipped":[],"duration":465,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5f9a2fd7-2c04-48cc-ac9a-480c4460f16c","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/06edit_customer.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/06edit_customer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7d191ebc-894f-4add-8301-67f2bc796362","title":"Edit Customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Customers should be editted successfully","fullTitle":"Edit Customers Customers should be editted successfully","timedOut":null,"duration":512,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.show-edit').eq(4).then(function (edit) {\n var Edit = edit.prop('href');\n cy.visit(Edit);\n});\ncy.url().should('contain', '/edit');\ncy.get('#name-input').then(function ($element) {\n cy.get($element).type(' Updated', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n cy.wait(25000);\n cy.url().should('contain', '/customer-detail/');\n cy.get('.page-title.p-title').should('contain', $element.text() + ' Updated');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/06edit_customer.spec.js:101:8)","diff":null},"uuid":"49dddc7d-5df1-48f0-948c-7ef88a686c06","parentUUID":"7d191ebc-894f-4add-8301-67f2bc796362","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["49dddc7d-5df1-48f0-948c-7ef88a686c06"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8b2c7f2a-909a-4db6-8eeb-a755578c8b66","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/07clear_selection.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/07clear_selection.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a59281df-0a34-4cbc-8aa6-5932ba7bbc51","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","timedOut":null,"duration":469,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#listViewTableEl .check-all-records').click({\n force: true\n});\ncy.contains('Actions').should('be.visible');\ncy.get('.selected-rows a').should('be.visible').click({\n force: true\n});\ncy.get('tbody tr td input').then(function ($element) {\n for (var i = 0; i < $element.length; i++) {\n cy.get('tbody tr td input').eq(i).should('not.be.checked');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/07clear_selection.spec.js:101:8)","diff":null},"uuid":"77579b1f-e911-4e1f-9936-9b53f32c7c5c","parentUUID":"a59281df-0a34-4cbc-8aa6-5932ba7bbc51","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["77579b1f-e911-4e1f-9936-9b53f32c7c5c"],"pending":[],"skipped":[],"duration":469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e18a83a5-717c-48d3-871b-b68372a911bc","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/08aesc_desc.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/08aesc_desc.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5ef5a121-5d45-415a-866e-e726f00e8f51","title":"Asec Desc","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Sort the column in Asec or Desc","fullTitle":"Asec Desc Sort the column in Asec or Desc","timedOut":null,"duration":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#updated_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(15000);\nvar names1 = [];\nvar check1 = [];\nvar names2 = [];\nvar check2 = [];\ncy.get('#listViewTableEl thead th .fa.fa-sort').eq(0).click({\n force: true\n}).then(function () {\n cy.wait(15000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').each(function (elements) {\n // var normalizedelement = normalizeText(elements.text())\n names1.push(elements.text());\n check1.push(elements.text());\n check1.sort(function (a, b) {\n return b - a;\n });\n });\n});\ncy.wrap(names1).should(\"deep.equal\", check1);\ncy.get('#listViewTableEl thead th .fa.fa-sort').eq(0).click({\n force: true\n}).then(function () {\n cy.wait(7000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').each(function (elements) {\n names2.push(elements.text());\n check2.push(elements.text());\n check2.sort(function (a, b) {\n return b - a;\n });\n });\n});\ncy.wrap(names2).should(\"deep.equal\", check2);\nvar update1 = [];\nvar checkup1 = [];\nvar update2 = [];\nvar checkup2 = [];\nvar i = -2;\nvar j;\ncy.contains('Updated At').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text() == \"Updated At\") {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n cy.get(j).each(function (elements) {\n //var normalizedelement = normalizeText(elements.text())\n update1.push(elements.text());\n checkup1.push(elements.text());\n checkup1.sort(function (a, b) {\n return a.toLowerCase().localeCompare(b.toLowerCase());\n });\n });\n } else {\n i = i + 1;\n }\n});\ncy.wrap(update1).should(\"deep.equal\", checkup1);\ncy.contains('Updated At').click({\n force: true\n});\ncy.wait(10000);\nvar x = -2;\nvar y;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Updated At\")) {\n y = \"[data-sfuniqueid = dataTable__table-td-\" + x + \"]\";\n console.log(y);\n cy.get(y).each(function (elements) {\n //var normalizedelement = normalizeText(elements.text())\n update2.push(elements.text());\n checkup2.push(elements.text());\n checkup2.sort(function (a, b) {\n return b - a;\n });\n });\n } else {\n x = x + 1;\n }\n});\ncy.wrap(update2).should(\"deep.equal\", checkup2);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/08aesc_desc.spec.js:105:8)","diff":null},"uuid":"b80bc3f6-fe8a-490e-8532-f30f08de72ce","parentUUID":"5ef5a121-5d45-415a-866e-e726f00e8f51","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b80bc3f6-fe8a-490e-8532-f30f08de72ce"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed154c23-9e8f-460f-a7d9-7413e69e68c7","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/09Bulk_update.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/09Bulk_update.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d3e0d276-0c00-430f-bc31-bf862597ec94","title":"Bulk Update customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should dupdate the bulk of customers","fullTitle":"Bulk Update customers Should dupdate the bulk of customers","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('tbody tr td input').then(function (elements) {\n for (var i = 0; i < 6; i++) {\n cy.get(elements).eq(i).click({\n force: true\n });\n }\n});\ncy.contains('Actions').click({\n force: true\n});\ncy.get('[data-target=\"#mass-update-modal\"]').contains('Update').click({\n force: true\n});\ncy.get('#massUpdateField').select('Phone Number');\ncy.wait(10000);\ncy.get('#massUpdateValue').type('03003673767');\ncy.get('button').contains('Update').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#phone_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(20000);\nvar m = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Phone Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n console.log(j);\n for (var k = 0; k < 6; k++) {\n cy.get(j).eq(k).then(function (element) {\n expect(element.text()).to.include('03003673767');\n });\n }\n } else {\n m = m + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/09Bulk_update.spec.js:102:8)","diff":null},"uuid":"d5304399-8d25-44ae-8920-b881fa03b481","parentUUID":"d3e0d276-0c00-430f-bc31-bf862597ec94","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d5304399-8d25-44ae-8920-b881fa03b481"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"51dae3cd-7093-43ac-b79d-91b21cb3f444","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/10Export_Customer_data.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/10Export_Customer_data.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aa8e75f4-dc9d-4927-80a9-991d1098bc69","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","timedOut":null,"duration":505,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get(':nth-child(3) > .actions-dropdown > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu > [href=\"javascript:void(0);\"]').should('contain', 'Export').click({\n force: true\n});\ncy.wait(1500);\ncy.get('#ExportFieldsFilterModal > .modal-dialog > .modal-content > .modal-header > h5').should('contain', 'EXPORT');\ncy.get('#ExportFieldsFilterModal > .modal-dialog > .modal-content > .modal-body > :nth-child(1) > p').should('exist');\ncy.get('#ExportFieldsFilterModal > .modal-dialog > .modal-content > .modal-footer > .btn-warning').as('confirm');\ncy.get('@confirm').should('contain', 'EXPORT').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#toast-container .toast-success .toast-message').should('contain', 'Export is in progress.');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.wait(7000);\ncy.url().should('include', 'en/settings/administration');\ncy.get(':nth-child(3) > :nth-child(2) > .card-body > .card-title').should('contain', 'DATA ADMINISTRATION');\ncy.get(':nth-child(3) > :nth-child(2) > .card-body > :nth-child(3) > .text-white').click({\n force: true\n});\ncy.wait(15000);\ncy.get('tbody > :nth-child(1) > :nth-child(3)').should('contain', 'Processing');\ncy.get('tbody > :nth-child(1) > :nth-child(4)').should('contain', 'Customer');\ncy.get(':nth-child(4) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.focused().should('contain', 'Download File');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/10Export_Customer_data.spec.js:101:8)","diff":null},"uuid":"52a205ab-025a-4e56-ba7b-b8636ab6d6d6","parentUUID":"aa8e75f4-dc9d-4927-80a9-991d1098bc69","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["52a205ab-025a-4e56-ba7b-b8636ab6d6d6"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f62c1b9a-a05d-4ae0-b906-7b92abf20359","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/01filter_by_name.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/01filter_by_name.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"db67e907-a52e-4fab-9b19-97229bfdaacb","title":"Filter customers by name","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by name Filters customers based on given condition","timedOut":null,"duration":476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Name\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('marygirl');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('marygirl');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('ma');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('ma');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n var reg = /^ma/;\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('an', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n var reg = /an$/;\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/01filter_by_name.spec.js:105:8)","diff":null},"uuid":"3ff442bc-c4e8-4556-aeb5-876466e37807","parentUUID":"db67e907-a52e-4fab-9b19-97229bfdaacb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ff442bc-c4e8-4556-aeb5-876466e37807"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ebb8cec6-51da-4740-ac63-1e4d53b69bbb","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/02filter_by_customer_number.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/02filter_by_customer_number.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"02316fbf-402e-48e6-8b43-ee5417fb3e95","title":"Filter customers by customer number","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by customer number Filters customers based on given condition","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#customer_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Customer Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Customer Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('CUST_27', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('CUST_27');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('CUST_27', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('CUST_27');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('6');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('6');\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('CUST', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /^\\n CUST/;\n expect(elements.text()).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('7', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /7$/;\n var num_elements = elements.text().trim();\n expect(num_elements).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[customer_number]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/02filter_by_customer_number.spec.js:105:8)","diff":null},"uuid":"9fe8bcfa-c774-454f-9da0-1d8de8620644","parentUUID":"02316fbf-402e-48e6-8b43-ee5417fb3e95","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9fe8bcfa-c774-454f-9da0-1d8de8620644"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c1716be7-9907-4907-b538-010a0bfc4736","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/03filter_by_phone_number.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/03filter_by_phone_number.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8cf9c625-eb97-4bc6-98ee-936b85486a7d","title":"Filter customers by phone number","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by phone number Filters customers based on given condition","timedOut":null,"duration":442,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#phone_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Phone Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Phone Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('03006789363', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('03006789363');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('03006789363', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('03006789363');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('6');\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('6', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('6');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('03', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 03/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('3', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /3$/;\n var ph_number = elements.text().trim();\n expect(ph_number).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('\\n \\n ');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[phone_number]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/03filter_by_phone_number.spec.js:105:8)","diff":null},"uuid":"21bbaf49-186d-4cbf-b302-6e126b302101","parentUUID":"8cf9c625-eb97-4bc6-98ee-936b85486a7d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["21bbaf49-186d-4cbf-b302-6e126b302101"],"pending":[],"skipped":[],"duration":442,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7848e6c9-4e2d-486d-b6f0-ad10a12c8f76","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/04filter_by_email.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/04filter_by_email.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"89411602-b2ad-466d-804f-a3324b962572","title":"Filter customers by email","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by email Filters customers based on given condition","timedOut":null,"duration":478,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#email').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(15000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Email\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Email\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('andybary@mail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('andybary@mail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('andybary@mail.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('andybary@mail.com');\n }); // cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"contains\", { force: true })\n // cy.get(y).type('mailinator', { force: true })\n // cy.get('.apply-filter').contains('Apply Filter').click({ force: true })\n // cy.wait(20000)\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('mailinator')\n // })\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('mailinator', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('mailinator');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ma/;\n var cust_email = elements.text().toLowerCase().trim();\n expect(cust_email).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('r.com', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(20000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /r.com$/;\n var cust_email = elements.text().trim();\n expect(cust_email).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody td').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(5000);\n cy.get('td').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n return 0;\n });\n cy.log('else part');\n }\n });\n } else {\n i = i + 1;\n return 0;\n }\n });\n } else {\n x = x + 1;\n return 0;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/04filter_by_email.spec.js:105:8)","diff":null},"uuid":"c31a6d30-0b46-48e8-b668-96bda5acf0af","parentUUID":"89411602-b2ad-466d-804f-a3324b962572","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c31a6d30-0b46-48e8-b668-96bda5acf0af"],"pending":[],"skipped":[],"duration":478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8f44d04c-07ca-4767-bbb2-bcd606fbc9bf","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/05filter_by_PO.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/05filter_by_PO.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"25b57d95-24df-4808-90e7-1d19241f6941","title":"Filter customers by PO","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by PO Filters customers based on given condition","timedOut":null,"duration":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#po_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"PO Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"PO Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j); // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').should('be.visible').select('is',{force:true})\n // cy.get(y).type('808',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('808')\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"isn't\",{force:true})\n // cy.get(y).type('808',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.not.include('808')\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"contains\",{force:true})\n // cy.get(y).type('6',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('6')\n // })\n // } \n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"doesn't contain\",{force:true})\n // cy.get(y).type('6',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.not.include('6')\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"starts with\",{force:true})\n // cy.get(y).type('8',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // var reg = /^\\n 8/;\n // expect(elements.text()).to.match(reg)\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"ends with\",{force:true})\n // cy.get(y).type('8',{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // var reg = /8$/;\n // expect(elements.text()).to.match(reg)\n // })\n // }\n // })\n // cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"is empty\",{force:true})\n // cy.get('.apply-filter').contains('Apply Filter').click({force:true})\n // cy.wait(10000)\n // cy.get('tbody tr').then(rows => {\n // if((rows.text()).includes('No Records Found')){\n // expect(rows.text()).to.include('No Records Found')\n // }\n // else{\n // cy.get(j).each(elements => {\n // expect(elements.text()).to.include('')\n // })\n // }\n // })\n cy.get('.filerSelect [name=\"filter_condition[po_number]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var cust_PO = elements.text().trim();\n cust_PO = cust_PO.replace('/\\n/g', '');\n expect(cust_PO).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/05filter_by_PO.spec.js:105:8)","diff":null},"uuid":"a72ed35c-6c3a-4240-8731-9f694330e102","parentUUID":"25b57d95-24df-4808-90e7-1d19241f6941","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a72ed35c-6c3a-4240-8731-9f694330e102"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"28f518d4-43e0-4f64-97b6-461dcd7ccbc2","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/06filter_by_LegalEntity.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/06filter_by_LegalEntity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"99d04035-dd96-4f99-9bc5-72c33e1299ed","title":"Filter customers by legal entity","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by legal entity Filters customers based on given condition","timedOut":null,"duration":482,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#legal_entity').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Legal Entity\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Legal Entity\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-legal_entity-input-container').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-legal_entity-input-container').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-legal_entity-input-results li').contains('North America').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('North America');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[legal_entity]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/06filter_by_LegalEntity.spec.js:105:8)","diff":null},"uuid":"641c5318-7875-40fd-99ff-de321235fc09","parentUUID":"99d04035-dd96-4f99-9bc5-72c33e1299ed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["641c5318-7875-40fd-99ff-de321235fc09"],"pending":[],"skipped":[],"duration":482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fc09df28-3ce5-4d61-a5d2-cce2ff669a92","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/07filter_by_billingCycle.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/07filter_by_billingCycle.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d960eb5c-1544-4063-bb31-e7f1ba65c0e4","title":"Filter customers by billing cycle","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by billing cycle Filters customers based on given condition","timedOut":null,"duration":484,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_cycle_day').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Billing Cycle Day\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Cycle Day\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-container').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-container').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-billing_cycle_day-input-results li').contains('1st of the Month').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('1');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_cycle_day]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/07filter_by_billingCycle.spec.js:105:8)","diff":null},"uuid":"f5348683-92a4-4146-9890-0c78ba8e246a","parentUUID":"d960eb5c-1544-4063-bb31-e7f1ba65c0e4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f5348683-92a4-4146-9890-0c78ba8e246a"],"pending":[],"skipped":[],"duration":484,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c7379e77-ae63-4f1a-80fc-73dd3d849861","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/08filter_by_TaxExempt.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/08filter_by_TaxExempt.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6e2e4e99-c3fb-418e-a6a8-3639a6b4eb69","title":"Filter customers by tax exempt","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by tax exempt Filters customers based on given condition","timedOut":null,"duration":469,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Tax Exempt\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Tax Exempt\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] i\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[tax_exempt]\"]').should('be.visible').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_exempt]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/08filter_by_TaxExempt.spec.js:105:8)","diff":null},"uuid":"295c9c0e-1b3a-4d49-b91c-8cd34ff79395","parentUUID":"6e2e4e99-c3fb-418e-a6a8-3639a6b4eb69","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["295c9c0e-1b3a-4d49-b91c-8cd34ff79395"],"pending":[],"skipped":[],"duration":469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9544528f-4589-42a9-bdc7-bc36806681d8","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/09filter_by_certificateid.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/09filter_by_certificateid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"05873a17-4737-48db-99dd-cd063aaaf39c","title":"Filter customers by Certificate ID","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Certificate ID Filters customers based on given condition","timedOut":null,"duration":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#certificate_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Certificate ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Certificate ID\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select('is', {\n force: true\n });\n cy.get(y).type('jkjhkj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkjhkj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkjhkj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkjhkj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hkj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hkj$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/09filter_by_certificateid.spec.js:105:8)","diff":null},"uuid":"67a8a341-ef84-4960-b95f-16725dbf83c2","parentUUID":"05873a17-4737-48db-99dd-cd063aaaf39c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["67a8a341-ef84-4960-b95f-16725dbf83c2"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8715a16e-074f-4032-95d3-4cd26547f606","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/10filter_by_certificatetype.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/10filter_by_certificatetype.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"77c12027-8308-49b7-a3e2-71f61c7e4ae1","title":"Filter customers by Certificate type","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Certificate type Filters customers based on given condition","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#certificate_type').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Certificate Type\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Certificate Type\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select('is', {\n force: true\n });\n cy.get(y).type('jhkjjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jhkjjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jhkjjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jhkjjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[certificate_type]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/10filter_by_certificatetype.spec.js:105:8)","diff":null},"uuid":"429e3c1c-a8a1-4753-9245-26f3c3637b3f","parentUUID":"77c12027-8308-49b7-a3e2-71f61c7e4ae1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["429e3c1c-a8a1-4753-9245-26f3c3637b3f"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b79e294-5919-4cfb-9b0d-62cfd72719ba","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/11filter_by_issuingJurisdiction.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/11filter_by_issuingJurisdiction.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d216024f-31fe-4258-a6cf-e863e8706ce6","title":"Filter customers by issuing jurisdiction","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by issuing jurisdiction Filters customers based on given condition","timedOut":null,"duration":489,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#issuing_jurisdiction').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Issuing Jurisdiction\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Issuing Jurisdiction\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select('is', {\n force: true\n });\n cy.get(y).type('jhkjhkjh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jhkjhkjh');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jhkjhkjh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jhkjhkjh');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /jh$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[issuing_jurisdiction]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/11filter_by_issuingJurisdiction.spec.js:105:8)","diff":null},"uuid":"34645060-d545-4a50-aace-8cb52b706d9b","parentUUID":"d216024f-31fe-4258-a6cf-e863e8706ce6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["34645060-d545-4a50-aace-8cb52b706d9b"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6441b109-2616-4ddb-99a2-2f472e98bbe3","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/12filter_by_entityUsecode.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/12filter_by_entityUsecode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"62f06fa9-3a77-404f-a997-732c333a1335","title":"Filter customers by entity use code","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by entity use code Filters customers based on given condition","timedOut":null,"duration":480,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#entity_use_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Entity Use Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Entity Use Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').should('exist').select('is', {\n force: true\n });\n cy.get('#select2-entity_use_code-input-container').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-entity_use_code-input-container').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select('contains', {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-entity_use_code-input-results li').contains('State government').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').each(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('B');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[entity_use_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/12filter_by_entityUsecode.spec.js:101:8)","diff":null},"uuid":"83857ca7-423b-49df-aedb-a1ce21738760","parentUUID":"62f06fa9-3a77-404f-a997-732c333a1335","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["83857ca7-423b-49df-aedb-a1ce21738760"],"pending":[],"skipped":[],"duration":480,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cceb2ab3-5fd1-4d87-922a-7247674a0532","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/13filter_by_Description.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/13filter_by_Description.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"78520d55-3c8c-4e90-8130-3f5827541ae1","title":"Filter customers by description","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by description Filters customers based on given condition","timedOut":null,"duration":569,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#description').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Description\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Description\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').should('exist').select('is', {\n force: true\n });\n cy.get(y).type('jkhjkhjk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkhjkhjk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkhjkhjk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkhjkhjk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /jk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[description]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/13filter_by_Description.spec.js:105:8)","diff":null},"uuid":"394e48eb-0b3c-46e9-997a-d164f199a0d1","parentUUID":"78520d55-3c8c-4e90-8130-3f5827541ae1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["394e48eb-0b3c-46e9-997a-d164f199a0d1"],"pending":[],"skipped":[],"duration":569,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9837a570-4d24-4794-9841-963b1c8d871d","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/14filter_by_TaxCompany.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/14filter_by_TaxCompany.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b17f42e6-9311-4f71-a4b0-ffc4e89f7cd9","title":"Filter customers by tax company","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by tax company Filters customers based on given condition","timedOut":null,"duration":494,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#tax_company').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Tax Company\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Tax Company\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-tax_company-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-tax_company-input-results li').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-tax_company-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-tax_company-input-results li').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"contains\", {\n force: true\n });\n cy.wait(2000);\n cy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__option').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-selection.select2-selection--multiple').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__option').contains('Techlo').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('techlo');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[tax_company]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/14filter_by_TaxCompany.spec.js:105:8)","diff":null},"uuid":"f7e2e868-fea8-469a-92a9-2787cf6cecdc","parentUUID":"b17f42e6-9311-4f71-a4b0-ffc4e89f7cd9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f7e2e868-fea8-469a-92a9-2787cf6cecdc"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c46a30c3-cdb0-43b0-be0e-1681c27b5df3","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/15filter_by_VATID.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/15filter_by_VATID.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"61ead664-1d44-46aa-bee1-33e3e79a4b42","title":"Filter customers by VAT ID","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by VAT ID Filters customers based on given condition","timedOut":null,"duration":446,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#vat_id').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"VAT ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"VAT ID\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('43tssd', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('43tssd');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('43tssd', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('43tssd');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('s', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('s');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('s', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('s');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('43', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n 43/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ssd', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ssd$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[vat_id]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/15filter_by_VATID.spec.js:105:8)","diff":null},"uuid":"e821f9bd-7ee7-4dee-8aa8-46ff1f03ef71","parentUUID":"61ead664-1d44-46aa-bee1-33e3e79a4b42","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e821f9bd-7ee7-4dee-8aa8-46ff1f03ef71"],"pending":[],"skipped":[],"duration":446,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"40fa615c-f365-480d-b312-f0a11305544c","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/16filter_by_PortalisEnabled.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/16filter_by_PortalisEnabled.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1379822d-6570-4873-b332-42b6de984516","title":"Filter customers by Portal is Enabled","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Portal is Enabled Filters customers based on given condition","timedOut":null,"duration":465,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#portal_is_enabled').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Portal Is Enabled\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Portal Is Enabled\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] i\";\n cy.get('.filerSelect [name=\"filter_condition[portal_is_enabled]\"]').should('exist').select('is checked', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-check');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[portal_is_enabled]\"]').select(\"is not checked\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n cy.get(elements).should('have.class', 'fa-times');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/16filter_by_PortalisEnabled.spec.js:101:8)","diff":null},"uuid":"80ca30a0-8018-4b5b-a08e-fa7ca2287b8c","parentUUID":"1379822d-6570-4873-b332-42b6de984516","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80ca30a0-8018-4b5b-a08e-fa7ca2287b8c"],"pending":[],"skipped":[],"duration":465,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5bbeab38-a775-45df-a6d5-ced0f4c63e7b","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/17filter_by_BillingAddress1.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/17filter_by_BillingAddress1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fa999cbc-de7e-4910-9dc3-df834b69c144","title":"Filter customers by Billing Address 1","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Billing Address 1 Filters customers based on given condition","timedOut":null,"duration":513,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('yuytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('yuytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('yuytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('yuytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('yu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n yu/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('tu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /tu$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/17filter_by_BillingAddress1.spec.js:105:8)","diff":null},"uuid":"4c718330-188a-4dd3-8fa9-45f55cbbebc4","parentUUID":"fa999cbc-de7e-4910-9dc3-df834b69c144","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4c718330-188a-4dd3-8fa9-45f55cbbebc4"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"472f210f-d279-4d7d-aabe-b9f8255f0f7f","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/18filter_by_BillingAddress2.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/18filter_by_BillingAddress2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a9b635aa-b7f7-4b27-b592-a5f5016c835f","title":"Filter customers by Billing Address 2","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Billing Address 2 Filters customers based on given condition","timedOut":null,"duration":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('utytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('utytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('utytu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('utytu');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('t', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('t');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ut', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^ut/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('tu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /tu$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/18filter_by_BillingAddress2.spec.js:105:8)","diff":null},"uuid":"64d755b6-6d16-4577-8b42-1df8b4e1ce6a","parentUUID":"a9b635aa-b7f7-4b27-b592-a5f5016c835f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["64d755b6-6d16-4577-8b42-1df8b4e1ce6a"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"01446050-8edb-4181-9371-e0ec15b3d9ef","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/19filter_by_Billing_Country.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/19filter_by_Billing_Country.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e61612a8-10a7-4c34-a225-12ed5487b19c","title":"Filter customers by Billing country","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Billing country Filters customers based on given condition","timedOut":null,"duration":479,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('PK');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n PK/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('PK', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /PK$/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/19filter_by_Billing_Country.spec.js:101:8)","diff":null},"uuid":"fc2ad8e2-bc0d-4852-a79f-7bc44e2c6472","parentUUID":"e61612a8-10a7-4c34-a225-12ed5487b19c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fc2ad8e2-bc0d-4852-a79f-7bc44e2c6472"],"pending":[],"skipped":[],"duration":479,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"57e00fad-330c-421c-ada0-27f5cd3472ae","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/20filter_by_BillingState.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/20filter_by_BillingState.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b0141297-0ed5-482d-a56c-310902793815","title":"Filter customers by Billing State","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Billing State Filters customers based on given condition","timedOut":null,"duration":494,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('Punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Punjab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('Punjab');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('un', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('un');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('un', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.include('un');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('Pu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n PU/;\n expect(elements.text()).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ab', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /AB$/;\n var custState = elements.text().trim().toUpperCase();\n expect(custState).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n expect(elements.text()).to.not.eq('');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/20filter_by_BillingState.spec.js:101:8)","diff":null},"uuid":"19b55de1-e8e6-4968-8407-8a4abdc1d7b2","parentUUID":"b0141297-0ed5-482d-a56c-310902793815","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["19b55de1-e8e6-4968-8407-8a4abdc1d7b2"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8783d20c-fe9a-4e4d-8e7d-5e95b975aa09","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/21filter_by_BillingCity.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/21filter_by_BillingCity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a6ad8920-1cc4-4357-9a3b-901b7731001f","title":"Filter customers by Billing City","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Billing City Filters customers based on given condition","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Lahore', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('lahore');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('ho', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('ho');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('ho', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('ho');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('La', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^la/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('re', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /re$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/21filter_by_BillingCity.spec.js:105:8)","diff":null},"uuid":"234fa738-e883-479c-bb0b-816dd0fe5278","parentUUID":"a6ad8920-1cc4-4357-9a3b-901b7731001f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["234fa738-e883-479c-bb0b-816dd0fe5278"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fa2a01ce-2806-47ac-9854-3c588130e0c7","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/22filter_by_BillingPostalCode.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/22filter_by_BillingPostalCode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f91d75d7-c812-4714-95e3-f75a286ffdc3","title":"Filter customers by Billing Postal Code","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Billing Postal Code Filters customers based on given condition","timedOut":null,"duration":494,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#billing_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Billing Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Billing Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('53720', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('53720');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('53720', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('53720');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('37', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('37');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('37', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('37');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('53', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^53/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('20', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /20$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[billing_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/22filter_by_BillingPostalCode.spec.js:105:8)","diff":null},"uuid":"931be48c-a994-458d-8a7e-c35483904521","parentUUID":"f91d75d7-c812-4714-95e3-f75a286ffdc3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["931be48c-a994-458d-8a7e-c35483904521"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d4e3b92d-9bcf-4d1b-af35-475f354b3325","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/23filter_by_ShippingAddress1.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/23filter_by_ShippingAddress1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"37e8596a-296f-49dd-b0de-fa49f85aee02","title":"Filter customers by Shipping Address 1","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Shipping Address 1 Filters customers based on given condition","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_1').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Address 1\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('jhkjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jhkjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jhkjhk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jhkjhk');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jh', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jh/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hk$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_1]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/23filter_by_ShippingAddress1.spec.js:105:8)","diff":null},"uuid":"67c0687c-13f4-45f5-86e9-3cce1f746222","parentUUID":"37e8596a-296f-49dd-b0de-fa49f85aee02","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["67c0687c-13f4-45f5-86e9-3cce1f746222"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"da729622-af31-4037-b2c1-521dfa5b6005","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/24filter_by_ShippingAddress2.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/24filter_by_ShippingAddress2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"809a1e5d-af82-4c2c-81ee-d6a01543e83f","title":"Filter customers by Shipping Address 2","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Shipping Address 2 Filters customers based on given condition","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_address_2').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Address 2\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('jkhkhj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkhkhj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkhkhj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkhkhj');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('k', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('k');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('hj', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /hj$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_address_2]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/24filter_by_ShippingAddress2.spec.js:105:8)","diff":null},"uuid":"1b3b60ea-3487-43e9-8afa-15253a629d9d","parentUUID":"809a1e5d-af82-4c2c-81ee-d6a01543e83f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1b3b60ea-3487-43e9-8afa-15253a629d9d"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"08ef4933-743d-4735-bddc-78afc86a924e","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/25filter_by_ShippingCountry.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/25filter_by_ShippingCountry.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"547ad7d9-eac0-4e99-ab5f-c58d7cf949eb","title":"Filter customers by Shipping Country","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Shipping Country Filters customers based on given condition","timedOut":null,"duration":521,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_country').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Country\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('dz', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('dz');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('d', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^d/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('z', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var reg = /z$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_country]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/25filter_by_ShippingCountry.spec.js:105:8)","diff":null},"uuid":"4c4ee462-492f-4cae-99d8-38dfa3161f73","parentUUID":"547ad7d9-eac0-4e99-ab5f-c58d7cf949eb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4c4ee462-492f-4cae-99d8-38dfa3161f73"],"pending":[],"skipped":[],"duration":521,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"565c7898-d0e4-4d52-b1be-c5bb4bcd5ad0","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/26filter_by_ShippingState.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/26filter_by_ShippingState.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ad7a3c9e-d21d-4f3e-bcb6-f6db1edb677b","title":"Filter customers by Shipping State","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Shipping State Filters customers based on given condition","timedOut":null,"duration":511,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_state').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping State\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Aïn Defla Province', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('aïndeflaprovince');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Aïn Defla Province', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('aïndeflaprovince');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('fla', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('fla');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('fla', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('fla');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('pu', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n pu/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('ce', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /ce$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_state]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include(' ');\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/26filter_by_ShippingState.spec.js:105:8)","diff":null},"uuid":"2b6f511e-0af0-4041-9da2-a335987ab10c","parentUUID":"ad7a3c9e-d21d-4f3e-bcb6-f6db1edb677b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2b6f511e-0af0-4041-9da2-a335987ab10c"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4ee78a1-28c9-432e-846a-8e79ae03d12d","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/27filter_by_ShippingCity.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/27filter_by_ShippingCity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"97a1ad17-ce20-417a-9f4f-76630cd65771","title":"Filter customers by Shipping City","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Shipping City Filters customers based on given condition","timedOut":null,"duration":482,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_city').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping City\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('El Abadia', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('elabadia');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('El Abadia', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('elabadia');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('aba', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('aba');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('aba', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('aba');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('El', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^el/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('dia', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /dia$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_city]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/27filter_by_ShippingCity.spec.js:105:8)","diff":null},"uuid":"3ceb4c3c-72d7-4060-8246-9d868f699565","parentUUID":"97a1ad17-ce20-417a-9f4f-76630cd65771","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ceb4c3c-72d7-4060-8246-9d868f699565"],"pending":[],"skipped":[],"duration":482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d6b0025f-400a-4ddd-8f8a-e656c6c034f3","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/28filter_by_ShippingPostalCode.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/28filter_by_ShippingPostalCode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b45b8875-f51c-4157-866f-bbb4c64a595b","title":"Filter customers by Shipping Postal Code","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Shipping Postal Code Filters customers based on given condition","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_postal_code').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Shipping Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Shipping Postal Code\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('jkhjk898', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jkhjk898');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('jkhjk898', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jkhjk898');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('j', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('j');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('jk', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /^\\n jk/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('898', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var reg = /898$/;\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[shipping_postal_code]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).not.to.be.empty;\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/28filter_by_ShippingPostalCode.spec.js:105:8)","diff":null},"uuid":"0cf8c7af-f317-47bf-ab84-a98c8c423ea1","parentUUID":"b45b8875-f51c-4157-866f-bbb4c64a595b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0cf8c7af-f317-47bf-ab84-a98c8c423ea1"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"660848b9-6116-4485-a386-be67dd0d28e2","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/29filter_by_CreatedAt.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/29filter_by_CreatedAt.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2dd950f9-8101-4d50-8332-fe51231dd859","title":"Filter customers by Created At","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Created At Filters customers based on given condition","timedOut":null,"duration":535,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_at').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created At\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created At\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').scrollIntoView().should('be.visible').select('Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('03/05/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(date).equal('03/05/2021');\n expect(elements.text()).to.include('03/05/2021');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Before', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('03/05/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt < 2020) {\n expect(yearInt).to.be.lessThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt < 9) {\n expect(monthInt).to.be.lessThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.lessThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('After', {\n force: true\n });\n cy.get('input[name=\"filter_value[created_at]\"]').type('01/29/2021');\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n var yearInt = parseInt(year);\n var month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n var monthInt = parseInt(month);\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n var dateInt = parseInt(date);\n console.log(yearInt);\n console.log(monthInt);\n console.log(dateInt);\n if (yearInt > 2020) {\n expect(yearInt).to.be.greaterThan(2020);\n } else if (yearInt == 2020) {\n if (monthInt > 9) {\n expect(monthInt).to.be.greaterThan(9);\n } else if (monthInt == 9) {\n expect(dateInt).to.be.greaterThan(29);\n }\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Today', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var Todaydate = Cypress.moment().format('MM/DD/yyyy');\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(Todaydate).equal(date);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Yesterday', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n var Todaydate = Cypress.moment().subtract(1, 'days').startOf('day');\n Todaydate = Cypress.moment(Todaydate, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n expect(Todaydate).equal(datetxt);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().subtract(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().subtract(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(7, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().subtract(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(8, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().subtract(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(9, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().subtract(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(10, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().subtract(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(11, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().subtract(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(12, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Week', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/ddd/yyyy');\n var date = Cypress.moment(Today, 'MM/ddd/yyyy')._i;\n date = date.replace(/[^[a-zA-Z]/g, '');\n if (date == 'Sun') {\n var Saturday = Cypress.moment().add(6, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(0, 'days').startOf('day');\n }\n if (date == 'Mon') {\n var Saturday = Cypress.moment().add(5, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(1, 'days').startOf('day');\n }\n if (date == 'Tue') {\n var Saturday = Cypress.moment().add(4, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(2, 'days').startOf('day');\n }\n if (date == 'Wed') {\n var Saturday = Cypress.moment().add(3, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(3, 'days').startOf('day');\n }\n if (date == 'Thu') {\n var Saturday = Cypress.moment().add(2, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(4, 'days').startOf('day');\n }\n if (date == 'Fri') {\n var Saturday = Cypress.moment().add(1, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(5, 'days').startOf('day');\n }\n if (date == 'Sat') {\n var Saturday = Cypress.moment().add(0, 'days').startOf('day');\n var Sunday = Cypress.moment().subtract(6, 'days').startOf('day');\n }\n Saturday = Cypress.moment(Saturday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Saturday = new Date(Saturday);\n Sunday = Cypress.moment(Sunday, \"MM/DD/yyyy\").format('MM/DD/yyyy');\n Sunday = new Date(Sunday);\n expect(datetxt).within(Sunday, Saturday);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Last Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n if (month == 1) {\n month = 12;\n } else {\n month = month - 1;\n }\n expect(dateMonth).equal(month);\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_at]\"]').select('Current Month', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#table-scroll tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth); //var datetxt = Cypress.moment(dateString, 'MM/DD/yyyy hh:mm').format('MM/DD/yyyy hh:mm');\n var Today = Cypress.moment().format('MM/DD/yyyy');\n var month = Cypress.moment(Today, 'MM/ddd/yyyy').format('MM');\n month = parseInt(month);\n expect(dateMonth).equal(month);\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/29filter_by_CreatedAt.spec.js:105:8)","diff":null},"uuid":"2d61e70d-72d8-47a7-aaf6-2414e44f0a0e","parentUUID":"2dd950f9-8101-4d50-8332-fe51231dd859","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2d61e70d-72d8-47a7-aaf6-2414e44f0a0e"],"pending":[],"skipped":[],"duration":535,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9b337406-4bee-438e-aa5a-35c0784918e7","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/30filter_by_CreatedBy.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/30filter_by_CreatedBy.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"347851da-aaf5-4a76-9182-52d130dc490c","title":"Filter customers by Created By","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by Created By Filters customers based on given condition","timedOut":null,"duration":479,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000); // cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created By\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-created_by-input-results').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('subscriptionflowadmin');\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').select(\"isn't\", {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-created_by-input-results li').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/30filter_by_CreatedBy.spec.js:105:8)","diff":null},"uuid":"268d2843-ca54-4ac4-8aba-47b8febf039d","parentUUID":"347851da-aaf5-4a76-9182-52d130dc490c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["268d2843-ca54-4ac4-8aba-47b8febf039d"],"pending":[],"skipped":[],"duration":479,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48835647-7b4b-44a3-a866-a06db27ac4fe","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/31clear_filter.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/31clear_filter.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7f123354-9a20-48e2-a0cb-f50dfc787b8f","title":"Clear filter","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Clear Filters should bring back unfiltered list","fullTitle":"Clear filter Clear Filters should bring back unfiltered list","timedOut":null,"duration":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#created_by').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('#customer_number').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000); // cy.get('#toggleFilterSidebar').click({force:true})\ncy.wait(1000);\nvar m = 0;\nvar n;\nvar oldcust = [];\ncy.get('#listViewTableEl thead th').each(function (elements) {\n if (elements.text() == \"Customer Number\") {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(n).each(function (element) {\n //var normalizedelement = normalizeText(element.text())\n oldcust.push(element.text());\n });\n } else {\n m = m + 1;\n }\n});\nvar x = 0;\nvar y;\ncy.get('.sf-listview-sidebar #search-form .search_form_container ul li label').each(function (spans) {\n var text = spans.text().trim();\n if (text == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n var i = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Created By\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n console.log(j);\n cy.get('.filerSelect [name=\"filter_condition[created_by]\"]').scrollIntoView().should('be.visible').select('is', {\n force: true\n });\n cy.get('#select2-created_by-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#select2-created_by-input-results').contains('SubscriptionFlow Admin').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(function (elements) {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('subscriptionflowadmin');\n });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.get('button').contains('Clear').click({\n force: true\n});\ncy.wait(10000);\nvar a = 0;\nvar b;\nvar newcust = [];\ncy.get('#listViewTableEl thead th').each(function (elements) {\n if (elements.text() == \"Customer Number\") {\n b = \"[data-sfuniqueid = dataTable__table-td-\" + a + \"]\";\n cy.get(b).each(function (element) {\n newcust.push(element.text());\n });\n } else {\n a = a + 1;\n }\n});\ncy.wrap(oldcust).should(\"deep.equal\", newcust);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/31clear_filter.spec.js:105:8)","diff":null},"uuid":"23ada285-6664-4a6d-b26c-3415f3a25b5c","parentUUID":"7f123354-9a20-48e2-a0cb-f50dfc787b8f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["23ada285-6664-4a6d-b26c-3415f3a25b5c"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0bf65b3e-0e5f-4795-a7ec-26ef52dd6d47","title":"","fullFile":"cypress/integration/SF/i-order/01-create_order.spec.js","file":"cypress/integration/SF/i-order/01-create_order.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b68a4665-e76b-4769-91d9-0d9b38680133","title":"Create Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"A termed order is created and verified","fullTitle":"Create Order A termed order is created and verified","timedOut":null,"duration":4692,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.log('order-1: ', order1);\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.log('invoice-1: ', invoice1);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').then(function ($myElement) {\n // svg-inline--fa fa-bars fa-w-14 mr-1\n // svg-inline--fa fa-bars fa-w-14 fa-2x\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa-2x').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.justify-content-between > .d-flex > .btn-primary').should('be.visible');\n cy.get('#navbarDropdownQuickCreate').click({\n force: true\n });\n cy.get('.dropdown-menu.dropdown-menu-right.show').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore', {\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear({\n force: true\n }).type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\n cy.wait(7000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer #relatedViewTableEl tr td a').eq(0).click({\n force: true\n});\ncy.get('.row div', {\n timeout: 7000\n}).contains('Termed').then(function (type) {\n expect(type.text()).equal('Termed');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/01-create_order.spec.js:103:8)","diff":null},"uuid":"f3de0a09-55c8-44da-8bf8-bdcfcb4d9d3f","parentUUID":"b68a4665-e76b-4769-91d9-0d9b38680133","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f3de0a09-55c8-44da-8bf8-bdcfcb4d9d3f"],"pending":[],"skipped":[],"duration":4692,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"846ff401-64fc-435e-95a2-e770e663a4f3","title":"","fullFile":"cypress/integration/SF/i-order/02-create-evergreen-order.spec.js","file":"cypress/integration/SF/i-order/02-create-evergreen-order.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2c4f639d-e83a-4f54-8c77-2d8b993fa4b1","title":"Create Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"A termed order is created and verified","fullTitle":"Create Order A termed order is created and verified","timedOut":null,"duration":4664,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.log('order-1: ', order1);\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.log('invoice-1: ', invoice1);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').then(function ($myElement) {\n // svg-inline--fa fa-bars fa-w-14 mr-1\n // svg-inline--fa fa-bars fa-w-14 fa-2x\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa-2x').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navItem-additional_modules\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.justify-content-between > .d-flex > .btn-primary').should('be.visible');\n cy.get('#navbarDropdownQuickCreate').click({\n force: true\n });\n cy.get('.dropdown-menu.dropdown-menu-right.show').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore', {\n force: true\n });\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#type-evergreen').click({\n force: true\n }).should('be.checked');\n cy.wait(5000);\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\n cy.wait(7000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer #relatedViewTableEl tr td a').eq(0).click({\n force: true\n});\ncy.get('.row div').contains('Evergreen').then(function (type) {\n expect(type.text()).equal('Evergreen');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/02-create-evergreen-order.spec.js:103:8)","diff":null},"uuid":"65135e2b-a363-40bd-92c9-7105614e5a5f","parentUUID":"2c4f639d-e83a-4f54-8c77-2d8b993fa4b1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["65135e2b-a363-40bd-92c9-7105614e5a5f"],"pending":[],"skipped":[],"duration":4664,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c456e2d2-f013-4f80-af8c-d6255f680113","title":"","fullFile":"cypress/integration/SF/i-order/03-create-trial-order.spec.js","file":"cypress/integration/SF/i-order/03-create-trial-order.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"81c4daf3-b55b-433b-ae35-9b88ea740a39","title":"Create Trial Subscription Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"A trial subscription order is created and verified","fullTitle":"Create Trial Subscription Order A trial subscription order is created and verified","timedOut":null,"duration":4550,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('#lv_filter_hide').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.related-list > .nav-link').trigger('mouseover', {\n force: true\n});\ncy.get('.related-list > .nav-link .show-cog .fa-cog').click({\n force: true\n});\ncy.get('#relatedModule_rightSelected').click({\n force: true\n});\ncy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n});\ncy.wait(5000);\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('label[for=\"enable-trial\"]').click({\n force: true\n });\n cy.get('.row.trial-toggle h6').should('be.visible');\n cy.get('#trial_period-input').type('3', {\n force: true\n });\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.badge').eq(2).then(function (type) {\n expect(type.text()).equal('Trial');\n expect(type).to.have[\"class\"]('badge-status-trial');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/03-create-trial-order.spec.js:103:8)","diff":null},"uuid":"459869c0-4c2a-4c79-afeb-071b78df3783","parentUUID":"81c4daf3-b55b-433b-ae35-9b88ea740a39","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["459869c0-4c2a-4c79-afeb-071b78df3783"],"pending":[],"skipped":[],"duration":4550,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dfc38f2d-062e-430a-881a-41b4c6c30510","title":"","fullFile":"cypress/integration/SF/i-order/04-giftsubs.spec.js","file":"cypress/integration/SF/i-order/04-giftsubs.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c66457ac-edf0-4e86-b697-8d6f34eaf394","title":"Create Gift Subscription Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"A gift subscription order is created and verified","fullTitle":"Create Gift Subscription Order A gift subscription order is created and verified","timedOut":null,"duration":4556,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('label[for=\"is-gift\"]').click({\n force: true\n });\n cy.get('.row.gift-toggle h6').should('be.visible');\n cy.get('#select2-recipient_id-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__option').click({\n force: true\n });\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header').contains('Gift').then(function (type) {\n expect(type.text()).contains('Gift Detail');\n});\ncy.get('.detail-text').contains('Andy Barymore').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/04-giftsubs.spec.js:103:8)","diff":null},"uuid":"b6cecf70-1e9e-44df-94bc-25a4d477656b","parentUUID":"c66457ac-edf0-4e86-b697-8d6f34eaf394","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b6cecf70-1e9e-44df-94bc-25a4d477656b"],"pending":[],"skipped":[],"duration":4556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef57e5a7-9f8d-4418-8753-1c296ada40bb","title":"","fullFile":"cypress/integration/SF/i-order/05-modify-existing-subs.spec.js","file":"cypress/integration/SF/i-order/05-modify-existing-subs.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e6e13c85-8dcd-4f0f-aa2c-b8bef1c588f5","title":"Modify an Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"An order is modified and verified","fullTitle":"Modify an Order An order is modified and verified","timedOut":null,"duration":4555,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.wait(5000);\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(15000);\n cy.get('tbody tr td').then(function (element) {\n if (element.text().includes(\"Draft\")) {\n cy.get('.btn.btn-warning').contains('Select').click({\n force: true\n });\n cy.wait(12000);\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('[wt-paste=\"product-row\"] > :nth-child(1) > :nth-child(3)').trigger('mouseover', {\n force: true\n });\n cy.get('.svg-inline--fa.fa-times-circle.fa-w-16.fs-1.text-warning').eq(0).click({\n force: true\n });\n cy.get('.col-md-3 > .btn').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.text-900 > tr > :nth-child(1)').should('contain', 'Product');\n cy.get('.text-900 > tr > :nth-child(2)').should('contain', 'Plan');\n cy.get('.text-900 > tr > :nth-child(3)').should('contain', 'Coupon');\n cy.wait(5000);\n cy.get(':nth-child(2) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.url().should('include', '/customer-detail');\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n }, {\n multiple: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n });\n cy.get('#related-table-subscription [data-sfuniqueid=\"dataTable__table-td-1\"] a').eq(0).click({\n force: true\n });\n cy.wait(5000);\n cy.get(':nth-child(1) > .card-body > .display-4').contains('Active').then(function (type) {\n expect(type.text()).equal('Active ');\n });\n }\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/05-modify-existing-subs.spec.js:103:8)","diff":null},"uuid":"57e6d355-e187-40fa-8f2d-73161ea72728","parentUUID":"e6e13c85-8dcd-4f0f-aa2c-b8bef1c588f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["57e6d355-e187-40fa-8f2d-73161ea72728"],"pending":[],"skipped":[],"duration":4555,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4a04f3e1-08e0-4db8-ab0d-c460578cdc51","title":"","fullFile":"cypress/integration/SF/i-order/06-increase-quantity.spec.js","file":"cypress/integration/SF/i-order/06-increase-quantity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"14f25e74-dc86-47a9-8cf4-c174f2683022","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The quantity of existing order is increased","fullTitle":"Modify Order The quantity of existing order is increased","timedOut":null,"duration":4516,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n // cy.get('.nav-link').contains('More').click({force:true})\n // cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(($myElement)=>{\n // if(($myElement.is(\":hidden\"))){\n // cy.wait(8000)\n // cy.get('.fa.fa-bars').click({force:true}).then(()=>{\n // cy.get('#multiselect_rightAll').click({force:true}).then(()=>{\n // cy.get('#nav-configuration').click({force:true})\n // })\n // }) \n // }\n // })\n cy.get('#navbarDropdownQuickCreate > .svg-inline--fa').click({\n force: true\n }); // cy.get('.nav-link').contains('More').click({force:true})\n cy.get('[href=\"https://awais.subscriptionflow.com/en/orders/create\"]').click({\n force: true\n });\n cy.wait(8000);\n cy.url().should('include', '/orders');\n cy.get('.select2-selection__arrow').click({\n force: true\n });\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(5000);\n cy.get('#select2-customer_id-input-results li').first().click({\n force: true\n });\n cy.wait(5000);\n cy.get('.form-group > .btn-primary').should('be.visible').click({\n force: true\n }); // cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({force:true})\n // cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({force:true})\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(8000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(40000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"number\"].quantity-input.calculate-amount').clear().type('3', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n newPrice = newPrice * 3;\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.eq(parseInt(newPrice2));\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n });\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/06-increase-quantity.spec.js:106:8)","diff":null},"uuid":"7da88734-b5a1-4fa9-97aa-d92677df6aa0","parentUUID":"14f25e74-dc86-47a9-8cf4-c174f2683022","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7da88734-b5a1-4fa9-97aa-d92677df6aa0"],"pending":[],"skipped":[],"duration":4516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d546ef67-cc0c-44ad-97ae-3fcf22928e37","title":"","fullFile":"cypress/integration/SF/i-order/07-decrease-quantity.spec.js","file":"cypress/integration/SF/i-order/07-decrease-quantity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d3cef9ae-9f1e-4452-a6d4-8b3cced4200f","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The quantity of existing order is decreased","fullTitle":"Modify Order The quantity of existing order is decreased","timedOut":null,"duration":4520,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(8000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('input[type=\"text\"].quantity-input.calculate-amount').clear().type('3', {\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).not.to.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(40000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('input[type=\"number\"].quantity-input.calculate-amount').clear().type('1', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var pr1 = newPrice;\n newPrice = newPrice / 3;\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.eq(parseInt(newPrice2));\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var j;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(k).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(pr1 - newPrice2);\n });\n } else {\n k = k + 1;\n }\n });\n });\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/07-decrease-quantity.spec.js:106:8)","diff":null},"uuid":"dd5465f5-b236-4cbe-aaa5-f8b4de584606","parentUUID":"d3cef9ae-9f1e-4452-a6d4-8b3cced4200f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd5465f5-b236-4cbe-aaa5-f8b4de584606"],"pending":[],"skipped":[],"duration":4520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d221db35-067a-4820-91b9-0f2701aef98e","title":"","fullFile":"cypress/integration/SF/i-order/08-increase-price.spec.js","file":"cypress/integration/SF/i-order/08-increase-price.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2fbc9b2d-ae26-4a1e-a3d5-1b24b4061e8f","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The price of existing order is increased","fullTitle":"Modify Order The price of existing order is increased","timedOut":null,"duration":4531,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(40000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('input.price-input').clear().type('40', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.not.eq(parseInt(newPrice2));\n expect(newPrice2).to.eq(40);\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n });\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.wait(8000);\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/08-increase-price.spec.js:106:8)","diff":null},"uuid":"0f9196d9-42cd-4fca-a25d-c72a5b443cee","parentUUID":"2fbc9b2d-ae26-4a1e-a3d5-1b24b4061e8f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0f9196d9-42cd-4fca-a25d-c72a5b443cee"],"pending":[],"skipped":[],"duration":4531,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f05a5f8e-7c2f-4f5c-a84e-3a942dd87d54","title":"","fullFile":"cypress/integration/SF/i-order/09-decrease-price.spec.js","file":"cypress/integration/SF/i-order/09-decrease-price.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"85e1667f-5ef7-4f12-a348-669be08c08b9","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The price of existing order is decreased","fullTitle":"Modify Order The price of existing order is decreased","timedOut":null,"duration":4564,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function (Price1) {\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).not.to.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(30000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(7000);\n cy.get('input.price-input').clear().type('10', {\n force: true\n });\n cy.get('.sub-total').then(function (Price2) {\n var newPrice = Price1.text().replace(/[$€,]+/g, \"\");\n newPrice = parseFloat(newPrice);\n var newPrice2 = Price2.text().replace(/[$€,]+/g, \"\");\n newPrice2 = parseFloat(newPrice2);\n expect(newPrice).to.not.eq(parseInt(newPrice2));\n expect(newPrice2).to.eq(10);\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n cy.get('#relatedList-bulk-action-CreditNote_Customer tbody td').eq(k).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(newPrice - newPrice2);\n });\n } else {\n k = k + 1;\n }\n });\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/09-decrease-price.spec.js:106:8)","diff":null},"uuid":"d8fe5403-9cf5-429f-84d9-fb6a942e77fc","parentUUID":"85e1667f-5ef7-4f12-a348-669be08c08b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d8fe5403-9cf5-429f-84d9-fb6a942e77fc"],"pending":[],"skipped":[],"duration":4564,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e77553be-ad60-48cc-81f7-dbaabcebd5d0","title":"","fullFile":"cypress/integration/SF/i-order/10-change-plan-downgrade.spec.js","file":"cypress/integration/SF/i-order/10-change-plan-downgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"425b6402-803c-4991-a0e9-baa8d25299f6","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The plan against product is changed and verified","fullTitle":"Modify Order The plan against product is changed and verified","timedOut":null,"duration":4554,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n cy.log(\"Price1:\" + Price1);\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n cy.log(\"tot1:\" + tot1);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(50000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n }); // cy.get('.select2-results__options li').contains('tiered').click({force:true})\n cy.get('input.quantity-input').type('1', {\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n cy.log(\"Price2:\" + Price2);\n cy.log(\"tot2:\" + tot2);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.log(\"tot1:\" + tot1);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n var k = -1;\n var i;\n var j;\n cy.get('#relatedList-bulk-action-Invoice_Customer thead th').each(function (element) {\n if (element.text().includes(\"Opening Balance\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else if (element.text().includes(\"Closing Balance\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(j);\n }\n k++;\n }).then(function () {\n cy.log(\"opening\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + i);\n cy.log(\"closing\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + j);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + i).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + j).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n cy.log('tot1' + tot1);\n cy.log('tot2' + tot2);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/10-change-plan-downgrade.spec.js:106:8)","diff":null},"uuid":"b18f4110-b0f9-4f67-a992-1da636555a33","parentUUID":"425b6402-803c-4991-a0e9-baa8d25299f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b18f4110-b0f9-4f67-a992-1da636555a33"],"pending":[],"skipped":[],"duration":4554,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8834051a-ecc5-47cc-917a-9312c73d6d1b","title":"","fullFile":"cypress/integration/SF/i-order/11-change-plan-upgrade.spec.js","file":"cypress/integration/SF/i-order/11-change-plan-upgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d577065b-9dab-411d-b486-61a3c35ba041","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The plan against product is changed and verified","fullTitle":"Modify Order The plan against product is changed and verified","timedOut":null,"duration":4524,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('.nav-wrapper').its('length').then(function (len) {\n if (len > 1) {\n cy.log(\"length here\" + len);\n } else {\n cy.get('.related-list').trigger('mouseover');\n cy.get('.ml-auto.show-cog.test-pull-right.cursor_p .fa-cog').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedModule_rightAll').click({\n force: true\n });\n cy.get('#related_module_list > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(10000);\n }\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n cy.log(\"Price1:\" + Price1);\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n cy.log(\"tot1:\" + tot1);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(60000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n }); // cy.get('.select2-results__options li').contains('tiered').click({force:true})\n cy.get('input.quantity-input').type('1', {\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n cy.log(\"Price2:\" + Price2);\n cy.log(\"tot2:\" + tot2);\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.log(\"tot1:\" + tot1);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n var k = -1;\n var i;\n var j;\n cy.get('#relatedList-bulk-action-Invoice_Customer thead th').each(function (element) {\n if (element.text().includes(\"Opening Balance\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else if (element.text().includes(\"Closing Balance\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(j);\n }\n k++;\n }).then(function () {\n cy.log(\"opening\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + i);\n cy.log(\"closing\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + j);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + i).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + j).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n cy.log('tot1' + tot1);\n cy.log('tot2' + tot2);\n var ClosingBalance1 = OpeningBalance + tot2 - tot1;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/11-change-plan-upgrade.spec.js:106:8)","diff":null},"uuid":"1fedcb55-079e-47ef-a1be-38999775baf9","parentUUID":"d577065b-9dab-411d-b486-61a3c35ba041","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1fedcb55-079e-47ef-a1be-38999775baf9"],"pending":[],"skipped":[],"duration":4524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c16fc83-582f-4199-9937-dbe1f94cf53a","title":"","fullFile":"cypress/integration/SF/i-order/12-change-product-upgrade.spec.js","file":"cypress/integration/SF/i-order/12-change-product-upgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0b884de7-19c4-415b-8c2d-5e58d74d88c4","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The product is changed and verified","fullTitle":"Modify Order The product is changed and verified","timedOut":null,"duration":4536,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n cy.log(\"Text here \" + total.text());\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(45000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(12000);\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2 - tot1;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/12-change-product-upgrade.spec.js:106:8)","diff":null},"uuid":"b1737679-7bdf-4a0e-9eff-0d6473658803","parentUUID":"0b884de7-19c4-415b-8c2d-5e58d74d88c4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b1737679-7bdf-4a0e-9eff-0d6473658803"],"pending":[],"skipped":[],"duration":4536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"641bef39-f94b-4492-9cc5-bdd7dff57fee","title":"","fullFile":"cypress/integration/SF/i-order/13-change-product-downgrade.spec.js","file":"cypress/integration/SF/i-order/13-change-product-downgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d4c06051-5d0c-4b77-a8d9-3697a1744b4e","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"The product is changed and verified","fullTitle":"Modify Order The product is changed and verified","timedOut":null,"duration":4553,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n cy.log(\"Text here \" + total.text());\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(45000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n });\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.not.eq(tot1);\n });\n cy.wait(12000);\n cy.reload().then(function () {\n if (tot2 < tot1) {\n cy.get('[href=\"#CreditNote-subpanel\"]').contains(' Credits ').click({\n force: true\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-CreditNote_Customer thead th').each(function (element) {\n if (element.text().includes(\"Amount\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-CreditNote_Customer > #example1 > tbody > :nth-child(1) > ' + i).then(function (credit) {\n var cred = credit.text().replace(/[$€,]+/g, \"\");\n cred = parseFloat(cred);\n expect(cred).to.eq(tot1);\n });\n });\n }\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/13-change-product-downgrade.spec.js:106:8)","diff":null},"uuid":"7c0bd63a-cd6d-4959-89bc-125b62db2ff8","parentUUID":"d4c06051-5d0c-4b77-a8d9-3697a1744b4e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7c0bd63a-cd6d-4959-89bc-125b62db2ff8"],"pending":[],"skipped":[],"duration":4553,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2eea9950-d123-4778-bd59-c0f232f0808d","title":"","fullFile":"cypress/integration/SF/i-order/14-add-line-item.spec.js","file":"cypress/integration/SF/i-order/14-add-line-item.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"99d665d3-e71b-4838-9e14-88949633d7b4","title":"Modify Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"new line item is added and verified","fullTitle":"Modify Order new line item is added and verified","timedOut":null,"duration":4547,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.get('.btn-dark').should('be.visible');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('.form-group > .btn-primary').click({\n force: true\n });\n cy.wait(10000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-termed').should('be.checked');\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(5000);\n cy.get('tr').should('contain', 'Product');\n cy.get('tr').should('contain', 'Plan');\n cy.get('tr').should('contain', 'Coupon');\n cy.get('.select2-selection__rendered').eq(1).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n var tot1 = 0;\n var tot2 = 0;\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total) {\n var Price1 = total.text().replace(/[$€,]+/g, \"\");\n Price1 = parseFloat(Price1);\n tot1 = tot1 + Price1;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n });\n cy.wait(3000);\n cy.wait(5000);\n cy.url().should('include', '/en/orders');\n cy.contains('Customers').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.contains('Customers').click({\n force: true\n });\n cy.url().should('include', '/customers');\n cy.get('#basic_search').type('Andy Barymore', {\n force: true\n }).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n });\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n });\n cy.get('.btn-dark').click({\n force: true\n });\n cy.wait(45000);\n cy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n });\n cy.wait(8000);\n cy.get('[wt-more=\"product-row\"]').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(2).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n });\n cy.get('.select2-selection__rendered').eq(3).click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-results__options li').contains('Volume').click({\n force: true\n });\n cy.get('.sub-total').then(function () {\n cy.get('.sub-total').each(function (total2) {\n var Price2 = total2.text().replace(/[$€,]+/g, \"\");\n Price2 = parseFloat(Price2);\n tot2 = tot2 + Price2;\n });\n cy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n }).then(function () {\n cy.wait(10000);\n expect(tot2).to.be.greaterThan(tot1);\n });\n cy.wait(18000);\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n });\n cy.get('#related-table-order .recordsCount small').then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (tot2 - tot1);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/14-add-line-item.spec.js:106:8)","diff":null},"uuid":"251459cb-c925-4b10-becb-866ac2efce63","parentUUID":"99d665d3-e71b-4838-9e14-88949633d7b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["251459cb-c925-4b10-becb-866ac2efce63"],"pending":[],"skipped":[],"duration":4547,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"075df3df-e723-4c2d-a43e-7982963e2d15","title":"","fullFile":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/01Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js","file":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/01Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7836dd06-d664-43d5-aefd-ee400b95e213","title":"Add Payment Method using Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using Make payment through card using Authorize.Net","fullTitle":"Add Payment Method using Make Payment Add Payment Method using Make payment through card using Authorize.Net","timedOut":null,"duration":335,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n ////////////\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n ///////////\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n}); // //////////////////\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('Card', {\n force: true\n});\ncy.get('#payment-method-link').click({\n force: true\n}); //////////\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\nvar rand = userID_Alpha_Numeric();\ncy.get('#first_name-input').clear().type('FName' + rand);\ncy.get('#last_name-input').clear().type('LName');\ncy.get('#email-input').clear().type('FName' + rand + '@mail.com');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('#card_number-input').type('4111111111111111');\ncy.get('#expiry_month-input').select('08').should('have.value', '08');\ncy.get('#expiry_year-input').select('2021').should('have.value', '2021');\ncy.get('#card_cvv-input').type('765');\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('1111');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/01Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js:104:8)","diff":null},"uuid":"7d5bb105-6fa6-4d09-80e4-c19064f12cc0","parentUUID":"7836dd06-d664-43d5-aefd-ee400b95e213","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7d5bb105-6fa6-4d09-80e4-c19064f12cc0"],"pending":[],"skipped":[],"duration":335,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"64eb4aae-3804-49ff-9066-ef809082eacc","title":"","fullFile":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/02Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js","file":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/02Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"58bbf517-cae2-4c88-8cf4-243c5536a49f","title":"Add Payment Method using Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using Make payment through ACH using Authorize.Net","fullTitle":"Add Payment Method using Make Payment Add Payment Method using Make payment through ACH using Authorize.Net","timedOut":null,"duration":520,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck', {\n force: true\n});\ncy.get('#payment-method-link').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Authorize.Net', {\n force: true\n});\ncy.get('#first_name-input').clear().type('FName', {\n force: true\n});\ncy.get('#last_name-input').clear().type('LName', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York', {\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('input[name=\"billing_address1\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('input[name=\"billing_address2\"]').clear({\n force: true\n}).type('1111', {\n force: true\n});\ncy.get('#payment_option-ACH').click({\n force: true\n});\ncy.get('#routing_number-input').type('021000021', {\n force: true\n});\ncy.get('#account_number-input').type('111111114', {\n force: true\n});\ncy.wait(8000);\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('1114');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/02Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js:104:8)","diff":null},"uuid":"b5b695bd-edcb-4d46-ae8a-2b572aec389a","parentUUID":"58bbf517-cae2-4c88-8cf4-243c5536a49f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5b695bd-edcb-4d46-ae8a-2b572aec389a"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f6561d3b-e80a-4f17-94ba-73f7f2206298","title":"","fullFile":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/04Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js","file":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/04Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3af613e7-d9c8-4608-92bf-94ebc3478e8f","title":"Add Payment Method using Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using Make payment through Card using Stripe","fullTitle":"Add Payment Method using Make Payment Add Payment Method using Make payment through Card using Stripe","timedOut":null,"duration":504,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('Card', {\n force: true\n});\ncy.get('#payment-method-link').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Stripe', {\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(7000);\ncy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-search__field').type('New York');\ncy.wait(7000);\ncy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.wait(8000);\ncy.get('#save_button_dis').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#payment_method_id-input option').each(function (option) {\n if (option.text().includes('Default')) {\n expect(option.text()).to.include('4242');\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/04Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js:104:8)","diff":null},"uuid":"d2765329-db68-4b0e-a5b7-dd53d62df184","parentUUID":"3af613e7-d9c8-4608-92bf-94ebc3478e8f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d2765329-db68-4b0e-a5b7-dd53d62df184"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"230e2bae-fe75-4993-8c7b-69a50b2a4843","title":"","fullFile":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/05Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js","file":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/05Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7fb30b8f-cb5a-4d54-bc3a-81cba2caa276","title":"Add Payment Method using Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using Make payment through ACH using Stripe","fullTitle":"Add Payment Method using Make Payment Add Payment Method using Make payment through ACH using Stripe","timedOut":null,"duration":512,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n }\n });\n cy.url().then(function (custUrl) {\n cy.visit(myUrl);\n cy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck', {\n force: true\n });\n cy.get('#payment-method-link').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#payment-gateway-input').select('Stripe', {\n force: true\n });\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(10000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(15000);\n cy.get('.select2-search__field').type('Adams');\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address1\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address2\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('#payment_option-ACH').click({\n force: true\n });\n cy.get('#routing_number-input').type('110000000');\n cy.get('#account_number-input').type('000123456789');\n cy.wait(8000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(20000);\n cy.visit(custUrl);\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n }); // cy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({ force: true })\n cy.wait(8000);\n cy.get('#amount1-input').type('32');\n cy.get('#amount2-input').type('45');\n cy.get('#verify_button').click({\n force: true\n });\n cy.wait(8000);\n cy.visit(myUrl);\n});\ncy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck');\nvar flag = false;\ncy.get('#payment_method_id-input option').then(function (options) {\n cy.get(options).each(function (option) {\n if (!option.attr('style') && option.text() != 'Select A Method') {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n flag = true;\n return false;\n }\n }).then(function () {\n if (!flag) {\n addPayMethod();\n cy.get('#payment_method_id-input option').contains('Default').then(function (option) {\n var option_text = option.text().trim();\n cy.get('#payment_method_id-input').select(option_text);\n });\n }\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('#sale_form > .modal-footer > #invoice_paid_button').click({\n force: true\n});\ncy.wait(10000); // cy.get('#payment_method_id-input option').each(option=>{\n// if((option.text()).includes('Default')){\n// expect(option.text()).to.include('2227')\n// }\n// })","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/05Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js:104:8)","diff":null},"uuid":"e262f583-d22e-4f9e-bca8-ee44e8c5bc18","parentUUID":"7fb30b8f-cb5a-4d54-bc3a-81cba2caa276","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e262f583-d22e-4f9e-bca8-ee44e8c5bc18"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ff823658-9cf5-418e-a764-0fb7e5930b0e","title":"","fullFile":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/06Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js","file":"cypress/integration/SF/j-invoices/Add Payment Method using Make Payment/06Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b9755cf7-bf34-43fe-a80d-a3b093e689f9","title":"Add Payment Method using Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Add Payment Method using Make payment through ACH using GoCardless","fullTitle":"Add Payment Method using Make Payment Add Payment Method using Make payment through ACH using GoCardless","timedOut":null,"duration":496,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .link-primary').click({\n force: true\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer').then(function (rows) {\n if (!rows.text().includes('No Records Found')) {\n cy.get('#check-all-PaymentMethod_Customer').click({\n force: true\n });\n cy.get('#action-menu-PaymentMethod_Customer .fa-caret-down').click({\n force: true\n });\n cy.get('a[data-model=\"PaymentMethod\"]').contains('Delete').click({\n force: true\n });\n cy.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.url().then(function (custUrl) {\n cy.visit(myUrl);\n cy.get('.border-bottom .text-right > .btn-group > .btn').click({\n force: true\n });\n cy.get('.dropdown-menu.show a').contains('Process Payment').click({\n force: true\n });\n cy.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck', {\n force: true\n });\n cy.get('#payment-method-link').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#payment-gateway-input').select('GoCardless', {\n force: true\n });\n cy.get('#select2-billing_country-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('United States');\n cy.wait(7000);\n cy.get('#select2-billing_country-input-results li').contains('United States').click({\n force: true\n });\n cy.get('#select2-billing_state-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('New York');\n cy.wait(7000);\n cy.get('#select2-billing_state-input-results li').contains('New York').click({\n force: true\n });\n cy.get('#select2-billing_city-input-container').click({\n force: true\n });\n cy.wait(7000);\n cy.get('.select2-search__field').type('Adams');\n cy.wait(7000);\n cy.get('#select2-billing_city-input-results li').contains('Adams').click({\n force: true\n });\n cy.get('input[name=\"billing_postalcode\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address1\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('input[name=\"billing_address2\"]').clear({\n force: true\n }).type('1111', {\n force: true\n });\n cy.get('#payment_option-ACH').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#save_button_dis').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(custUrl);\n });\n cy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer table tr td').contains('GoCardless').should('exist');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/06Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js:104:8)","diff":null},"uuid":"7fbcb794-4e20-44c1-818f-0cf2d7943497","parentUUID":"b9755cf7-bf34-43fe-a80d-a3b093e689f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7fbcb794-4e20-44c1-818f-0cf2d7943497"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bbe48cfa-e6ef-4d5e-9ae0-2aa37f662ac2","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d7b6d32c-02be-4ebf-82d4-1c016717d1e2","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.wait(10000);\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1); //////////////////////////////\n //////////////////////////////\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n }); /////////////////////////////////////////////////////\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/01Make_Payment_Cash.spec.js:101:8)","diff":null},"uuid":"481441a7-a09e-4125-af87-fe84ead9e6da","parentUUID":"d7b6d32c-02be-4ebf-82d4-1c016717d1e2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["481441a7-a09e-4125-af87-fe84ead9e6da"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"50ade05b-29d6-47c6-a910-32414b555d9f","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2a235dfb-cff3-4c8b-bf76-faeb85905fc9","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":515,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2); //////////////////////////////\n //////////////////////////////\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/02Make_Payment_Writeoff.spec.js:101:8)","diff":null},"uuid":"d994d278-36cb-4496-b7f0-229b683a9b38","parentUUID":"2a235dfb-cff3-4c8b-bf76-faeb85905fc9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d994d278-36cb-4496-b7f0-229b683a9b38"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ce3483d-51f7-4547-b3f4-08e4386b9689","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"61d09f84-b3b9-4e9a-a2e7-4f1c63962e68","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Bank Transfer","fullTitle":"Make Payment Make payment through Bank Transfer","timedOut":null,"duration":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\nvar newamount;\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/03Make_Payment_BankTransfer.spec.js:101:8)","diff":null},"uuid":"31957d8c-f72b-4573-a575-d86b79a3770f","parentUUID":"61d09f84-b3b9-4e9a-a2e7-4f1c63962e68","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31957d8c-f72b-4573-a575-d86b79a3770f"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1081c63f-e980-464d-83eb-a2c5f0773545","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"62eab11a-f731-4ee8-9a2d-2138d26a952f","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cheque with Status Paid","fullTitle":"Make Payment Make payment through Cheque with Status Paid","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\nvar newamount;\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/04Make_Payment_Cheque_Status_Paid.spec.js:101:8)","diff":null},"uuid":"4df4f65f-e29f-454b-ba96-e20fdc4a677c","parentUUID":"62eab11a-f731-4ee8-9a2d-2138d26a952f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4df4f65f-e29f-454b-ba96-e20fdc4a677c"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0acc4a0b-eb3c-4a3d-a384-8d28f54b2901","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ae332fac-8526-4b6c-86c3-dbbd09bff927","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cheque with Status Pending and I Approve","fullTitle":"Make Payment Make payment through Cheque with Status Pending and I Approve","timedOut":null,"duration":567,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js:101:8)","diff":null},"uuid":"068d7da7-0202-4e9f-955b-4d66b3988b6a","parentUUID":"ae332fac-8526-4b6c-86c3-dbbd09bff927","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["068d7da7-0202-4e9f-955b-4d66b3988b6a"],"pending":[],"skipped":[],"duration":567,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"125c77d7-bb0a-427a-958c-a47db3ba38c5","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8f9f71f7-40a2-407d-a07c-548a9dac125c","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cheque with Status Pending and I Decline","fullTitle":"Make Payment Make payment through Cheque with Status Pending and I Decline","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js:101:8)","diff":null},"uuid":"345f1660-e86e-4a34-8909-e77ad6a6f879","parentUUID":"8f9f71f7-40a2-407d-a07c-548a9dac125c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["345f1660-e86e-4a34-8909-e77ad6a6f879"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7249da75-0df4-44f2-8764-cdb1175c548b","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2d8f5cfd-d9d2-4fce-bb14-630fffd4f17e","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Wire with Status Paid","fullTitle":"Make Payment Make payment through Wire with Status Paid","timedOut":null,"duration":515,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/07Make_Payment_Wire_Status_Paid.spec.js:101:8)","diff":null},"uuid":"b6c58972-ce7c-4ee0-a06e-5ef89d3db020","parentUUID":"2d8f5cfd-d9d2-4fce-bb14-630fffd4f17e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b6c58972-ce7c-4ee0-a06e-5ef89d3db020"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d6231249-478c-42fd-9e6e-f196eae49846","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"97ef1260-799c-4c6e-b571-25e87e188d99","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Wire with Status Pending and I Approve","fullTitle":"Make Payment Make payment through Wire with Status Pending and I Approve","timedOut":null,"duration":514,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js:101:8)","diff":null},"uuid":"d9601c46-3654-46db-ad12-bd804e608f08","parentUUID":"97ef1260-799c-4c6e-b571-25e87e188d99","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d9601c46-3654-46db-ad12-bd804e608f08"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a8e592c-cc8f-4a56-a793-d245be2487b2","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e4229d08-0e65-4868-8bd1-e5700899345f","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Wire with Status Pending and I Decline","fullTitle":"Make Payment Make payment through Wire with Status Pending and I Decline","timedOut":null,"duration":528,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment(parseFloat(transaction1));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js:101:8)","diff":null},"uuid":"536f33a8-4f5c-452d-bfbf-2a4158903842","parentUUID":"e4229d08-0e65-4868-8bd1-e5700899345f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["536f33a8-4f5c-452d-bfbf-2a4158903842"],"pending":[],"skipped":[],"duration":528,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3a160aca-3cae-4751-9bdf-1ba2af77febe","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"230ce0c2-9662-4773-a21e-7d650af12023","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/10Make_Payment_Card.spec.js:101:8)","diff":null},"uuid":"44036d8f-2b4d-4457-8329-ff1d5aec1b69","parentUUID":"230ce0c2-9662-4773-a21e-7d650af12023","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["44036d8f-2b4d-4457-8329-ff1d5aec1b69"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a2dbe45-4c50-4076-851b-28945d0a4dc2","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"22b9f13c-f114-4c45-a947-94211fa5b011","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n cy.log(\"whole str: \", tran1);\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n cy.log(\"transaction 1: \", transaction1);\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n cy.log(\"whole str: \", tran2);\n tran2 = tran2.slice(-10, -7);\n cy.log(\"number\", tran2);\n var transaction2 = tran2.trim();\n cy.log(\"transaction 1: \", transaction2);\n var count = parseFloat(transaction1) + 1;\n expect(count).to.eq(parseFloat(transaction2));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n });\n } else {\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran3 = str1.text();\n cy.log(\"whole str: \", tran3);\n tran3 = tran3.slice(-10, -7);\n cy.log(\"number\", tran3);\n var transaction3 = tran3.trim();\n cy.log(\"transaction 1: \", transaction3);\n var count = 1;\n expect(count).to.eq(parseFloat(transaction3));\n });\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(function (element) {\n if (element.text().includes(\"Status\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else {\n k++;\n }\n }).then(function () {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(function (stat) {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/11Make_Payment_eCheck.spec.js:101:8)","diff":null},"uuid":"059d7909-483a-4039-89a8-c57822ea37a7","parentUUID":"22b9f13c-f114-4c45-a947-94211fa5b011","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["059d7909-483a-4039-89a8-c57822ea37a7"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c5fe6f31-f806-4458-a114-fba9cfe07d16","title":"","fullFile":"cypress/integration/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js","file":"cypress/integration/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7085d058-7927-476a-a7f4-7238cea3d85e","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":499,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.wait(10000);\nmakePayment();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice table tbody').eq(1).within(function () {\n cy.get('tr td a').eq(0).click({\n force: true\n });\n});\ncy.get('.card-deck :nth-child(1) > .card-body > .display-4').should('contain', 'Pending');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/12Make_Payment_PayPal.spec.js:101:8)","diff":null},"uuid":"4a7ad10c-3f0e-43ee-92ea-b36a78d022ed","parentUUID":"7085d058-7927-476a-a7f4-7238cea3d85e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a7ad10c-3f0e-43ee-92ea-b36a78d022ed"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9e71de39-e9eb-48a6-9e05-ba122611c3a2","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/01Public_Checkout_Offline_Approve.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/01Public_Checkout_Offline_Approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b5610c68-3536-4d1c-9e14-5548facb581d","title":"Public Checkout","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Offline public checkout and I approve","fullTitle":"Public Checkout Offline public checkout and I approve","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(30000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#approve-form .btn-warning').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/01Public_Checkout_Offline_Approve.spec.js:101:8)","diff":null},"uuid":"8a8edd6e-a748-4417-b1b6-c4829b4570b0","parentUUID":"b5610c68-3536-4d1c-9e14-5548facb581d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8a8edd6e-a748-4417-b1b6-c4829b4570b0"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"622b20a7-9d06-454c-8863-98284970033e","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/02Public_Checkout_Offline_Decline.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/02Public_Checkout_Offline_Decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8791fe05-f50b-455d-a629-d496f461186f","title":"Public Checkout","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Offline public checkout and I decline","fullTitle":"Public Checkout Offline public checkout and I decline","timedOut":null,"duration":503,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').scrollIntoView().should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form .btn-warning').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.not.eq('Paid ');\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/02Public_Checkout_Offline_Decline.spec.js:101:8)","diff":null},"uuid":"7d971d4a-9bc9-465b-a8b0-213ac4adad68","parentUUID":"8791fe05-f50b-455d-a629-d496f461186f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7d971d4a-9bc9-465b-a8b0-213ac4adad68"],"pending":[],"skipped":[],"duration":503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"de4082be-2063-4d65-9bae-da427ce3d54d","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/03Public_Checkout_CreditCard_AuthorizNet.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/03Public_Checkout_CreditCard_AuthorizNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c51dda5b-c841-48f4-9dd2-cc397075b101","title":"Public Checkout using AuthorizNet","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Public checkout using credit card using AuthorizeNet","fullTitle":"Public Checkout using AuthorizNet Public checkout using credit card using AuthorizeNet","timedOut":null,"duration":4897,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/03Public_Checkout_CreditCard_AuthorizNet.spec.js:103:8)","diff":null},"uuid":"e9aaa807-8d87-44cc-86b6-66afc1b2afcb","parentUUID":"c51dda5b-c841-48f4-9dd2-cc397075b101","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e9aaa807-8d87-44cc-86b6-66afc1b2afcb"],"pending":[],"skipped":[],"duration":4897,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"61f32981-fca4-4b15-bf75-3aca36610f1c","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/04Public_Checkout_BankTransfer_AuthorizeNet.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/04Public_Checkout_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"390983f3-48bb-4a71-adfa-cb8789ed4e1e","title":"Public Checkout using AuthorizNet","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Public checkout using Bank Transfer using AuthorizeNet","fullTitle":"Public Checkout using AuthorizNet Public checkout using Bank Transfer using AuthorizeNet","timedOut":null,"duration":4541,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-authorize.net.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.visit(\"https://awais.subscriptionflow.com/en/customers\");\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n });\n});\ncy.get('.pull-right > [data-title=\"New Order\"]').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-results__options li').contains('Testing Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(8000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(10000);\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\ncy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n});\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n});\ncy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().click({\n force: true\n}); // var i = -1;\n// var j;\n// cy.get('#listViewTableEl thead th').each((element)=>{\n// if((element.text()).includes(\"Total Amount\")){\n// // j = \"[data-sfuniqueid = dataTable__table-td-\" + i +\"] a\";\n// j = i;\n// }\n// else{\n// i = i + 1;\n// }\n// }).then( () => {\n// cy.log(\"j here: \"+j)\n// })\n// .then( function(){\n// var index = 0;\n// cy.get('#listViewTableEl tbody tr').each(()=> {\n// cy.get('#listViewTableEl tbody tr td').eq(j).then(amt=>{\n// var amount = (amt.text()).replace(/[^[0-9.]/g,'');\n// amount = parseInt(amount);\n// if(!(amount > 100)){\n// cy.log(amount)\n// return false;\n// }\n// })\n// index++;\n// }).then( function(){\n// cy.get('#listViewTableEl tbody tr').eq(4).first().click({force:true})\n// })\n// })\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/04Public_Checkout_BankTransfer_AuthorizeNet.spec.js:103:8)","diff":null},"uuid":"b5f50758-c300-4c74-aaea-cc0def81e5bb","parentUUID":"390983f3-48bb-4a71-adfa-cb8789ed4e1e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5f50758-c300-4c74-aaea-cc0def81e5bb"],"pending":[],"skipped":[],"duration":4541,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"593ff65e-721c-4c6b-9d33-2f376386de7c","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7be31391-d03f-4b76-a3f7-7e165feef43e","title":"Public Checkout using Stripe","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Public checkout using credit card using Stripe","fullTitle":"Public Checkout using Stripe Public checkout using credit card using Stripe","timedOut":null,"duration":4504,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(i).then(function (def) {\n if (def.text().includes('Make Default')) {\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.get(def).contains('Make Default').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModal #confirmationModalOkay').click({\n force: true\n });\n cy.wait(5000);\n return false;\n }\n });\n }\n }\n });\n});\ncy.wait(20000);\ncy.visit('https://awais.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:103:8)","diff":null},"uuid":"4b5e7f4e-2e76-4899-8572-1b680802b1c7","parentUUID":"7be31391-d03f-4b76-a3f7-7e165feef43e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b5e7f4e-2e76-4899-8572-1b680802b1c7"],"pending":[],"skipped":[],"duration":4504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0e80296-a3c7-41fa-850d-c9210659dcf0","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/08Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/08Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"665e73b2-57d1-4074-9910-468476e65ad0","title":"Public Checkout using PayPal Express Checkout","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Public checkout using PayPal Express Checkout and I approve","fullTitle":"Public Checkout using PayPal Express Checkout Public checkout using PayPal Express Checkout and I approve","timedOut":null,"duration":314,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.log(\"j here: \" + j);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran1 = str1.text();\n tran1 = tran1.slice(-10, -7);\n var transaction1 = tran1.trim();\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(function (str1) {\n var tran2 = str1.text();\n tran2 = tran2.slice(-10, -7);\n var transaction2 = tran2.trim();\n var count = parseInt(transaction1) + 1;\n expect(count).to.eq(parseInt(transaction2));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(function (trans2) {\n var count = 1;\n var transa2 = trans2.text();\n transa2 = transa2.slice(-10, -7);\n transa2 = transa2.trim();\n expect(count).to.eq(parseInt(transa2));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#approve-form .btn-warning').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/08Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js:101:8)","diff":null},"uuid":"e186838b-00a5-4abb-a960-c46449e5851c","parentUUID":"665e73b2-57d1-4074-9910-468476e65ad0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e186838b-00a5-4abb-a960-c46449e5851c"],"pending":[],"skipped":[],"duration":314,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bdd4190c-22f8-4a7d-b26e-a4e566d186ff","title":"","fullFile":"cypress/integration/SF/j-invoices/Public Checkout/09Public_Checkout_PayPal_ExpressCheckout_Decline.spec.js","file":"cypress/integration/SF/j-invoices/Public Checkout/09Public_Checkout_PayPal_ExpressCheckout_Decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f9e6c56f-7550-4a66-ad0d-634e90c8e2d4","title":"Public Checkout using PayPal Express Checkout","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Public checkout using PayPal Express Checkout and I decline","fullTitle":"Public Checkout using PayPal Express Checkout Public checkout using PayPal Express Checkout and I decline","timedOut":null,"duration":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Invoice Number\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').should('be.visible').select(\"doesn't contain\", {\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Projected').click({\n force: true\n });\n cy.get('.select2-search__field').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Void').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(function (myUrl) {\n var newamount;\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = parseInt(transaction1.text()) + 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n });\n } else {\n makePayment();\n cy.visit(myUrl);\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\n });\n }\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody a').eq(0).click({\n force: true\n });\n cy.get('a[data-target=\"#decline-modal\"]').click({\n force: true\n });\n cy.get('#decline-form textarea').type('Some reason');\n cy.get('#decline-form .btn-warning').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('.font-weight-normal.text-sans-serif.text-warning').first().then(function (status) {\n expect(status.text()).to.not.eq('Paid ');\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/invoices\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/09Public_Checkout_PayPal_ExpressCheckout_Decline.spec.js:101:8)","diff":null},"uuid":"593e6d8f-812a-4b40-9b85-17bfe0aff33f","parentUUID":"f9e6c56f-7550-4a66-ad0d-634e90c8e2d4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["593e6d8f-812a-4b40-9b85-17bfe0aff33f"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9162a741-120c-461b-8910-ca337f2da383","title":"","fullFile":"cypress/integration/SF/k-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js","file":"cypress/integration/SF/k-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0ac0e820-c9cf-457c-b4b7-74043830e781","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with unapplied amount equal to allocated, transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with unapplied amount equal to allocated, transaction should be made","timedOut":null,"duration":474,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js:101:8)","diff":null},"uuid":"f695eddf-5f04-4541-8db8-38d9ae2d9b0a","parentUUID":"0ac0e820-c9cf-457c-b4b7-74043830e781","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f695eddf-5f04-4541-8db8-38d9ae2d9b0a"],"pending":[],"skipped":[],"duration":474,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8258f6ff-6b5c-4141-983f-0ea43ff4d241","title":"","fullFile":"cypress/integration/SF/k-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js","file":"cypress/integration/SF/k-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d3ffafc2-c5a2-4d2c-8ee5-7b911d369680","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with unapplied amount greater than allocated, transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with unapplied amount greater than allocated, transaction should be made","timedOut":null,"duration":496,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js:101:8)","diff":null},"uuid":"0ea09a8f-cd44-4ff1-8774-0268c20279fd","parentUUID":"d3ffafc2-c5a2-4d2c-8ee5-7b911d369680","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0ea09a8f-cd44-4ff1-8774-0268c20279fd"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"060b02d0-066a-4ed0-b571-5d1c377009e9","title":"","fullFile":"cypress/integration/SF/k-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js","file":"cypress/integration/SF/k-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"433f02be-6a17-4884-aea5-a5c18ea7bbd1","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with unapplied amount less than allocated, no transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with unapplied amount less than allocated, no transaction should be made","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js:101:8)","diff":null},"uuid":"e33c011b-0c85-4753-b1da-dd8e4efb1916","parentUUID":"433f02be-6a17-4884-aea5-a5c18ea7bbd1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e33c011b-0c85-4753-b1da-dd8e4efb1916"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1526b861-5fc1-4936-a97f-261a49aa8ba3","title":"","fullFile":"cypress/integration/SF/k-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js","file":"cypress/integration/SF/k-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6869e5dd-8249-4ce3-a35c-014dadb79842","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with amount less than outstanding balance of invoice, transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with amount less than outstanding balance of invoice, transaction should be made","timedOut":null,"duration":501,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js:101:8)","diff":null},"uuid":"3e51e0ee-4462-418d-ac58-762a24653cd5","parentUUID":"6869e5dd-8249-4ce3-a35c-014dadb79842","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3e51e0ee-4462-418d-ac58-762a24653cd5"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d9ce8e5b-4f13-44c6-8955-97cddaba3633","title":"","fullFile":"cypress/integration/SF/k-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js","file":"cypress/integration/SF/k-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"81a85b57-d448-4a0d-a2e1-20bca4e2ee09","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with amount equal to outstanding balance of invoice, transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with amount equal to outstanding balance of invoice, transaction should be made","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js:101:8)","diff":null},"uuid":"3638abe6-e549-439d-b1c0-4cc4d9fb44d9","parentUUID":"81a85b57-d448-4a0d-a2e1-20bca4e2ee09","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3638abe6-e549-439d-b1c0-4cc4d9fb44d9"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d82d68b4-cf8b-4baf-84ce-05cac23dca2f","title":"","fullFile":"cypress/integration/SF/k-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js","file":"cypress/integration/SF/k-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e770980d-da4e-49ae-bbaf-8c307998b4c8","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with amount greater than outstanding balance of invoice, no transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with amount greater than outstanding balance of invoice, no transaction should be made","timedOut":null,"duration":497,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js:101:8)","diff":null},"uuid":"08d78a69-75ac-48f8-9532-bcd219371fe5","parentUUID":"e770980d-da4e-49ae-bbaf-8c307998b4c8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["08d78a69-75ac-48f8-9532-bcd219371fe5"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"24ec0dc6-366f-4154-9b7d-2ce9a8cb5b4c","title":"","fullFile":"cypress/integration/SF/k-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js","file":"cypress/integration/SF/k-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ee056b4f-82ac-46c7-9764-1e7f2a8fd0f0","title":"Pay invoice using Unapplied Amount","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I pay invoice with unapplied amount equal to allocated, transaction should be made","fullTitle":"Pay invoice using Unapplied Amount When I pay invoice with unapplied amount equal to allocated, transaction should be made","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[unapplied_amount]\"]').select('Does Not Equal', {\n force: true\n });\n cy.get('input[name=\"filter_value[unapplied_amount]\"]').type('$0', {\n force: true\n });\n var j = 0;\n var k;\n cy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('.search_form_container ul li .scheckbox').eq(j).click({\n force: true\n });\n cy.get('select[name=\"filter_condition[status]\"]').select('is', {\n force: true\n });\n cy.get('#filter-condition-field_9 > .select2-container > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Paid').click({\n force: true\n }); /////////////////\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text().trim()).to.eq('No Records Found');\n } else {\n cy.get('tbody [data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(0).then(function (transaction) {\n var trans = transaction.prop('href');\n cy.visit(trans);\n });\n }\n });\n } else {\n j = j + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});\ncy.wait(8000);\ncy.contains('Apply Payment').click({\n force: true\n});\ncy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.get(':nth-child(2) > .form-group > .col-sm-9 > .link-primary').then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/transactions\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js:101:8)","diff":null},"uuid":"b3e8a44f-90c6-4e5c-aebf-6189f2b615ce","parentUUID":"ee056b4f-82ac-46c7-9764-1e7f2a8fd0f0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b3e8a44f-90c6-4e5c-aebf-6189f2b615ce"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"375feaa9-9318-4aaf-b062-2212489e06fe","title":"","fullFile":"cypress/integration/SF/l-timeline/01-timeline-page.js","file":"cypress/integration/SF/l-timeline/01-timeline-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ad1618ef-b225-462b-868d-1f90bf87d846","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","timedOut":null,"duration":452,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.wait(5000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n});\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').first().then(function (found_uname) {\n expect(found_uname.text()).to.include('Andy Barymore');\n}).click();\ncy.wait(5000);\ncy.get('#detail-title').should('contain', 'Andy Barymore');\ncy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n});\ncy.get('#timeline-tab-container > :nth-child(1) > :nth-child(1)').contains('Upcoming Actions'); // cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(1) > .nav-link').contains('Payment History').click({ force: true })\ncy.get('#timeline_container_wrap').its('length').should('be.gt', 0);\ncy.get('#timeline_container_wrap .timeLineHistDataList li span.d-inline-b.fL.timeLineHistCont.pR').should('satisfy', function (el) {\n return el.text().includes('Credit Note allocated for') || el.text().includes('Charged') || el.text().includes('Payment Pending');\n});\ncy.get('#timeline_container_wrap .timeLineHistInner .timeLineHistDataList li span.timeLineHistCont.pR div span').eq(0).contains('Transaction Number:');\ncy.get('#timeline_container_wrap .timeLineHistInner .timeLineHistDataList li span.d-inline-b.fL.timeLineHistCont.pR div span').eq(1).contains('Payment Source:');\ncy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n});\ncy.get('.timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR').its('length').should('be.gt', 0);","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/01-timeline-page.js:101:8)","diff":null},"uuid":"e85bec13-7b48-403f-ac4d-79325d424d4b","parentUUID":"ad1618ef-b225-462b-868d-1f90bf87d846","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e85bec13-7b48-403f-ac4d-79325d424d4b"],"pending":[],"skipped":[],"duration":452,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f816dc8-4a39-47e4-975d-90e96235e492","title":"","fullFile":"cypress/integration/SF/l-timeline/02-create-customer-and-verify-timeline.js","file":"cypress/integration/SF/l-timeline/02-create-customer-and-verify-timeline.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8e67b302-2765-449a-9d91-b6994a442627","title":"Create Customer and verify Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on “Create Customer” form","fullTitle":"Create Customer and verify Timeline I am on “Create Customer” form","timedOut":null,"duration":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.wait(5000);\ncy.get('a[data-title=\" New Customer\"] .desktop-display').click({\n force: true\n});\ncy.wait(5000);\nvar random = userID_Alpha_Numeric();\ncy.get('.col-sm-auto > .fs-0').should('contain', 'New Customer');\ncy.get('#name-input').type(random, {\n force: true\n});\ncy.get('#phone_number-input').type('(800)555-1234', {\n force: true\n});\ncy.get('[wt-parent=\"email_address\"] input').first().type(random + '@mail.com', {\n force: true\n});\ncy.get('#copyBillingToShipping').click({\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_country-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('#billing_county-input').type('abcd');\ncy.get('#billing_address_1-input').type('Kabul Road');\ncy.get('#billing_postal_code-input').type('55555');\ncy.get('.col-md-12 > .btn-warning').contains('Save').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n});\ncy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n});\ncy.get('.timeLineHistInner ul li').last().contains('Current Customer has been created');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/02-create-customer-and-verify-timeline.js:101:8)","diff":null},"uuid":"afeba3bf-6fcf-4463-9327-219b7fb943be","parentUUID":"8e67b302-2765-449a-9d91-b6994a442627","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["afeba3bf-6fcf-4463-9327-219b7fb943be"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"052d6587-a536-472a-87fd-404e97c60e3c","title":"","fullFile":"cypress/integration/SF/l-timeline/03-create-contact-and-verify-on-timeline.js","file":"cypress/integration/SF/l-timeline/03-create-contact-and-verify-on-timeline.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"56e0f08a-9ac8-443d-86e5-32b334b5a3f5","title":"Create Contact and verify on timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on Create Contact form","fullTitle":"Create Contact and verify on timeline I am on Create Contact form","timedOut":null,"duration":477,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/contacts/create');\ncy.check();\ncy.wait(5000);\nvar random = userID_Alpha_Numeric();\ncy.get('.col-sm-auto > .fs-0').should('contain', 'New Contact');\ncy.get('#salutation-input').select('Mr.', {\n force: true\n});\ncy.get('#first_name-input').type('Nate', {\n force: true\n});\ncy.get('#last_name-input').type('Diaz', {\n force: true\n});\ncy.get('[wt-parent=\"email_address\"] input').first().type(random + '@mail.com', {\n force: true\n});\ncy.get('#personal_phone-input').type('(800)555-1234', {\n force: true\n});\ncy.get('#select2-customer_id-input-container').click({\n force: true\n});\ncy.get('.select2-container.select2-container--default.select2-container--open input.select2-search__field').type('nate', {\n force: true\n}).type('nate', {\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-customer_id-input-container').first().click({\n force: true\n});\ncy.get('#select2-billing_country-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_country-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('#billing_county-input').type('abcd', {\n force: true\n});\ncy.get('#billing_address_1-input').type('Kabul Road', {\n force: true\n});\ncy.get('#billing_postal_code-input').type('55555', {\n force: true\n});\ncy.get('.col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n});\ncy.wait(5000);\ncy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n}); // cy.get('#timeline-tab-container > :nth-child(1) > .nav > :nth-child(2) > .nav-link').contains('Other').click({ force: true })\ncy.get('.timeLineHistInner .pt10').first().should('contain', 'Current Contact has been created');","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts/create\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts/create\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/03-create-contact-and-verify-on-timeline.js:101:8)","diff":null},"uuid":"0ad6afc7-1403-49d0-8459-363bfa5ef814","parentUUID":"56e0f08a-9ac8-443d-86e5-32b334b5a3f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0ad6afc7-1403-49d0-8459-363bfa5ef814"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dfbc40dd-9d47-4050-a6bc-35674c029008","title":"","fullFile":"cypress/integration/SF/l-timeline/04-update-customer.js","file":"cypress/integration/SF/l-timeline/04-update-customer.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3199abf6-7e4f-4e9a-8ec2-d66ea893a8c6","title":"Update Customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on ‘Customer’s Detail’ Page","fullTitle":"Update Customer Given the user is on ‘Customer’s Detail’ Page","timedOut":null,"duration":490,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\nvar random = userID_Alpha_Numeric();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cy.log(\"customer_name after:\", cusName);\n cy.get('.row .col-3 .link-primary').then(function (phn) {\n var number = phn.text().trim();\n cy.log(number);\n cy.get('.text-left > .btn-warning').contains('Edit').click({\n force: true\n });\n cy.get('#name-input').type('Updated', {\n force: true\n });\n cy.get('#phone_number-input').clear({\n force: true\n });\n cy.get('#phone_number-input').type('1-800-555-1234', {\n force: true\n });\n cy.get('[wt-parent=\"email_address\"] [name=\"email[]\"]').clear({\n force: true\n });\n cy.get('[wt-parent=\"email_address\"] [name=\"email[]\"]').first().type(random + '@mail.com', {\n force: true\n });\n cy.get('.col-md-12 > .btn-warning').contains('Save').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Current Customer has been updated');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Name was updated from ' + cusName.trim() + ' to ' + cusName.trim() + 'Updated');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Phone Number was updated from ' + number + ' to 1-800-555-1234');\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/04-update-customer.js:101:8)","diff":null},"uuid":"e8be2b65-3c58-4e2a-8c03-fd6ac1cb77a3","parentUUID":"3199abf6-7e4f-4e9a-8ec2-d66ea893a8c6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e8be2b65-3c58-4e2a-8c03-fd6ac1cb77a3"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4f587614-4920-4a79-8ec7-ae7b07616081","title":"","fullFile":"cypress/integration/SF/l-timeline/05-update-contact.js","file":"cypress/integration/SF/l-timeline/05-update-contact.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"889b44d3-7ab8-471c-a600-64e9ab70cecf","title":"Update Contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on Contact Detail’ Page","fullTitle":"Update Contact Given the user is on Contact Detail’ Page","timedOut":null,"duration":477,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/contacts');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get(':nth-child(2) > :nth-child(6) > span').then(function (lName) {\n var lastName = lName.text().trim().replace(/\\n/g, '');\n cy.log(lastName);\n console.log(lastName);\n cy.get('.link-primary').then(function (pPhone) {\n var personal_phone = pPhone.text().trim();\n cy.get('.text-left > .btn-warning').click({\n force: true\n });\n cy.get('#last_name-input').type('Updated', {\n force: true\n });\n cy.get('#personal_phone-input').clear({\n force: true\n });\n cy.get('#personal_phone-input').type('1-800-555-1234', {\n force: true\n });\n cy.get('.col-md-12.text-right > .btn-warning').click({\n force: true\n });\n cy.get('.mb-2 > .nav-link > span').click({\n force: true\n });\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Current Contact has been updated');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Personal Phone was updated from ' + personal_phone.trim() + ' to 1-800-555-1234');\n cy.get('.timeLineHistDataList .timeline_added.Tasks.d-flex .d-inline-b.fL.timeLineHistCont.pR .pt10').should('contain', 'Last Name was updated from ' + lastName.trim() + ' to ' + lastName.trim() + 'Updated');\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/contacts\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/05-update-contact.js:101:8)","diff":null},"uuid":"bbcf73b6-1e69-4162-aee2-26528e4d42b3","parentUUID":"889b44d3-7ab8-471c-a600-64e9ab70cecf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bbcf73b6-1e69-4162-aee2-26528e4d42b3"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"114db931-acbf-4703-b546-12dc2f8248d1","title":"","fullFile":"cypress/integration/SF/l-timeline/06-create-order.js","file":"cypress/integration/SF/l-timeline/06-create-order.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"810ada3c-ee00-4e3b-92bb-eb83cb1240e3","title":"Create Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on Customer Details Page","fullTitle":"Create Order Given the user is on Customer Details Page","timedOut":null,"duration":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get(':nth-child(2) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n});\ncy.get('.select2-container .select2-dropdown input[class=\"select2-search__field\"]').type('Random Product', {\n force: true\n});\ncy.wait(5000);\ncy.get('.select2-results__option.select2-results__option--highlighted').first().click({\n force: true\n});\ncy.get(':nth-child(3) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow > b').click({\n force: true\n});\ncy.get('.select2-search__field').type('Test Plan');\ncy.wait(5000);\ncy.get('.select2-results__option.select2-results__option--highlighted').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(5000);\ncy.reload();\ncy.get('#relatedList-bulk-action-Order_Customer #relatedViewTableEl tr td a').eq(0).then(function (order) {\n var orderName = order.text().trim();\n cy.log(\"order: \", orderName);\n cy.get('#relatedList-bulk-action-Subscription_Customer #relatedViewTableEl tr td a').eq(1).then(function (subscription) {\n var subscriptionName = subscription.text().trim();\n cy.log('Subscription: ', subscriptionName);\n cy.get('#relatedList-bulk-action-Invoice_Customer #relatedViewTableEl tr td a').eq(0).then(function (invoice) {\n var invoiceName = invoice.text().trim();\n cy.log(\"invoice: \", invoiceName);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get(':nth-child(2) > .timeLineHistCont > .pt10').should('contain', 'Invoice TBD has been created');\n cy.get(':nth-child(4) > .timeLineHistCont > .pt10').should('contain', 'Invoice ' + invoiceName.trim() + ' has been created');\n cy.get(':nth-child(5) > .timeLineHistCont > .pt10').should('contain', 'Order ' + orderName.trim() + ' has been created');\n cy.get('#other-history > #timeline_container_wrap > .timeLineHistInner > .timeLineHistDataList > :nth-child(6) > .timeLineHistCont > .pt10').should('contain', 'Subscription ' + subscriptionName.trim() + ' has been created');\n });\n });\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/06-create-order.js:104:8)","diff":null},"uuid":"bab33995-7bf7-4241-a089-af3a48ffeca1","parentUUID":"810ada3c-ee00-4e3b-92bb-eb83cb1240e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bab33995-7bf7-4241-a089-af3a48ffeca1"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3de26a4d-3d08-4cde-af83-ddc9c14442cb","title":"","fullFile":"cypress/integration/SF/l-timeline/07-add-payment-method.js","file":"cypress/integration/SF/l-timeline/07-add-payment-method.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9bdf5a78-5c1f-4c01-9645-51ca2716c944","title":"Add Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on Customer Details Page","fullTitle":"Add Payment Method Given the user is on Customer Details Page","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .create-center-modal').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Stripe', {\n force: true\n}); // cy.get('#first_name-input').then((fname) => {\n// if ((fname.text()).includes('')) {\n// cy.get('#first_name-input').type('Rocky', { force: true })\n// }\n// })\n// .should('have.value', '');\ncy.get('#select2-billing_country-input-container').click({\n force: true\n}); // cy.get('#select2-billing_country-input-container').click({force:true})\ncy.wait(10000);\ncy.get('#select2-billing_country-input-results li.select2-results__option').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_state-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_state-input-results li').eq(0).click({\n force: true\n});\ncy.get('#select2-billing_city-input-container').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#select2-billing_city-input-results li').eq(0).click({\n force: true\n});\ncy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n});\ncy.get('#save_button_dis').click();\ncy.wait(5000);\ncy.reload();\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cy.log(\"customer_name after:\", cusName);\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get(':nth-child(1) > .timeLineHistCont > .pt10').should('contain', cusName + ' New Payment Method Added');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/07-add-payment-method.js:104:8)","diff":null},"uuid":"b5ff6168-f6c7-46ff-85bf-360d919884e6","parentUUID":"9bdf5a78-5c1f-4c01-9645-51ca2716c944","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5ff6168-f6c7-46ff-85bf-360d919884e6"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f9694e9d-d64f-4587-ae88-77673af27e0d","title":"","fullFile":"cypress/integration/SF/l-timeline/08-add-public-payment-method.js","file":"cypress/integration/SF/l-timeline/08-add-public-payment-method.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"264043ca-f23c-42b2-ac58-d2da8a697ed7","title":"Add Public Payment Method","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on Customer Details Page","fullTitle":"Add Public Payment Method Given the user is on Customer Details Page","timedOut":null,"duration":601,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Stripe').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get('#default-input').click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.wait(10000);\ncy.visit('/en/customers');\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.d-flex > :nth-child(1) > p').first().then(function (name) {\n var cusName = name.text();\n cy.log(\"customer_name:\", cusName);\n cusName = cusName.trim();\n cusName = cusName.slice(31);\n cusName = cusName.trim();\n cy.log(\"customer_name after:\", cusName);\n cy.get('#PaymentMethod-subpanel > .card-header > .d-flex > div > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n });\n cy.get('#sc_pcp-chk-acc-info_inp-fname-el').type('Dana');\n cy.get('#sc_pcp-chk-acc-info_inp-lname-el').type('White');\n cy.get('#sc_pcp-chk-acc-info_inp-email-el').type('danawhite@mail.com');\n cy.get('#sc_pcp-chk-acc-info_inp-phone-el').type('(800)555-1234');\n cy.get('#select2-sc_pcp-chk-billing-addr-inp-country-el-container').click({\n force: true\n });\n cy.wait(5000);\n cy.get('.select2-results__option').eq(0).click({\n force: true\n });\n cy.get('#sc_pcp-chk-billing-addr-inp-state-el').type('Kabul');\n cy.get('#sc_pcp-chk-billing-addr-inp-city-el').type('Kabul');\n cy.get('#sc_pcp-chk-billing-addr-inp-zip-el').type('53000');\n cy.get('#sc_pcp-chk-billing-addr-inp-addrline1-el').type('House 1 Street 1');\n cy.get('.__PrivateStripeElement > iframe').then(function ($element) {\n var $body = $element.contents().find('body');\n var stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(0).click({\n force: true\n }).clear().type('4242424242424242');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(1).click({\n force: true\n }).clear().type('425');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(2).click({\n force: true\n }).clear().type('424');\n stripe = cy.wrap($body);\n stripe.find('.CardField-input-wrapper').find('input.InputElement').eq(3).click({\n force: true\n }).clear().type('77777');\n });\n cy.get('.custom-control-label.pcpDesignerTarget-genericTxtClr.pcpDesignerTarget-genericTxtSize').click({\n force: true\n });\n cy.get('#sc_pcp-chk-subscribe_el_btn').click();\n cy.wait(5000);\n cy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');\n cy.visit('/en/customers');\n cy.get('#basic_search').type(cusName, {\n force: true\n }).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n });\n cy.get('.mb-2 > .nav-link > span').click();\n cy.get('#timeline-tab').should('contain', 'History').click({\n force: true\n });\n cy.get('#timeline-tab-container > :nth-child(1) > .tab > .nav > :nth-child(2) > .nav-link').contains('Other').click({\n force: true\n });\n cy.get('#other-history > #timeline_container_wrap > .timeLineHistInner > .timeLineHistDataList > :nth-child(1) > .timeLineHistCont > .pt10').should('contain', 'Dana White New Payment Method Added');\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/08-add-public-payment-method.js:104:8)","diff":null},"uuid":"22314af0-8b0d-4ee3-9ded-3d0b578f5077","parentUUID":"264043ca-f23c-42b2-ac58-d2da8a697ed7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["22314af0-8b0d-4ee3-9ded-3d0b578f5077"],"pending":[],"skipped":[],"duration":601,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aa4bd255-582f-4431-bd6e-202844066ab9","title":"","fullFile":"cypress/integration/SF/l-timeline/09-pay-invoice-using-process-payment.js","file":"cypress/integration/SF/l-timeline/09-pay-invoice-using-process-payment.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5b04499f-47df-4883-97e9-147ebb16a061","title":"Pay Invoice using Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay Invoice using Process Payment Given the user is on customer’s details page","timedOut":null,"duration":485,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.log(\"ififififififififififififififif\");\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder(); // payInvoice()\n } else {\n cy.log(\"elseelseelseelseelseelseelseelseelseelse\");\n cy.wait(5000);\n cy.go(-1); // payInvoice()\n }\n payInvoice();\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/09-pay-invoice-using-process-payment.js:104:8)","diff":null},"uuid":"70dd507c-76a6-40f7-b535-006e4fff47d6","parentUUID":"5b04499f-47df-4883-97e9-147ebb16a061","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["70dd507c-76a6-40f7-b535-006e4fff47d6"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23cc8cbc-5346-49db-a8c9-a8f9147957a1","title":"","fullFile":"cypress/integration/SF/l-timeline/10-pay-multiple-invoice-using-process-payment.js","file":"cypress/integration/SF/l-timeline/10-pay-multiple-invoice-using-process-payment.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0dd7956f-f7a5-41db-b22c-1958c85d9ccb","title":"Pay Multiple invoices using Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay Multiple invoices using Process Payment Given the user is on customer’s details page","timedOut":null,"duration":482,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.log(\"ififififififififififififififif\");\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n createOrder1();\n } else {\n cy.get(':nth-child(2) > .card-body .table tbody').children().then(function (len) {\n if (len.length == 1) {\n cy.log(\"final iffinal iffinal iffinal if\");\n cy.go(-1);\n createOrder();\n } else {\n cy.go(-1);\n cy.log(\"nothingnothingnothingnothingnothingnothing\");\n }\n });\n }\n payInvoice();\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/10-pay-multiple-invoice-using-process-payment.js:104:8)","diff":null},"uuid":"3f9e00e4-e851-42a7-82d8-3092a2af91c5","parentUUID":"0dd7956f-f7a5-41db-b22c-1958c85d9ccb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f9e00e4-e851-42a7-82d8-3092a2af91c5"],"pending":[],"skipped":[],"duration":482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"620cce83-525e-4c68-afa2-a81bc7294028","title":"","fullFile":"cypress/integration/SF/l-timeline/11-pay-invoice-with-credit-card-using-process-payment.js","file":"cypress/integration/SF/l-timeline/11-pay-invoice-with-credit-card-using-process-payment.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b900d6a2-6eda-4e14-9212-eb0a2d7aac50","title":"Pay Invoice with Credit Card using Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay Invoice with Credit Card using Process Payment Given the user is on customer’s details page","timedOut":null,"duration":511,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n payInvoice();\n } else {\n cy.wait(5000);\n cy.go(-1);\n payInvoice();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/11-pay-invoice-with-credit-card-using-process-payment.js:104:8)","diff":null},"uuid":"41cba634-d65a-4840-ab35-0f0ae3aabf4e","parentUUID":"b900d6a2-6eda-4e14-9212-eb0a2d7aac50","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["41cba634-d65a-4840-ab35-0f0ae3aabf4e"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"14a96554-d398-4002-a877-471929dc6026","title":"","fullFile":"cypress/integration/SF/l-timeline/12-pay-invoice-with-echeck-using-process-payment.js","file":"cypress/integration/SF/l-timeline/12-pay-invoice-with-echeck-using-process-payment.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a9cee335-43ff-4562-bd72-ce3265e13ca0","title":"Pay Invoice with echeck using Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay Invoice with echeck using Process Payment Given the user is on customer’s details page","timedOut":null,"duration":480,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n payInvoice();\n } else {\n cy.wait(5000);\n cy.go(-1);\n payInvoice();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/12-pay-invoice-with-echeck-using-process-payment.js:104:8)","diff":null},"uuid":"2e03f588-83e0-4261-81eb-76f5ab51a1bd","parentUUID":"a9cee335-43ff-4562-bd72-ce3265e13ca0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2e03f588-83e0-4261-81eb-76f5ab51a1bd"],"pending":[],"skipped":[],"duration":480,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"812e9963-77f2-4574-a2ee-c6cb56d75acf","title":"","fullFile":"cypress/integration/SF/l-timeline/13-pay-invoice-with-paypal-using-process-payment.js","file":"cypress/integration/SF/l-timeline/13-pay-invoice-with-paypal-using-process-payment.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"14008e68-9e6e-4787-be2a-c634b950d34f","title":"Pay invoice with paypal using process payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given the user is on customer’s details page","fullTitle":"Pay invoice with paypal using process payment Given the user is on customer’s details page","timedOut":null,"duration":468,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n});\ncy.get('.detail-top-btn .btn-group > .btn').click({\n force: true\n});\ncy.get('.dropdown-item').contains('Process Payment').click({\n force: true\n});\ncy.get('.table > tbody > tr > td').then(function (text) {\n if (text.text() == 'No Unpaid or Overdue invoices found') {\n cy.get('.table > tbody > tr > td').should('contain', 'No Unpaid or Overdue invoices found');\n cy.go(-1);\n createOrder();\n payInvoice();\n } else {\n cy.wait(5000);\n cy.go(-1);\n payInvoice();\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/13-pay-invoice-with-paypal-using-process-payment.js:104:8)","diff":null},"uuid":"18b570c7-6f50-4cf1-9127-9c0bf4fe5f95","parentUUID":"14008e68-9e6e-4787-be2a-c634b950d34f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["18b570c7-6f50-4cf1-9127-9c0bf4fe5f95"],"pending":[],"skipped":[],"duration":468,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"128500a7-4f2f-4ab2-b126-062f37e98f00","title":"","fullFile":"cypress/integration/SF/m-payment_gateways/01Integrate_Authorize.Net_using_correct_credentials.spec.js","file":"cypress/integration/SF/m-payment_gateways/01Integrate_Authorize.Net_using_correct_credentials.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f2ea5bd9-5e13-4334-943f-63a4921ef0f4","title":"Integrate Authorize.Net with SubscriptionFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Integrate Authorize.Net with SubscriptionFlow using correct credentials","fullTitle":"Integrate Authorize.Net with SubscriptionFlow Integrate Authorize.Net with SubscriptionFlow using correct credentials","timedOut":null,"duration":4837,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"// cy.get('#tab-advance-options').click({force:true})\ncy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(5000);\ncy.get('#connect-btn-wrapper button').then(function (ele) {\n if (ele.text().includes('Uninstall Authorize.Net')) {\n cy.get('#tab-connection').should('contain', 'Connection');\n cy.get('#tab-advance-options').should('contain', 'Advanced Options');\n cy.get('#tab-logs').should('contain', 'Logs');\n cy.get('#back-to-payment-gateways').should('contain', 'Back to Payment Gateways');\n cy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net').click({\n force: true\n });\n cy.wait(3000); //Modal appear\n cy.get('.modal-content > .modal-body > .m-0').should('contain', 'Are you sure you want to uninstall?');\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.url().should('contain', '/settings/payment-gateways');\n cy.wait(7000);\n cy.get('.installed-apps .integration-box-item strong').then(function (ele) {\n expect(ele.text()).to.not.eq('Authorize.Net');\n });\n cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({\n force: true\n }); // cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({ force: true })\n cy.wait(7000);\n cy.url().should('contain', '/configure/Authorize.Net');\n cy.wait(7000);\n integrateAuthorizeNet();\n } else {\n integrateAuthorizeNet();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/m-payment_gateways/01Integrate_Authorize.Net_using_correct_credentials.spec.js:107:8)","diff":null},"uuid":"0d799561-67ac-4f0f-997f-5904bb1e3037","parentUUID":"f2ea5bd9-5e13-4334-943f-63a4921ef0f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0d799561-67ac-4f0f-997f-5904bb1e3037"],"pending":[],"skipped":[],"duration":4837,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84a05f7d-118d-42fe-953e-d646cbeff295","title":"","fullFile":"cypress/integration/SF/m-payment_gateways/02Integrate_Authorize.Net_using_incorrect_credentials.spec.js","file":"cypress/integration/SF/m-payment_gateways/02Integrate_Authorize.Net_using_incorrect_credentials.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fa572291-baf6-4117-88a6-0e03abf9ea00","title":"Integrate Authorize.Net with SubscriptionFlow","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Integrate Authorize.Net with SubscriptionFlow using incorrect credentials","fullTitle":"Integrate Authorize.Net with SubscriptionFlow Integrate Authorize.Net with SubscriptionFlow using incorrect credentials","timedOut":null,"duration":4577,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(5000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').click({\n force: true\n});\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(5000);\ncy.get('#tab-connection').should('contain', 'Connection');\ncy.get('#tab-advance-options').should('contain', 'Advanced Options');\ncy.get('#tab-logs').should('contain', 'Logs');\ncy.get('#back-to-payment-gateways').should('contain', 'Back to Payment Gateways');\ncy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net').click({\n force: true\n});\ncy.wait(3000); //Modal appear\ncy.get('.modal-content > .modal-body > .m-0').should('contain', 'Are you sure you want to uninstall?');\ncy.get('#confirmationModalCancel').click({\n force: true\n});\ncy.wait(1000);\ncy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net'); //Now uninstall it\ncy.get('#uninstall_paymentgateway').should('contain', 'Uninstall Authorize.Net').click({\n force: true\n});\ncy.wait(3000); //Modal appear\ncy.get('.modal-content > .modal-body > .m-0').should('contain', 'Are you sure you want to uninstall?');\ncy.get('#confirmationModalOkay').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(7000);\ncy.get('.installed-apps .integration-box-item strong').then(function (ele) {\n expect(ele.text()).to.not.eq('Authorize.Net');\n}); //\n// After uninstall click on \n// and see the following CTA's\n//\ncy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({\n force: true\n}); // cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({ force: true })\ncy.wait(7000);\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(7000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.get('#get-started').click();\ncy.wait(3000);\ncy.get(':nth-child(1) > .col-3 > label').should('contain', 'Login ID');\ncy.get(':nth-child(2) > .col-3 > label').should('contain', 'Transaction Key');\ncy.get(':nth-child(3) > .col-3 > label').should('contain', 'Client Key');\ncy.get(':nth-child(4) > .col-3 > label').should('contain', 'Sandbox');\ncy.get('#btn-test-connection').should('contain', 'Test Connection');\ncy.get('#btn-save').should('contain', 'Save');\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#toast-container').should('contain', 'One or more required fields are missing.');\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\n//\n//Click on Save button\n//\ncy.get('#btn-save').should('contain', 'Save').click().then(function () {\n cy.get('#toast-container').should('contain', 'One or more required fields are missing.');\n});\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\n// // When I enter incorrect values in all the fields and press Test Connection\n// // an alert stating the parameters entered are invalid\ncy.get('#login_id').type('6rgf6Cvpg', {\n force: true\n}); //... connect with incorrect\ncy.get('#transaction_key').type('8zV5G45395eXgHmv', {\n force: true\n});\ncy.get('#client_key').type('8gwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\ncy.wait(7000); // When I enter incorrect values in all the fields and press Save\n// an alert stating the parameters entered are invalid\ncy.get('#login_id').type('6rgf6v', {\n force: true\n});\ncy.get('#transaction_key').type('8zV5G4395eXgHmv', {\n force: true\n});\ncy.get('#client_key').type('8gwanze5Sg2Jkm98BGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#toast-container').should('contain', 'Authentication failed, please verify API credentials and try again!');\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected'); //...\n// When I enter an incorrect value in the Login ID field\n// and correct values in other fields\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('6f6v', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}, {\n timeout: 3000\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Login ID field\n// and correct values in other fields\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('6f6v', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}, {\n timeout: 3000\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('V5G89395eXgHm', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}, {\n timeout: 3000\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('V5G89395eXgHm', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('333qwanze5Sg2Jkm989GffgdgX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqg', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'Public Client Key required in order to connect with Accept.JS');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter an incorrect value in the Transaction Key field\n// and correct values in other fields\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('333qwanze5Sg2Jkm989GffgdgX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqg', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'Public Client Key required in order to connect with Accept.JS');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter correct values but don’t check the “Sandbox” checkbox\n// And I click “Test Connection”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n});\ncy.get('#btn-test-connection').should('contain', 'Test Connection').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');\ncy.wait(1000); // When I enter correct values but don’t check the “Sandbox” checkbox\n// And I click “Save”\ncy.get('#login_id').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#sandbox_mode-input').click({\n force: true\n}).click({\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n}).then(function () {\n cy.get('#toast-container').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('.lead > .badge').should('contain', 'Not Connected');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/m-payment_gateways/02Integrate_Authorize.Net_using_incorrect_credentials.spec.js:106:8)","diff":null},"uuid":"6f49b3b5-aec1-4372-be78-3c970001ff20","parentUUID":"fa572291-baf6-4117-88a6-0e03abf9ea00","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6f49b3b5-aec1-4372-be78-3c970001ff20"],"pending":[],"skipped":[],"duration":4577,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"368703a9-6873-4ad4-87bb-145eef9cb5ba","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"62825414-712a-4f63-81ea-e4c7c7be3226","title":"Logout Functionality","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":" I enter <Email> and <Password> and I hit 'Sign in' CTA","fullTitle":"Logout Functionality I enter <Email> and <Password> and I hit 'Sign in' CTA","timedOut":null,"duration":322,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{},"uuid":"7b33ee43-c8d8-4a82-a505-d4ed16589ea4","parentUUID":"62825414-712a-4f63-81ea-e4c7c7be3226","isHook":false,"skipped":false},{"title":"I click the user avatar, dropdown should contaian logout text","fullTitle":"Logout Functionality I click the user avatar, dropdown should contaian logout text","timedOut":null,"duration":4180,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.navbar-nav.ml-auto > li:last-child').click({\n force: true\n});\ncy.get('.dropdown-menu .text-danger').should('contain.text', 'Logout');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-nav.ml-auto > li:last-child`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.navbar-nav.ml-auto > li:last-child`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/z-logout/logout_spec.js:105:8)","diff":null},"uuid":"e7970d23-3b5e-462e-9640-f1898485e4e9","parentUUID":"62825414-712a-4f63-81ea-e4c7c7be3226","isHook":false,"skipped":false},{"title":"I click on Logout CTA, It should log me out","fullTitle":"Logout Functionality I click on Logout CTA, It should log me out","timedOut":null,"duration":4199,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.text-danger').click({\n force: true\n});\ncy.location('pathname').should('include', 'login');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.text-danger`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.text-danger`, but never found it.\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/z-logout/logout_spec.js:111:8)","diff":null},"uuid":"8f85e4b3-2796-4b2a-8019-902d933caa79","parentUUID":"62825414-712a-4f63-81ea-e4c7c7be3226","isHook":false,"skipped":false},{"title":"I press back from browser, should not go to dashboard","fullTitle":"Logout Functionality I press back from browser, should not go to dashboard","timedOut":null,"duration":136,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.go(-1);\ncy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"4f338c40-4540-4abb-bcc6-1c6d4e5c95ed","parentUUID":"62825414-712a-4f63-81ea-e4c7c7be3226","isHook":false,"skipped":false}],"suites":[],"passes":["7b33ee43-c8d8-4a82-a505-d4ed16589ea4","4f338c40-4540-4abb-bcc6-1c6d4e5c95ed"],"failures":["e7970d23-3b5e-462e-9640-f1898485e4e9","8f85e4b3-2796-4b2a-8019-902d933caa79"],"pending":[],"skipped":[],"duration":8837,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000}],"meta":{"mocha":{"version":"7.0.1"},"mochawesome":{"options":{"quiet":false,"reportFilename":"mochawesome","saveHtml":false,"saveJson":true,"consoleReporter":"spec","useInlineDiffs":false,"code":true},"version":"6.1.1"},"marge":{"options":{"id":"default","reportDir":"cypress/reports/mocha","quite":true,"overwrite":false,"html":false,"json":true,"pdf":false},"version":"5.1.0"}}}" data-config="{"reportFilename":"report","reportDir":"cypress/reports/mocha-reports","reportTitle":"cypress","reportPageTitle":"Mochawesome Report","inline":false,"inlineAssets":false,"cdn":false,"charts":false,"enableCharts":false,"code":true,"enableCode":true,"autoOpen":false,"overwrite":true,"timestamp":false,"ts":false,"showPassed":true,"showFailed":true,"showPending":true,"showSkipped":false,"showHooks":"failed","saveJson":false,"saveHtml":true,"dev":false,"assetsDir":"cypress/reports/mocha-reports/assets","htmlFile":"/subscription-test2-cases/cypress/cypress/reports/mocha-reports/report.html"}"><div id="report"></div><script src="assets/app.js"></script></body></html>