/
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-04T03:10:03.131Z","end":"2022-02-04T03:10:03.131Z","duration":394435,"testsRegistered":315,"passPercent":0.9523809523809523,"pendingPercent":0,"other":0,"hasOther":false,"skipped":3,"hasSkipped":true},"results":[{"uuid":"9376a100-1039-4867-bd68-6c364ada352b","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":"5e27196b-c9f8-4e3a-a28c-42414a6366b4","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":620,"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":"2be3edf0-daff-4617-bf40-c17922d5dccc","parentUUID":"5e27196b-c9f8-4e3a-a28c-42414a6366b4","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":4200,"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":"f575001c-d5b9-4385-b4be-63f638918cc2","parentUUID":"5e27196b-c9f8-4e3a-a28c-42414a6366b4","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4172,"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":"a69a52d9-cf66-4c40-a502-12d7f245412f","parentUUID":"5e27196b-c9f8-4e3a-a28c-42414a6366b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2be3edf0-daff-4617-bf40-c17922d5dccc","f575001c-d5b9-4385-b4be-63f638918cc2","a69a52d9-cf66-4c40-a502-12d7f245412f"],"pending":[],"skipped":[],"duration":8992,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2667670a-1075-4e41-93c3-776ba4d3798c","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":"e2d688f3-12e6-4a1d-9cdb-97fc20906483","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":520,"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":"b4bb8546-a3c7-40da-b3da-50d4fcf47627","parentUUID":"e2d688f3-12e6-4a1d-9cdb-97fc20906483","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4bb8546-a3c7-40da-b3da-50d4fcf47627"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb4002f8-1971-4aa3-bd21-17c5d1a3ad67","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":"0b0c7d0d-d33e-456d-bc9f-e0d10d69f922","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":471,"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":"a35cfd14-8c61-4c2a-aafc-b953edb6a4e7","parentUUID":"0b0c7d0d-d33e-456d-bc9f-e0d10d69f922","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a35cfd14-8c61-4c2a-aafc-b953edb6a4e7"],"pending":[],"skipped":[],"duration":471,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fdb747b2-ddd5-4dea-a217-f33e399a6ff3","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":"abf9547b-1c88-4997-b6d0-6ba1a39de1ae","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":506,"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":"0f843843-85ae-4b9b-88da-2c444f04acee","parentUUID":"abf9547b-1c88-4997-b6d0-6ba1a39de1ae","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0f843843-85ae-4b9b-88da-2c444f04acee"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"459f39c4-d30d-43ac-9de8-857e7b1806c8","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":"7884a793-4a32-42bd-8b73-7745f9654ce6","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":506,"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":"3372e2ae-1057-4237-81df-5e81af95db1c","parentUUID":"7884a793-4a32-42bd-8b73-7745f9654ce6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3372e2ae-1057-4237-81df-5e81af95db1c"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c3bb285-5d40-477a-b0d0-cc799269d7fb","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":"3ef5e5c6-c40b-4bc3-b95c-edfd1a86e266","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":533,"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":"b731ac62-43fb-4aa5-98d6-ed9461da6c0d","parentUUID":"3ef5e5c6-c40b-4bc3-b95c-edfd1a86e266","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b731ac62-43fb-4aa5-98d6-ed9461da6c0d"],"pending":[],"skipped":[],"duration":533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4360306d-1ff8-421f-ba09-17bd19d1d530","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":"e9b74953-139b-46d5-9043-faa8586abcfc","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":526,"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":"99e7a26c-cacb-41ed-b693-dd6e531a26b2","parentUUID":"e9b74953-139b-46d5-9043-faa8586abcfc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["99e7a26c-cacb-41ed-b693-dd6e531a26b2"],"pending":[],"skipped":[],"duration":526,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4e75552f-66cc-4176-b031-8490d2c13a46","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":"cfbe03f2-f492-4225-b327-1eb8651ed7b8","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":499,"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":"7330c438-f34b-4adb-a435-466e86e0ce7d","parentUUID":"cfbe03f2-f492-4225-b327-1eb8651ed7b8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7330c438-f34b-4adb-a435-466e86e0ce7d"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"71993e69-a482-4d48-8279-e7564e07c336","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":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","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":"967e35d0-0892-4f66-9584-07606fd1e49e","parentUUID":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":473,"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":"9e6eb19d-8bd4-4d80-9bae-7b7bc85b1f26","parentUUID":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","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');\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":"a17e70ec-aab1-4950-ad7b-44662034ee3e","parentUUID":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","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');\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":"9fa58c28-cc30-4b3d-bdf3-a33509c5f009","parentUUID":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":457,"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":"2dc685dc-e69d-47d6-b16e-c29f38f2c8f6","parentUUID":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void 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('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":"220e9ec2-f1a3-42ab-815f-2aecd58a621a","parentUUID":"13fe6fec-ef8d-4866-921b-a5a5bac33e36","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["967e35d0-0892-4f66-9584-07606fd1e49e","9e6eb19d-8bd4-4d80-9bae-7b7bc85b1f26","a17e70ec-aab1-4950-ad7b-44662034ee3e","9fa58c28-cc30-4b3d-bdf3-a33509c5f009","2dc685dc-e69d-47d6-b16e-c29f38f2c8f6","220e9ec2-f1a3-42ab-815f-2aecd58a621a"],"pending":[],"skipped":[],"duration":2884,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"03de7ebe-a6b7-487a-9572-d332bdd8c953","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":"4f9294f9-2892-4bd3-99c6-a4b9f62c89f6","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":512,"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":"0ddd6b1a-825d-4e9a-bd59-3ae810fb741a","parentUUID":"4f9294f9-2892-4bd3-99c6-a4b9f62c89f6","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":"735f84cd-cdb8-4626-813a-961a85ed9d20","parentUUID":"4f9294f9-2892-4bd3-99c6-a4b9f62c89f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0ddd6b1a-825d-4e9a-bd59-3ae810fb741a","735f84cd-cdb8-4626-813a-961a85ed9d20"],"pending":[],"skipped":[],"duration":969,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f393079a-ee1a-4718-92bf-c0a988b785aa","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":"e5b54b56-b92b-4503-8a3e-3233bd0b69dc","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":523,"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":"61aeb8c5-fd7a-4800-bbc8-4358c983e872","parentUUID":"e5b54b56-b92b-4503-8a3e-3233bd0b69dc","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":509,"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":"f4a55d18-c998-4dc8-9ea5-d20ba987950b","parentUUID":"e5b54b56-b92b-4503-8a3e-3233bd0b69dc","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":501,"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":"1f4614ed-00e7-4a0e-9898-a40a01ef4a9a","parentUUID":"e5b54b56-b92b-4503-8a3e-3233bd0b69dc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["61aeb8c5-fd7a-4800-bbc8-4358c983e872","f4a55d18-c998-4dc8-9ea5-d20ba987950b","1f4614ed-00e7-4a0e-9898-a40a01ef4a9a"],"pending":[],"skipped":[],"duration":1533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb57850a-cf84-4cb0-be1c-6f550829525f","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":"b89b00eb-6a05-46d7-a9e8-a92d23c576f9","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":"55384d2d-a8ad-4135-b617-8cbbfb5fe029","parentUUID":"b89b00eb-6a05-46d7-a9e8-a92d23c576f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55384d2d-a8ad-4135-b617-8cbbfb5fe029"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"07dc9c69-4982-421c-a897-b420c81e5b5b","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":"4d4f68f0-6c0c-4b48-bff7-ac72c0477228","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":529,"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":"68eb42af-2ec7-404f-9d47-8d00cdc0b74b","parentUUID":"4d4f68f0-6c0c-4b48-bff7-ac72c0477228","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":473,"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":"ba59c3a5-b2a3-4b1b-b665-c59061d77ace","parentUUID":"4d4f68f0-6c0c-4b48-bff7-ac72c0477228","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","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').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":"99f130c5-098e-4899-9439-5961d1a297d8","parentUUID":"4d4f68f0-6c0c-4b48-bff7-ac72c0477228","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["68eb42af-2ec7-404f-9d47-8d00cdc0b74b","ba59c3a5-b2a3-4b1b-b665-c59061d77ace","99f130c5-098e-4899-9439-5961d1a297d8"],"pending":[],"skipped":[],"duration":1481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"50e34e9f-10e6-4e50-9ba8-16e261845729","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":"7d659abb-6e44-4263-84a0-f27e76c75c5e","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":506,"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":"48ffc2e7-3ba3-42c1-a5d0-cb4de3835e7f","parentUUID":"7d659abb-6e44-4263-84a0-f27e76c75c5e","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":492,"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":"12f7d46a-9dfc-4c14-8d2b-2c12b40852d0","parentUUID":"7d659abb-6e44-4263-84a0-f27e76c75c5e","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":489,"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":"861ba058-fbcb-46fb-9466-dbfda6bd8475","parentUUID":"7d659abb-6e44-4263-84a0-f27e76c75c5e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["48ffc2e7-3ba3-42c1-a5d0-cb4de3835e7f","12f7d46a-9dfc-4c14-8d2b-2c12b40852d0","861ba058-fbcb-46fb-9466-dbfda6bd8475"],"pending":[],"skipped":[],"duration":1487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd390409-fc85-4b9d-848e-30424b789009","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":"d9f90d56-3e7e-4266-a9de-6df94944393b","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":529,"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":"8f23d20f-9efa-4318-9f58-0a49b3334800","parentUUID":"d9f90d56-3e7e-4266-a9de-6df94944393b","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":484,"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":"6c7ca4bd-a15d-4810-8e30-66a3b6dafce8","parentUUID":"d9f90d56-3e7e-4266-a9de-6df94944393b","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":462,"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":"f1772b26-0b24-4a1b-8da1-64facd2129e8","parentUUID":"d9f90d56-3e7e-4266-a9de-6df94944393b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f23d20f-9efa-4318-9f58-0a49b3334800","6c7ca4bd-a15d-4810-8e30-66a3b6dafce8","f1772b26-0b24-4a1b-8da1-64facd2129e8"],"pending":[],"skipped":[],"duration":1475,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"613dfde8-10fa-4616-88fe-bae4fa35e464","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":"d6a51e1b-f7e6-4fe3-9c7e-8a57c11e1c9e","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":548,"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":"8841efa2-63c0-45ba-9498-b5dcc3cbe175","parentUUID":"d6a51e1b-f7e6-4fe3-9c7e-8a57c11e1c9e","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":460,"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":"0604505e-7a6f-410f-be8b-89be35f22eb7","parentUUID":"d6a51e1b-f7e6-4fe3-9c7e-8a57c11e1c9e","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":474,"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":"da7b0447-3e6d-4c8f-8181-b0a0e6def3d1","parentUUID":"d6a51e1b-f7e6-4fe3-9c7e-8a57c11e1c9e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8841efa2-63c0-45ba-9498-b5dcc3cbe175","0604505e-7a6f-410f-be8b-89be35f22eb7","da7b0447-3e6d-4c8f-8181-b0a0e6def3d1"],"pending":[],"skipped":[],"duration":1482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f10e861e-58b7-41e2-80da-2a132370b5a2","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":"198b9a5a-2945-450b-ae8b-b64013803710","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":710,"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":"ecc2afa4-c684-482c-b86c-51795cecfee1","parentUUID":"198b9a5a-2945-450b-ae8b-b64013803710","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ecc2afa4-c684-482c-b86c-51795cecfee1"],"pending":[],"skipped":[],"duration":710,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"44a95302-844c-4098-8b0a-25c9d81c75be","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":"bd362830-3d4c-477c-bc3b-144282a10836","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":524,"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":"60b022f6-4293-460d-ba89-61968c58cb86","parentUUID":"bd362830-3d4c-477c-bc3b-144282a10836","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["60b022f6-4293-460d-ba89-61968c58cb86"],"pending":[],"skipped":[],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55ff2438-2b14-4516-9743-5c5ab7b3fbde","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":"262306c8-2c1e-470e-8114-f3a92e8f6c33","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":519,"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":"2e8372d7-be65-4f05-97dc-7e8a96f7d885","parentUUID":"262306c8-2c1e-470e-8114-f3a92e8f6c33","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2e8372d7-be65-4f05-97dc-7e8a96f7d885"],"pending":[],"skipped":[],"duration":519,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e1f65880-4648-4f07-a145-064e6e4241ce","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":"7ae89672-47dd-4320-bf1c-be836aafca47","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":"db282632-f56b-455f-b693-bc66dbb00793","parentUUID":"7ae89672-47dd-4320-bf1c-be836aafca47","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["db282632-f56b-455f-b693-bc66dbb00793"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"44f9bc29-58df-4135-af78-ed3adbeba15e","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":"a3d558e8-e852-4fe3-8235-4fac718616fd","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":492,"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":"618e40b7-a47d-47ba-86a8-d127294fe140","parentUUID":"a3d558e8-e852-4fe3-8235-4fac718616fd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["618e40b7-a47d-47ba-86a8-d127294fe140"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9b6faadd-c8ca-4522-b642-073ac8453680","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":"6850d241-d9a0-4a55-87b8-c69240970eed","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":520,"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":"f421e93b-67fe-44f6-b3f3-0d3d46ba539e","parentUUID":"6850d241-d9a0-4a55-87b8-c69240970eed","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":488,"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":"7cab40cd-09e1-493f-bd44-d08201e7d276","parentUUID":"6850d241-d9a0-4a55-87b8-c69240970eed","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":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('#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":"755f115a-09fd-47f9-8f81-1ec6d1b7b655","parentUUID":"6850d241-d9a0-4a55-87b8-c69240970eed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f421e93b-67fe-44f6-b3f3-0d3d46ba539e","7cab40cd-09e1-493f-bd44-d08201e7d276","755f115a-09fd-47f9-8f81-1ec6d1b7b655"],"pending":[],"skipped":[],"duration":1494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"15b1a334-5e3e-4c69-97d1-d5ac24dce914","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":"8ccb4dc1-ca65-4f9e-9cca-a567c17bf899","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":525,"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":"ae3f5080-4ae6-4f5f-96b2-c2483dcaf6b7","parentUUID":"8ccb4dc1-ca65-4f9e-9cca-a567c17bf899","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":491,"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":"baa1985d-fc79-4929-bae1-88d68cf21dd4","parentUUID":"8ccb4dc1-ca65-4f9e-9cca-a567c17bf899","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae3f5080-4ae6-4f5f-96b2-c2483dcaf6b7","baa1985d-fc79-4929-bae1-88d68cf21dd4"],"pending":[],"skipped":[],"duration":1016,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"34466be8-a8da-4643-a365-891e43c02413","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":"e1c6f92a-b5d4-419e-8a6a-8b3f0c5811c8","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":527,"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":"372291ea-8eed-4973-9f3a-6d15401f120a","parentUUID":"e1c6f92a-b5d4-419e-8a6a-8b3f0c5811c8","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":490,"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":"37a8d5ee-f256-4345-b47b-52759a7a2e7e","parentUUID":"e1c6f92a-b5d4-419e-8a6a-8b3f0c5811c8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["372291ea-8eed-4973-9f3a-6d15401f120a","37a8d5ee-f256-4345-b47b-52759a7a2e7e"],"pending":[],"skipped":[],"duration":1017,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"20d30428-537e-4f23-892f-c3fb08b195b7","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":"4148e818-6ca4-4f0b-b220-e3bc040a2295","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":"4e41b1c5-e092-4d7b-a193-091cfa9f433c","parentUUID":"4148e818-6ca4-4f0b-b220-e3bc040a2295","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":485,"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":"3b6df86a-1414-4952-8f2e-b0d219fa4ce0","parentUUID":"4148e818-6ca4-4f0b-b220-e3bc040a2295","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e41b1c5-e092-4d7b-a193-091cfa9f433c","3b6df86a-1414-4952-8f2e-b0d219fa4ce0"],"pending":[],"skipped":[],"duration":992,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fbe61207-f219-466e-b6b3-35499a256429","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":"c122a6de-4630-4bf1-8458-db6cbd1182e8","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":531,"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":"cf268ae3-30b5-4133-8f18-2a59218a2415","parentUUID":"c122a6de-4630-4bf1-8458-db6cbd1182e8","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":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/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":"3c788ced-bf69-45e2-b48d-58e01ee95c65","parentUUID":"c122a6de-4630-4bf1-8458-db6cbd1182e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cf268ae3-30b5-4133-8f18-2a59218a2415","3c788ced-bf69-45e2-b48d-58e01ee95c65"],"pending":[],"skipped":[],"duration":999,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8ff1b08e-40f8-4ba0-9f9f-7455540d9395","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":"4e713bbd-52dd-4fb9-8c87-c852a1225cee","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":527,"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":"1bbbe23d-51d8-44b8-bd4b-bb677cdb798d","parentUUID":"4e713bbd-52dd-4fb9-8c87-c852a1225cee","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":473,"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":"bcb47e2d-849f-40e6-be34-ea9bc4f6767f","parentUUID":"4e713bbd-52dd-4fb9-8c87-c852a1225cee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1bbbe23d-51d8-44b8-bd4b-bb677cdb798d","bcb47e2d-849f-40e6-be34-ea9bc4f6767f"],"pending":[],"skipped":[],"duration":1000,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5fbd8ff0-8074-4caa-a84a-2889ab74a737","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":"dd378340-ae44-4248-9860-17ba6ece63ba","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":515,"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":"e35fda17-4e0d-4c75-aa09-8d91d0c57c0a","parentUUID":"dd378340-ae44-4248-9860-17ba6ece63ba","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":4213,"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":"54203827-d84b-4878-a6a3-cee1a56e9c27","parentUUID":"dd378340-ae44-4248-9860-17ba6ece63ba","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":558,"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":"c1f138cb-5bcd-4937-be75-995ef0cdbc86","parentUUID":"dd378340-ae44-4248-9860-17ba6ece63ba","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":462,"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":"7026d422-c0b4-49b5-b5ba-d8cfbd5ed4a6","parentUUID":"dd378340-ae44-4248-9860-17ba6ece63ba","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e35fda17-4e0d-4c75-aa09-8d91d0c57c0a","54203827-d84b-4878-a6a3-cee1a56e9c27","c1f138cb-5bcd-4937-be75-995ef0cdbc86","7026d422-c0b4-49b5-b5ba-d8cfbd5ed4a6"],"pending":[],"skipped":[],"duration":5748,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0a61872-f82a-4a95-9869-d63427de4ed9","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":"2ef62327-6d29-45c2-958f-cfd0b33432f9","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":535,"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":"4a6bfbd2-1fae-49a8-b615-a5cd2ccf6074","parentUUID":"2ef62327-6d29-45c2-958f-cfd0b33432f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a6bfbd2-1fae-49a8-b615-a5cd2ccf6074"],"pending":[],"skipped":[],"duration":535,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d742739f-2718-4c1c-a327-4805699671a8","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":"cbc54513-4f47-47b9-b0cc-59bbc86c00e1","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":517,"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":"ea6b45c5-4e5c-4de0-98a8-29c177eb8066","parentUUID":"cbc54513-4f47-47b9-b0cc-59bbc86c00e1","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":4204,"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":"5c2bef10-937b-418c-92ad-cc3b2d5353aa","parentUUID":"cbc54513-4f47-47b9-b0cc-59bbc86c00e1","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4194,"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":"db46bac8-4256-4538-a4b7-3efc86f685a6","parentUUID":"cbc54513-4f47-47b9-b0cc-59bbc86c00e1","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":4182,"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":"66e16ab5-41f6-4d55-88da-e9e8c1f9350c","parentUUID":"cbc54513-4f47-47b9-b0cc-59bbc86c00e1","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":27,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"32a72f57-c5b8-4d3d-a10a-2fcac4da5d94","parentUUID":"cbc54513-4f47-47b9-b0cc-59bbc86c00e1","isHook":false,"skipped":false}],"suites":[],"passes":["32a72f57-c5b8-4d3d-a10a-2fcac4da5d94"],"failures":["ea6b45c5-4e5c-4de0-98a8-29c177eb8066","5c2bef10-937b-418c-92ad-cc3b2d5353aa","db46bac8-4256-4538-a4b7-3efc86f685a6","66e16ab5-41f6-4d55-88da-e9e8c1f9350c"],"pending":[],"skipped":[],"duration":13124,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ada35fb2-9c20-4b73-9397-86d9233f5312","title":"","fullFile":"cypress/integration/seeder/seedo.spec.js","file":"cypress/integration/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8882fa32-29c0-4adc-8d1d-f72cf532a5be","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":542,"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":"d5fe5aaa-a992-4830-805e-dc6f2053845d","parentUUID":"8882fa32-29c0-4adc-8d1d-f72cf532a5be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d5fe5aaa-a992-4830-805e-dc6f2053845d"],"pending":[],"skipped":[],"duration":542,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9e010b91-e33d-45e8-b35e-abc9ec81f586","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":"14a56622-f9db-40cb-93d1-e5544924cf79","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":471,"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":"0794c7c8-a5b5-4825-a0a0-61e7d67e8df1","parentUUID":"14a56622-f9db-40cb-93d1-e5544924cf79","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0794c7c8-a5b5-4825-a0a0-61e7d67e8df1"],"pending":[],"skipped":[],"duration":471,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3d0805da-6fec-426e-ba7c-439ebba27704","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":"2c736052-e964-4e04-951c-5dec2131c61a","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":530,"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":"09a428f8-f1f3-427d-9ef3-ace81721fd48","parentUUID":"2c736052-e964-4e04-951c-5dec2131c61a","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":467,"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":"79a93ec3-bb7c-42a7-b3ac-83063879800a","parentUUID":"2c736052-e964-4e04-951c-5dec2131c61a","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":511,"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":"7fab7359-6db9-4563-865e-2b137b5db987","parentUUID":"2c736052-e964-4e04-951c-5dec2131c61a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09a428f8-f1f3-427d-9ef3-ace81721fd48","79a93ec3-bb7c-42a7-b3ac-83063879800a","7fab7359-6db9-4563-865e-2b137b5db987"],"pending":[],"skipped":[],"duration":1508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23162c79-39f6-4418-b093-3e5e6f592b92","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":"114e1315-ad5a-4749-800c-333766392c88","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":719,"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":"3de8d71b-ed54-4c99-a933-2771d44f6913","parentUUID":"114e1315-ad5a-4749-800c-333766392c88","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":4179,"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":"59167fef-1c94-43d7-aa76-1c798e10c6a9","parentUUID":"114e1315-ad5a-4749-800c-333766392c88","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":4173,"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":"0cc57928-dda1-406e-b017-b76490fd64d2","parentUUID":"114e1315-ad5a-4749-800c-333766392c88","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3de8d71b-ed54-4c99-a933-2771d44f6913","59167fef-1c94-43d7-aa76-1c798e10c6a9","0cc57928-dda1-406e-b017-b76490fd64d2"],"pending":[],"skipped":[],"duration":9071,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"166a7139-b0d0-4a03-92b7-ce0d59a73c2b","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":"5094001b-a786-4169-8d91-e846589438ad","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":527,"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":"621cda31-3d8b-44fd-bceb-3d6511c72e87","parentUUID":"5094001b-a786-4169-8d91-e846589438ad","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["621cda31-3d8b-44fd-bceb-3d6511c72e87"],"pending":[],"skipped":[],"duration":527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"974611a4-fd19-4a53-9238-62354b6306c9","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":"a4250dfb-ceea-4c1f-8ab8-66b846e5acea","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":536,"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":"5da894d9-eacb-446e-9c26-5f7dd17a1344","parentUUID":"a4250dfb-ceea-4c1f-8ab8-66b846e5acea","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5da894d9-eacb-446e-9c26-5f7dd17a1344"],"pending":[],"skipped":[],"duration":536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6a58f18b-209b-4698-92be-16bbf6227b02","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":"52b688d1-5869-405a-9715-51879f44e190","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":497,"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":"d4b7ad41-8efa-4890-9dd6-4f550d1fdcdf","parentUUID":"52b688d1-5869-405a-9715-51879f44e190","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d4b7ad41-8efa-4890-9dd6-4f550d1fdcdf"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bb78a2d8-acd9-479d-bf52-ef1d95a77fc6","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":"f6241ea8-8796-4952-b04b-df569954a9d6","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":509,"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":"960534ea-d8af-43a1-8eda-420ffc4451ce","parentUUID":"f6241ea8-8796-4952-b04b-df569954a9d6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["960534ea-d8af-43a1-8eda-420ffc4451ce"],"pending":[],"skipped":[],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"34287d01-49fd-4220-9157-29badd3af3df","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":"ed0350a3-146a-437c-80b2-8991b60b1ba7","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":596,"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":"2eacb4ee-b5c4-4018-aeac-6a2c14db8e34","parentUUID":"ed0350a3-146a-437c-80b2-8991b60b1ba7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2eacb4ee-b5c4-4018-aeac-6a2c14db8e34"],"pending":[],"skipped":[],"duration":596,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"64d42e2d-4e22-4736-8a0a-b4858175ce4a","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":"6f9fce53-4b22-410a-b295-fdfddd100f55","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":507,"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":"1e130303-d576-42c3-9b76-a6a564ddd2aa","parentUUID":"6f9fce53-4b22-410a-b295-fdfddd100f55","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1e130303-d576-42c3-9b76-a6a564ddd2aa"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8966006f-e2c1-4fc7-ba82-21edeb9a042e","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":"0900efd1-9814-4363-96a9-eb0fde129fff","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":533,"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":"ec0ab736-ca64-4328-a76e-0bc0be50e00f","parentUUID":"0900efd1-9814-4363-96a9-eb0fde129fff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ec0ab736-ca64-4328-a76e-0bc0be50e00f"],"pending":[],"skipped":[],"duration":533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d592510-e674-4237-9cbd-0bee79db5a78","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":"34314ad4-0ca6-4b53-bb36-fa273428cb57","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":4773,"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":"c5d62348-a723-4a85-a9e9-17509ba7ea20","parentUUID":"34314ad4-0ca6-4b53-bb36-fa273428cb57","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":4186,"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":"463e179d-45f7-4667-aa64-09b280ab9d50","parentUUID":"34314ad4-0ca6-4b53-bb36-fa273428cb57","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":4201,"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":"8f02f02d-3389-4aee-8421-1ac380981139","parentUUID":"34314ad4-0ca6-4b53-bb36-fa273428cb57","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":4199,"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":"e426b02d-1fcc-4e4b-96cc-b8cc7a0dae4f","parentUUID":"34314ad4-0ca6-4b53-bb36-fa273428cb57","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5d62348-a723-4a85-a9e9-17509ba7ea20","463e179d-45f7-4667-aa64-09b280ab9d50","8f02f02d-3389-4aee-8421-1ac380981139","e426b02d-1fcc-4e4b-96cc-b8cc7a0dae4f"],"pending":[],"skipped":[],"duration":17359,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"799ae6ac-f756-4cbf-a01f-713cc8e8ac36","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":"536169e7-ce47-4abb-bc0d-58b0830178d7","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":506,"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":"c1bdfafe-609e-4922-ae69-268f69f53b21","parentUUID":"536169e7-ce47-4abb-bc0d-58b0830178d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c1bdfafe-609e-4922-ae69-268f69f53b21"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a7d30e12-e179-4d20-85e1-569ca44de768","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":"f1611dd5-4b16-49f2-a7a2-ea3cb649d90a","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":516,"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":"21f36f0e-2af3-4e44-8f4f-1fdba8c19d49","parentUUID":"f1611dd5-4b16-49f2-a7a2-ea3cb649d90a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["21f36f0e-2af3-4e44-8f4f-1fdba8c19d49"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"772d2067-59f7-4722-a834-bad66c868948","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":"e0c72da8-20d1-4490-84ca-271421f5ea7d","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":522,"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":"84ca3379-ab3a-43c9-8072-e77ceda6e882","parentUUID":"e0c72da8-20d1-4490-84ca-271421f5ea7d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["84ca3379-ab3a-43c9-8072-e77ceda6e882"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"37fa441b-35f7-419a-a3eb-19ee3b6955da","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":"defaf502-7cd4-4ba9-9178-fbfbb38caeae","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":606,"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":"4a77561a-5f20-4dac-bda2-c6c3a4beda1b","parentUUID":"defaf502-7cd4-4ba9-9178-fbfbb38caeae","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":494,"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":"e4db368f-59c8-431c-abe1-f9fbd4bda473","parentUUID":"defaf502-7cd4-4ba9-9178-fbfbb38caeae","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":485,"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":"b60c6a7a-8ddc-4536-939a-6636f3634ff6","parentUUID":"defaf502-7cd4-4ba9-9178-fbfbb38caeae","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a77561a-5f20-4dac-bda2-c6c3a4beda1b","e4db368f-59c8-431c-abe1-f9fbd4bda473","b60c6a7a-8ddc-4536-939a-6636f3634ff6"],"pending":[],"skipped":[],"duration":1585,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1bfb5ae5-edb1-469a-a391-af0e2058a8b6","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":"21044e9c-a57b-4e63-8be2-a8a50dd8d857","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":493,"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":"fa9153f7-cd3e-4c70-b667-64571560b95d","parentUUID":"21044e9c-a57b-4e63-8be2-a8a50dd8d857","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fa9153f7-cd3e-4c70-b667-64571560b95d"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aacd7429-c38e-42ad-a91f-0a8ab212bf5e","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":"d5bb3e41-3528-4ce2-b35e-5afe27c43fa5","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":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('.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":"ea1496c0-1ba4-4621-935f-6463a2d1bf86","parentUUID":"d5bb3e41-3528-4ce2-b35e-5afe27c43fa5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea1496c0-1ba4-4621-935f-6463a2d1bf86"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"63b88246-18a9-4138-8226-3db449cf9436","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":"861efdc0-5a8a-4d48-b47d-ccbda8d5f345","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":504,"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":"af62d63a-e7cd-4c2e-b815-c154009111a9","parentUUID":"861efdc0-5a8a-4d48-b47d-ccbda8d5f345","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["af62d63a-e7cd-4c2e-b815-c154009111a9"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6f96349-006c-4772-bfee-0a6391f58619","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":"3d6a197f-6cc1-42b3-aa74-2a7b320668b9","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":559,"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":"19a9f227-2bf4-4c42-ad98-2b4b0bd60041","parentUUID":"3d6a197f-6cc1-42b3-aa74-2a7b320668b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["19a9f227-2bf4-4c42-ad98-2b4b0bd60041"],"pending":[],"skipped":[],"duration":559,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c1b295a3-6162-42f2-b9b5-9b3877933cad","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":"74d150b6-a9fb-4f57-be25-62fd6fffa727","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":540,"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":"8ec5da4e-aefc-401f-b184-dc7ffcea299e","parentUUID":"74d150b6-a9fb-4f57-be25-62fd6fffa727","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8ec5da4e-aefc-401f-b184-dc7ffcea299e"],"pending":[],"skipped":[],"duration":540,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"801bd83e-13de-49c9-8dda-9d88900b0265","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":"e5f625ed-7303-49d9-88ac-4fe9ade34ac8","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":511,"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":"5b43f63a-edeb-4a16-8736-5576efebaf4d","parentUUID":"e5f625ed-7303-49d9-88ac-4fe9ade34ac8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5b43f63a-edeb-4a16-8736-5576efebaf4d"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31af0578-e426-417b-a760-57d9afad5050","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":"a748a0a0-9e5c-49f6-aa0f-bd23710c4742","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":531,"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":"3f8c2b3e-6b93-45e3-a07d-97052c69f9dd","parentUUID":"a748a0a0-9e5c-49f6-aa0f-bd23710c4742","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f8c2b3e-6b93-45e3-a07d-97052c69f9dd"],"pending":[],"skipped":[],"duration":531,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e5a2043d-027e-4be5-9c69-ec577e7830d6","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":"9a283f67-48e1-44a1-b638-00e293c66898","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":520,"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":"15e004cb-d85f-45cb-8e2c-b73ed3b1e89c","parentUUID":"9a283f67-48e1-44a1-b638-00e293c66898","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["15e004cb-d85f-45cb-8e2c-b73ed3b1e89c"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7e37084f-6955-4090-a9f8-f91832f08add","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":"8a52db03-689a-4431-9a2b-8ab534d2b428","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":477,"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":"faec9303-f0e3-459b-814c-333e131a0c00","parentUUID":"8a52db03-689a-4431-9a2b-8ab534d2b428","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["faec9303-f0e3-459b-814c-333e131a0c00"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5d2e927f-247a-411f-b011-4126424aeeb3","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":"67046135-4eec-471a-8d41-bff788f86bcf","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":485,"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":"b7b00a92-015c-4633-8396-a6abc888e521","parentUUID":"67046135-4eec-471a-8d41-bff788f86bcf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b7b00a92-015c-4633-8396-a6abc888e521"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"efd7326d-13be-4505-963d-3e168836b319","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":"4978f354-9d81-425a-8bca-c7f5806b8f58","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":558,"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":"5e55c14a-7135-4ff1-aca3-4a5e48187dba","parentUUID":"4978f354-9d81-425a-8bca-c7f5806b8f58","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5e55c14a-7135-4ff1-aca3-4a5e48187dba"],"pending":[],"skipped":[],"duration":558,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d778b901-f8e6-402c-9bb9-aa66b3bdca8f","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":"4fc37c74-3594-4c83-8415-a8d8df807aaf","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":521,"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":"6a8bc39f-992d-4296-a68b-8717ed5a63d9","parentUUID":"4fc37c74-3594-4c83-8415-a8d8df807aaf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6a8bc39f-992d-4296-a68b-8717ed5a63d9"],"pending":[],"skipped":[],"duration":521,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"822a65c3-8257-4823-96a1-868a0cbe894b","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":"e9d25623-f001-4b2d-b260-a91bbc80794f","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":485,"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":"b2c7c79a-51d4-415d-a05d-446154982050","parentUUID":"e9d25623-f001-4b2d-b260-a91bbc80794f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2c7c79a-51d4-415d-a05d-446154982050"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7e883576-0e3f-4a17-9f6a-509cb8454155","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":"d29eedae-ced6-41fa-8047-a88ac1055f9d","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":495,"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":"a76a1a01-a9a4-482d-9a30-98329b1748d9","parentUUID":"d29eedae-ced6-41fa-8047-a88ac1055f9d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a76a1a01-a9a4-482d-9a30-98329b1748d9"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"08f62177-41c6-40bb-8a4f-f358d0ee1755","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":"51590a23-efbb-4fd6-bfd2-1584a2ab6465","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":532,"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":"b18c15e1-48b6-4f97-b7c5-99932486e8b6","parentUUID":"51590a23-efbb-4fd6-bfd2-1584a2ab6465","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b18c15e1-48b6-4f97-b7c5-99932486e8b6"],"pending":[],"skipped":[],"duration":532,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bacaab0b-ec21-4a51-9f81-a5390b480b18","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":"cb252005-9ee0-41c5-8657-3c6fcd3c8126","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":530,"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":"28ba3fe1-038a-403d-85e6-8e24f7a4b353","parentUUID":"cb252005-9ee0-41c5-8657-3c6fcd3c8126","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["28ba3fe1-038a-403d-85e6-8e24f7a4b353"],"pending":[],"skipped":[],"duration":530,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b9ef6462-bdad-40c2-bbc3-e8107190648e","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":"8644fcfa-2388-4956-9bc1-f9c3ad195fac","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":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('#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":"8232c09e-8926-4cbb-8403-0acfb3d47125","parentUUID":"8644fcfa-2388-4956-9bc1-f9c3ad195fac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8232c09e-8926-4cbb-8403-0acfb3d47125"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d7e9b88b-db29-441f-bb7f-3ac39d2ef977","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":"4f42ca52-95a0-445b-85c5-a4d1f54dea60","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":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('.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":"47cd72d5-bde3-4e47-bc9d-85774569dbcd","parentUUID":"4f42ca52-95a0-445b-85c5-a4d1f54dea60","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["47cd72d5-bde3-4e47-bc9d-85774569dbcd"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"024812da-3bc5-4e64-be03-148dc89319ed","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":"2e03c71e-5623-4a96-928b-da8ffe230a3a","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":600,"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":"08edb144-b9a8-4e80-ad3c-13e70575b1ef","parentUUID":"2e03c71e-5623-4a96-928b-da8ffe230a3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["08edb144-b9a8-4e80-ad3c-13e70575b1ef"],"pending":[],"skipped":[],"duration":600,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce68bcb7-5148-4218-9769-39823057f2fd","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":"ce7477d9-d5b4-4b78-afe5-f138ed72c611","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":506,"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":"4636d18f-1e16-4816-89ab-a707d8996b27","parentUUID":"ce7477d9-d5b4-4b78-afe5-f138ed72c611","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4636d18f-1e16-4816-89ab-a707d8996b27"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"156cb8a9-35f2-496f-8ea4-ec49d4f86c94","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":"bbe11599-4d8f-429a-a50f-bdaa0c6ca934","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":524,"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":"f1004203-c80a-46b7-92c3-ac89447c45c7","parentUUID":"bbe11599-4d8f-429a-a50f-bdaa0c6ca934","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f1004203-c80a-46b7-92c3-ac89447c45c7"],"pending":[],"skipped":[],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"45e62e89-fa2c-436e-8504-3bf239bef14a","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":"ffc6e0e6-9b40-4da3-a4c8-713660904f1a","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":526,"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":"7e572cae-b363-4af3-9d63-d3297f3a8bfb","parentUUID":"ffc6e0e6-9b40-4da3-a4c8-713660904f1a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7e572cae-b363-4af3-9d63-d3297f3a8bfb"],"pending":[],"skipped":[],"duration":526,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c59601ee-0e39-480d-a8d0-1a9f3ac7a510","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":"cb44b617-0579-4320-82f4-f3b224d8af07","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":499,"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":"bdd47283-00e9-4b0d-b8ef-96d02182b4e6","parentUUID":"cb44b617-0579-4320-82f4-f3b224d8af07","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bdd47283-00e9-4b0d-b8ef-96d02182b4e6"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"04d9d498-b166-4bcc-92a6-832a9cfd62f1","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":"eac9e2ff-cb9f-45a4-ab1b-007ab689f015","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":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_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":"114ce975-1984-4c1d-bfe3-276e641b9fd2","parentUUID":"eac9e2ff-cb9f-45a4-ab1b-007ab689f015","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["114ce975-1984-4c1d-bfe3-276e641b9fd2"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e90dc145-d10f-4e54-8198-43b5f0a53211","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":"3215f139-1908-4c02-93da-c89535671f3c","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":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_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":"828364e4-98af-4b55-999a-c726df933f6d","parentUUID":"3215f139-1908-4c02-93da-c89535671f3c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["828364e4-98af-4b55-999a-c726df933f6d"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"581da8a0-54c0-4f2c-809b-e8a995201742","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":"c4bc89b9-874d-4a12-bcc0-82a4e19d2741","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":502,"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":"ff7106d3-7095-4551-90e6-edb888f3e2c4","parentUUID":"c4bc89b9-874d-4a12-bcc0-82a4e19d2741","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ff7106d3-7095-4551-90e6-edb888f3e2c4"],"pending":[],"skipped":[],"duration":502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d2bea2e7-b36e-41cb-a5c1-bf72215308ab","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":"b8b9e284-7b77-465c-ae79-4afe2bc0756e","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":525,"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":"0d46db61-6def-42e4-a125-e98d61caee37","parentUUID":"b8b9e284-7b77-465c-ae79-4afe2bc0756e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0d46db61-6def-42e4-a125-e98d61caee37"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aa78ac28-2d3c-4d8f-8307-b33f62c8cac0","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":"b88ea4c0-7b0b-4c73-9bc6-18b483d55c37","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":508,"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":"2a966401-7ac9-44fa-8f60-5360343bc270","parentUUID":"b88ea4c0-7b0b-4c73-9bc6-18b483d55c37","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a966401-7ac9-44fa-8f60-5360343bc270"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67028055-8697-42e8-9176-dcb089208b45","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":"4c613238-b9d5-485d-8101-f373ed4a00b3","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":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('#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":"1ce471e4-594b-4720-941f-e72641b9d61e","parentUUID":"4c613238-b9d5-485d-8101-f373ed4a00b3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1ce471e4-594b-4720-941f-e72641b9d61e"],"pending":[],"skipped":[],"duration":479,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8022df2d-6fd7-4a98-aa39-b66ec6480e18","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":"0592724e-cb9b-4e50-a822-42e42053da08","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":"b2d74bfa-8526-44ce-b8e0-6d61c97f2c1d","parentUUID":"0592724e-cb9b-4e50-a822-42e42053da08","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2d74bfa-8526-44ce-b8e0-6d61c97f2c1d"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ffec455d-368c-408e-9f64-ce74b6ee276c","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":"feb06650-e6e8-4580-9637-b3485377e36f","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":536,"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":"99daeb33-4fac-4aaf-ad37-073e4fa8c58e","parentUUID":"feb06650-e6e8-4580-9637-b3485377e36f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["99daeb33-4fac-4aaf-ad37-073e4fa8c58e"],"pending":[],"skipped":[],"duration":536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"641330be-d767-46e6-ae18-eb7d301dbd25","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":"5a0256ed-2d15-45e9-93cb-2a4c451d462d","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":465,"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":"494b65b8-39d1-4520-9c35-6a1779b303f1","parentUUID":"5a0256ed-2d15-45e9-93cb-2a4c451d462d","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":12237,"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":"6313ca1c-0fc6-4f8d-9c5f-a7e7d9a75071","parentUUID":"5a0256ed-2d15-45e9-93cb-2a4c451d462d","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":4256,"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":"d043f135-bf0e-4c79-953b-26dfa670a311","parentUUID":"5a0256ed-2d15-45e9-93cb-2a4c451d462d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["494b65b8-39d1-4520-9c35-6a1779b303f1","6313ca1c-0fc6-4f8d-9c5f-a7e7d9a75071","d043f135-bf0e-4c79-953b-26dfa670a311"],"pending":[],"skipped":[],"duration":16958,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b7af278e-5154-4598-9ccd-ea71cd584b12","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":"c15d5557-c721-4693-ab95-a9cb1663671d","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":513,"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":"78aa5b92-6504-4afc-9b2b-c98e41b63095","parentUUID":"c15d5557-c721-4693-ab95-a9cb1663671d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["78aa5b92-6504-4afc-9b2b-c98e41b63095"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d72e0b40-b190-4115-8764-a12f85a81009","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":"0d9cd62e-4007-465a-baf4-157fb2ecfb8a","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":4803,"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":"86fb9de6-0152-4af3-863a-b8c967bfc6bb","parentUUID":"0d9cd62e-4007-465a-baf4-157fb2ecfb8a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["86fb9de6-0152-4af3-863a-b8c967bfc6bb"],"pending":[],"skipped":[],"duration":4803,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"092f5d55-faca-46b7-b41c-509f14b6f313","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":"ea13ee3a-949d-4ca0-a5e1-8bdeec3ea6de","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":4693,"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":"90bdc2ff-6ae3-452b-b24d-c90a1c6c2c18","parentUUID":"ea13ee3a-949d-4ca0-a5e1-8bdeec3ea6de","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["90bdc2ff-6ae3-452b-b24d-c90a1c6c2c18"],"pending":[],"skipped":[],"duration":4693,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"96fbd1b6-e4ff-49d7-a1be-a6dafdd038ef","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":"e15c1d8f-ddd6-4367-9724-12ebd1d30974","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":4613,"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":"603e675c-2a65-4918-aafb-302f0d256817","parentUUID":"e15c1d8f-ddd6-4367-9724-12ebd1d30974","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["603e675c-2a65-4918-aafb-302f0d256817"],"pending":[],"skipped":[],"duration":4613,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f1e71d64-f5c2-4473-b21b-432f39077daa","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":"523e47d3-9039-4ceb-9097-b69252b91e7c","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":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-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":"9f8bfc60-cbea-4daf-a69f-618088529337","parentUUID":"523e47d3-9039-4ceb-9097-b69252b91e7c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f8bfc60-cbea-4daf-a69f-618088529337"],"pending":[],"skipped":[],"duration":4702,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"af0325d5-1937-4455-83a8-c1133d485ab0","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":"6a841599-e359-4987-9ed5-2eb26c8bcc1c","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":4744,"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":"8df3f03a-952b-4ab7-b28f-86dea8858ce9","parentUUID":"6a841599-e359-4987-9ed5-2eb26c8bcc1c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8df3f03a-952b-4ab7-b28f-86dea8858ce9"],"pending":[],"skipped":[],"duration":4744,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8df6ebac-7f01-4540-a2fd-1ba554df0934","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":"1ceea9bd-71b2-4880-be0e-c70144308b9e","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":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').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":"d0aba0ab-dc6f-4cbc-81a7-250378ec9bff","parentUUID":"1ceea9bd-71b2-4880-be0e-c70144308b9e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d0aba0ab-dc6f-4cbc-81a7-250378ec9bff"],"pending":[],"skipped":[],"duration":4587,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3a5c485b-070e-4828-81e9-7a99dfdbc39f","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":"ec23f5a6-ac77-4cdb-942e-d139bfb65245","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":4615,"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":"ced6fca7-ee8e-4795-9e63-e04564460f81","parentUUID":"ec23f5a6-ac77-4cdb-942e-d139bfb65245","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ced6fca7-ee8e-4795-9e63-e04564460f81"],"pending":[],"skipped":[],"duration":4615,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a893498d-0eb0-4bea-9ae0-945979ee4e43","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":"3f573ab2-d610-457f-813d-b18af2a5aa49","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":4588,"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":"e1b8f9ef-d219-4add-a4c1-351efc2277b4","parentUUID":"3f573ab2-d610-457f-813d-b18af2a5aa49","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e1b8f9ef-d219-4add-a4c1-351efc2277b4"],"pending":[],"skipped":[],"duration":4588,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"07d90773-2269-446f-a469-70cace0f9c42","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":"0e4ca7ba-1021-43d8-b5f0-c2989dc8e69c","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":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.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":"29b653a6-c8e8-4a44-ac8b-7e6802bab383","parentUUID":"0e4ca7ba-1021-43d8-b5f0-c2989dc8e69c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29b653a6-c8e8-4a44-ac8b-7e6802bab383"],"pending":[],"skipped":[],"duration":4555,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0929a30a-35f6-44ae-9118-d05e5e0ad5a2","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":"2922355f-4380-4235-8457-24a0802395c1","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":4698,"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":"b7daba61-4cf7-45d8-9ce6-71959afd08f9","parentUUID":"2922355f-4380-4235-8457-24a0802395c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b7daba61-4cf7-45d8-9ce6-71959afd08f9"],"pending":[],"skipped":[],"duration":4698,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f59c83a-89bc-41f6-b7df-94f7656ffeb4","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":"87f2a767-0b72-4a16-80ff-21c9e2a0d160","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":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('#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":"ae539ede-4431-40f4-b575-226ec08b2610","parentUUID":"87f2a767-0b72-4a16-80ff-21c9e2a0d160","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae539ede-4431-40f4-b575-226ec08b2610"],"pending":[],"skipped":[],"duration":4540,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8e8d546b-d51f-4c98-a8ac-09bd7b9d5a1e","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":"9bc661ad-dd48-4916-97ad-3791ee908ce7","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":"1f38aab2-dc07-4945-867a-caf898f85891","parentUUID":"9bc661ad-dd48-4916-97ad-3791ee908ce7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1f38aab2-dc07-4945-867a-caf898f85891"],"pending":[],"skipped":[],"duration":4532,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b9196bda-8c0b-4ac5-b29a-62094b9a46ab","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":"f4bc9da8-0543-4141-8d95-754f054df51f","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":4542,"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":"af3aeb19-af05-49f2-a79f-15a09825c89d","parentUUID":"f4bc9da8-0543-4141-8d95-754f054df51f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["af3aeb19-af05-49f2-a79f-15a09825c89d"],"pending":[],"skipped":[],"duration":4542,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"75ffb21f-be91-402d-bf18-ff4dea18aa86","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":"3bfaeac8-84cf-444f-810e-096580a69d78","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":4619,"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":"dad10ad3-746b-46b9-9a4a-037b28f19162","parentUUID":"3bfaeac8-84cf-444f-810e-096580a69d78","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dad10ad3-746b-46b9-9a4a-037b28f19162"],"pending":[],"skipped":[],"duration":4619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5ac3ca0d-6d18-4c75-873b-ad3f869a2880","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":"29997a79-fa0d-4ff1-b5b6-d161aed815ca","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":4955,"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":"e18c595b-ce3c-428b-ab0b-50703f32cdf3","parentUUID":"29997a79-fa0d-4ff1-b5b6-d161aed815ca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e18c595b-ce3c-428b-ab0b-50703f32cdf3"],"pending":[],"skipped":[],"duration":4955,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"178236ec-567f-489c-a6d7-26012c71226b","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":"902580b2-f764-49fc-868f-92cae5a4011b","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":4579,"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":"5d76e077-8d21-400b-bd30-51c0e6328b90","parentUUID":"902580b2-f764-49fc-868f-92cae5a4011b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5d76e077-8d21-400b-bd30-51c0e6328b90"],"pending":[],"skipped":[],"duration":4579,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"30f2b343-c4a3-44cf-9a64-39bd8bc30e76","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":"bebdd2ed-344a-4662-9a95-30a2eee20c9f","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":4593,"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":"f370b9ef-76c1-4613-a335-0d05ac2faee2","parentUUID":"bebdd2ed-344a-4662-9a95-30a2eee20c9f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f370b9ef-76c1-4613-a335-0d05ac2faee2"],"pending":[],"skipped":[],"duration":4593,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4435ae5d-32cc-4eee-af5a-01f12ac3babc","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":"58846d0b-e89f-4c3c-8ff0-72b8235799d3","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":4589,"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":"98a73b3f-45fc-421d-9d70-2d23c1b47209","parentUUID":"58846d0b-e89f-4c3c-8ff0-72b8235799d3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98a73b3f-45fc-421d-9d70-2d23c1b47209"],"pending":[],"skipped":[],"duration":4589,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e685c0b5-0dfd-4cc2-ba85-0c4da540f2e8","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":"1f6e1b1f-914d-40f6-abec-0a52de6750c1","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":4591,"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":"c654d910-1963-44f4-8381-7c0e5d47dd5e","parentUUID":"1f6e1b1f-914d-40f6-abec-0a52de6750c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c654d910-1963-44f4-8381-7c0e5d47dd5e"],"pending":[],"skipped":[],"duration":4591,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66ccabeb-78b6-4720-bbb6-da6cfb27e22a","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":"8c26311b-5fd7-4e49-a740-8db08e44d9e7","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":4571,"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":"88702642-67dc-458e-aeef-7a2aa45e611c","parentUUID":"8c26311b-5fd7-4e49-a740-8db08e44d9e7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88702642-67dc-458e-aeef-7a2aa45e611c"],"pending":[],"skipped":[],"duration":4571,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0e4650b0-c621-4937-beea-2cd54f747a6d","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":"b348f83b-daf9-409a-a71b-00aa3c715d84","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":314,"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":"ba15638d-379e-4002-a570-f32930c87a8b","parentUUID":"b348f83b-daf9-409a-a71b-00aa3c715d84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ba15638d-379e-4002-a570-f32930c87a8b"],"pending":[],"skipped":[],"duration":314,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"35182480-0605-4901-a63b-ff3cc465a375","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":"4a467833-e546-49ea-869a-d6cc5d877e9c","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":557,"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":"02fbfcb5-9ce2-44fc-afeb-ea95446dcb1c","parentUUID":"4a467833-e546-49ea-869a-d6cc5d877e9c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["02fbfcb5-9ce2-44fc-afeb-ea95446dcb1c"],"pending":[],"skipped":[],"duration":557,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"12bd7888-1983-4f85-8317-fe8de2584e5f","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":"65f95d11-b861-463d-ac29-efd50f58b8c8","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":505,"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":"a79aaf44-50c6-474b-bc19-3003b148492c","parentUUID":"65f95d11-b861-463d-ac29-efd50f58b8c8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a79aaf44-50c6-474b-bc19-3003b148492c"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3ce78bbc-c236-4cd0-b9fc-e02b8d4298f9","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"86fcafc2-c592-4016-9e6d-4692571ae27b","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":510,"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":"c5d951ed-d7f4-42e0-ae66-8170d6c2d701","parentUUID":"86fcafc2-c592-4016-9e6d-4692571ae27b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5d951ed-d7f4-42e0-ae66-8170d6c2d701"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e84544f3-b576-4f9b-baa7-d84d7e8fa575","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2e8ebf26-fa33-4923-902c-1a676b359bd0","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":480,"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":"53a72fc1-bedd-4f89-8942-d4cbc0c21368","parentUUID":"2e8ebf26-fa33-4923-902c-1a676b359bd0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["53a72fc1-bedd-4f89-8942-d4cbc0c21368"],"pending":[],"skipped":[],"duration":480,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4728cc4c-e71b-49d3-a208-0bc9dfcf7229","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f90d84a0-31e1-49d3-8dea-3dfbf630a99a","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":4690,"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":"037a63a7-fb2b-43e9-b8b7-88cd610268d9","parentUUID":"f90d84a0-31e1-49d3-8dea-3dfbf630a99a","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":4686,"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":"19e56451-178b-44f7-a53b-3c35fe7a78f0","parentUUID":"f90d84a0-31e1-49d3-8dea-3dfbf630a99a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["037a63a7-fb2b-43e9-b8b7-88cd610268d9","19e56451-178b-44f7-a53b-3c35fe7a78f0"],"pending":[],"skipped":[],"duration":9376,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bdb8e7d6-5f79-4c3f-adff-f2ebbd52cae9","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ae352939-bc5d-4be7-89d1-a2ef6ce7e915","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":366,"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":"4110a33b-473c-4c5b-b193-129582ebc842","parentUUID":"ae352939-bc5d-4be7-89d1-a2ef6ce7e915","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":522,"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":"c951ece5-7749-4f76-9427-a326566a123e","parentUUID":"ae352939-bc5d-4be7-89d1-a2ef6ce7e915","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4110a33b-473c-4c5b-b193-129582ebc842","c951ece5-7749-4f76-9427-a326566a123e"],"pending":[],"skipped":[],"duration":888,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c4c0217c-6818-439d-b7ad-907aed8ad5b9","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":"99b88e75-e2ad-439f-928f-67f1a03eed41","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":524,"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":"b281f995-32a4-4e87-9f1a-59e9aa250287","parentUUID":"99b88e75-e2ad-439f-928f-67f1a03eed41","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":"cd141296-017c-4f4b-96c4-e759f92bf10c","parentUUID":"99b88e75-e2ad-439f-928f-67f1a03eed41","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":"8610e54e-d842-48c5-960a-aef2e6c9cea8","parentUUID":"99b88e75-e2ad-439f-928f-67f1a03eed41","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":"5256410d-2d71-4c17-9a09-f987e8315391","parentUUID":"99b88e75-e2ad-439f-928f-67f1a03eed41","isHook":false,"skipped":true}],"suites":[],"passes":[],"failures":["b281f995-32a4-4e87-9f1a-59e9aa250287"],"pending":[],"skipped":["cd141296-017c-4f4b-96c4-e759f92bf10c","8610e54e-d842-48c5-960a-aef2e6c9cea8","5256410d-2d71-4c17-9a09-f987e8315391"],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"76aea17f-b929-4d53-bb3f-9315f1b877ba","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":"5a753d72-c529-440b-80d8-2cd2664259b3","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":509,"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":"ea9d2daf-6bba-47c5-9e9b-43cf7080d7ab","parentUUID":"5a753d72-c529-440b-80d8-2cd2664259b3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea9d2daf-6bba-47c5-9e9b-43cf7080d7ab"],"pending":[],"skipped":[],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42aad5e0-afc9-4f76-8c0d-837d54ff0fee","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":"d3ed7ae3-69da-425c-aa94-d00ae8341fb1","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":511,"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":"daafe207-ec27-4058-a31b-4b05f7c820ab","parentUUID":"d3ed7ae3-69da-425c-aa94-d00ae8341fb1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["daafe207-ec27-4058-a31b-4b05f7c820ab"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c219202-cec8-4512-b26b-c8b89c840536","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":"cff0f880-dd31-4049-886b-4fc23d9b34cd","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":517,"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":"83658d4d-4fe3-4b6b-9204-cbc70763f882","parentUUID":"cff0f880-dd31-4049-886b-4fc23d9b34cd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["83658d4d-4fe3-4b6b-9204-cbc70763f882"],"pending":[],"skipped":[],"duration":517,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f1320f05-7229-4e51-a9db-47a24ebcdb99","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":"3f05042a-e0df-40cb-8bde-82e32b28f39f","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":556,"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":"0f47d263-8aa0-470e-8e8b-cf38d51d092e","parentUUID":"3f05042a-e0df-40cb-8bde-82e32b28f39f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0f47d263-8aa0-470e-8e8b-cf38d51d092e"],"pending":[],"skipped":[],"duration":556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"97e9e2b0-b51c-4e84-a0b6-d9eddecedcd0","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":"25f23147-27c6-4be4-9e6f-ad309fddb9c3","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","timedOut":null,"duration":539,"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":"ab49052a-5375-486a-bcd1-fbec28e2e725","parentUUID":"25f23147-27c6-4be4-9e6f-ad309fddb9c3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ab49052a-5375-486a-bcd1-fbec28e2e725"],"pending":[],"skipped":[],"duration":539,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"faa5930c-2b98-4bad-a40d-35ae27333a72","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":"b51c0235-a89c-4acd-aacb-2326a8665cab","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":524,"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":"8495dc14-9740-4d66-b786-d92d39ab961c","parentUUID":"b51c0235-a89c-4acd-aacb-2326a8665cab","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8495dc14-9740-4d66-b786-d92d39ab961c"],"pending":[],"skipped":[],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ca8fa38c-79ff-4b2c-bc4a-0ff35bd56b43","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":"6700e768-aaa9-4514-8dbf-7fbc2504ae41","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":542,"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":"334d4b96-3e3f-48b4-a587-0c068756efdd","parentUUID":"6700e768-aaa9-4514-8dbf-7fbc2504ae41","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["334d4b96-3e3f-48b4-a587-0c068756efdd"],"pending":[],"skipped":[],"duration":542,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1b6e9231-fa25-4eee-9982-d4b46d990a80","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":"6c252b2b-59f9-4bc6-bae8-3c51ec96f008","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":507,"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":"a3fed00b-f156-4d8c-bb62-8113178aa538","parentUUID":"6c252b2b-59f9-4bc6-bae8-3c51ec96f008","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a3fed00b-f156-4d8c-bb62-8113178aa538"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f92e5e17-9986-4a55-b3f3-2c1bb1d5a7d5","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":"1299cb17-247d-4086-bc50-fa389cc1408f","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":520,"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":"95bf0e3d-4621-4a6b-84ef-d6e87f976c75","parentUUID":"1299cb17-247d-4086-bc50-fa389cc1408f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["95bf0e3d-4621-4a6b-84ef-d6e87f976c75"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4fe5f67f-1fb5-405f-a1b0-36530237e8b6","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":"59ebbbbc-95f1-45bb-86c0-e3e9c0d20f93","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/02Add_Payment_BankTransfer_AuthorizeNet.spec.js:101:8)","diff":null},"uuid":"37ac944b-8c33-430b-818c-1f5cb05c31c1","parentUUID":"59ebbbbc-95f1-45bb-86c0-e3e9c0d20f93","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["37ac944b-8c33-430b-818c-1f5cb05c31c1"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"93fc36aa-14d9-43a0-8029-e327c8ea7172","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":"1a03f909-6287-4ded-a4ab-a59470ac4a93","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":555,"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":"ce86227b-3e73-41a8-8286-1eeb6817865d","parentUUID":"1a03f909-6287-4ded-a4ab-a59470ac4a93","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ce86227b-3e73-41a8-8286-1eeb6817865d"],"pending":[],"skipped":[],"duration":555,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4f93b53a-6b1d-4e57-8a57-fefd2f1be20d","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":"0c94f456-6aec-41ca-9aa4-ba495d9bca7b","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":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('[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":"c641a384-8300-4ce2-bd4d-20da0b772680","parentUUID":"0c94f456-6aec-41ca-9aa4-ba495d9bca7b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c641a384-8300-4ce2-bd4d-20da0b772680"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8abadf49-3212-47e4-81ae-014d4044e687","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":"0fc706bd-13e6-443a-8de7-c41a4973305c","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":544,"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":"543fcee7-9622-4c03-ba95-04c2f52f7e1f","parentUUID":"0fc706bd-13e6-443a-8de7-c41a4973305c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["543fcee7-9622-4c03-ba95-04c2f52f7e1f"],"pending":[],"skipped":[],"duration":544,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4fb4510b-c3d2-4798-8a3f-bf5bfe73164b","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":"5e2a342a-5f60-4268-ad9f-f32198e27699","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":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('[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":"7a4de417-ac18-4ece-ae70-454497e926a4","parentUUID":"5e2a342a-5f60-4268-ad9f-f32198e27699","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7a4de417-ac18-4ece-ae70-454497e926a4"],"pending":[],"skipped":[],"duration":478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b899c6d4-0017-41c1-b382-aa707785f726","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":"63a5902d-0680-4544-a0f3-b5df68d510e0","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":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.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":"194fec79-773d-420a-8630-f50cf6974755","parentUUID":"63a5902d-0680-4544-a0f3-b5df68d510e0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["194fec79-773d-420a-8630-f50cf6974755"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"38aefc6d-acba-453f-931a-95ffe5e0d04a","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":"1463c960-dda1-4812-a188-3f12852479a8","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":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.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":"65bee7fa-a968-4032-aba4-b23e94d3cd8c","parentUUID":"1463c960-dda1-4812-a188-3f12852479a8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["65bee7fa-a968-4032-aba4-b23e94d3cd8c"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f4b6c422-2569-4aaa-ae6e-bd4a698d39f5","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":"da58e43d-0796-4ab8-a224-a9516873e8f0","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":529,"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":"3441a813-488a-4ca9-ad35-12bbbd8de869","parentUUID":"da58e43d-0796-4ab8-a224-a9516873e8f0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3441a813-488a-4ca9-ad35-12bbbd8de869"],"pending":[],"skipped":[],"duration":529,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f3bb708d-1374-4439-9711-1fbc79d34740","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":"9d124bfc-c160-411e-9327-76c578e2aa1c","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":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('[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":"7dd61299-8824-4215-82ae-2973249bd031","parentUUID":"9d124bfc-c160-411e-9327-76c578e2aa1c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7dd61299-8824-4215-82ae-2973249bd031"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"013e846e-7276-447b-ab4b-b8d6e35fdd42","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":"09f59707-d1c2-4fa1-9136-eed92007e299","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":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('[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":"0c912760-b714-4525-ac78-c9163788380c","parentUUID":"09f59707-d1c2-4fa1-9136-eed92007e299","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0c912760-b714-4525-ac78-c9163788380c"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"72ee53c3-e6fc-4bce-8960-a199696668d5","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":"0f412abd-3810-49f5-95d0-835a29b2214f","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":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('[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":"8ec827a9-6423-4fd0-a225-a23471c153c7","parentUUID":"0f412abd-3810-49f5-95d0-835a29b2214f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8ec827a9-6423-4fd0-a225-a23471c153c7"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d53c8ec-b31a-4dd4-a757-1a6f2ad8f1c8","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":"b3e8ca76-3ce5-484c-b496-a7f55b1ade5e","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":506,"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":"11a1082d-133d-4cb4-9e13-4c023f36dce5","parentUUID":"b3e8ca76-3ce5-484c-b496-a7f55b1ade5e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["11a1082d-133d-4cb4-9e13-4c023f36dce5"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"15f2d5c0-3a85-4eeb-97de-b039fae7c1a6","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":"696931bd-ef93-43be-ae74-3e91d8da3220","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":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('[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":"a4946d1b-46f1-4b07-b5ea-24778314baa4","parentUUID":"696931bd-ef93-43be-ae74-3e91d8da3220","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a4946d1b-46f1-4b07-b5ea-24778314baa4"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c543861-f11b-45c2-9218-e7cb839cb26f","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":"bc88363a-2a2e-4734-9dc3-1664a0ad70c2","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":525,"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":"7ddcb83c-21b6-4217-8050-a7e6292a7c45","parentUUID":"bc88363a-2a2e-4734-9dc3-1664a0ad70c2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7ddcb83c-21b6-4217-8050-a7e6292a7c45"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c0eb9073-d4e7-42d1-9590-6c529c175c1d","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":"14d0ef2a-5f73-4493-a017-2a982162bf30","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":500,"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":"40c40041-c6da-48e9-a54b-b07cc2166a93","parentUUID":"14d0ef2a-5f73-4493-a017-2a982162bf30","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["40c40041-c6da-48e9-a54b-b07cc2166a93"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b2847942-7b26-4a88-a6f5-c679ece9c492","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":"42a8c1a0-71e9-49f1-a761-feafbd35bf43","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":515,"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":"9e162072-ead5-44b0-a4b2-c3f8b3d57a0b","parentUUID":"42a8c1a0-71e9-49f1-a761-feafbd35bf43","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9e162072-ead5-44b0-a4b2-c3f8b3d57a0b"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f12207a4-4c50-4def-ac88-f033481c8d2b","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":"a926cd7d-3e01-4d64-8c20-4fd1b3b8bfb4","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":498,"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":"d4cdf872-b655-4c26-8541-a536572c1d04","parentUUID":"a926cd7d-3e01-4d64-8c20-4fd1b3b8bfb4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d4cdf872-b655-4c26-8541-a536572c1d04"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"69265992-a5ac-4ca4-8d29-5fd85f3cf691","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":"7592d0a7-23a3-4b12-85f3-c611f746421d","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":505,"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":"214f894b-cb0b-4755-bd55-30b169f7d248","parentUUID":"7592d0a7-23a3-4b12-85f3-c611f746421d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["214f894b-cb0b-4755-bd55-30b169f7d248"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"336fd1e9-b290-451d-92c9-e03dc16197db","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":"82ce94ea-f72d-424d-9f6c-a4419867735c","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":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('[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":"8297b567-9094-4e0b-bf3f-6a8af1904ee8","parentUUID":"82ce94ea-f72d-424d-9f6c-a4419867735c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8297b567-9094-4e0b-bf3f-6a8af1904ee8"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"64aea0c8-b996-405b-9dbd-6407b752ce80","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":"033113dc-fbc7-4460-be6c-c36ee37a0014","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":506,"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":"f6680f4d-e3d0-4372-a020-7b62aa23322b","parentUUID":"033113dc-fbc7-4460-be6c-c36ee37a0014","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f6680f4d-e3d0-4372-a020-7b62aa23322b"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8ca00515-d77e-4bf6-8c3a-900f9b5b9181","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":"e89b962e-c9f4-4393-b2c6-0fdb7c22fae7","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":532,"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":"8ce36526-f9f1-4fba-856a-53527a93f92f","parentUUID":"e89b962e-c9f4-4393-b2c6-0fdb7c22fae7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8ce36526-f9f1-4fba-856a-53527a93f92f"],"pending":[],"skipped":[],"duration":532,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"91e4e365-74ca-43a5-9ecf-63d2c59c411c","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":"b9e4f264-4915-4b27-8574-6107b09cb9b0","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":537,"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":"052e5c2f-4935-49b3-9389-019612aa4142","parentUUID":"b9e4f264-4915-4b27-8574-6107b09cb9b0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["052e5c2f-4935-49b3-9389-019612aa4142"],"pending":[],"skipped":[],"duration":537,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aea4a42e-56e4-41b2-9909-628ceb5eb83e","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":"aa4abf08-86e9-4dd5-82de-9a2b76796641","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":549,"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":"d77b3b43-98e7-478c-bc96-aae654def45a","parentUUID":"aa4abf08-86e9-4dd5-82de-9a2b76796641","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d77b3b43-98e7-478c-bc96-aae654def45a"],"pending":[],"skipped":[],"duration":549,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e625c843-4aad-420e-ba28-b1aaedf5be1f","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":"c3909e0d-b5d7-40bc-a481-c6880856deca","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":515,"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":"a0e88464-c3d7-4ac3-97ec-3d74ea0b990f","parentUUID":"c3909e0d-b5d7-40bc-a481-c6880856deca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a0e88464-c3d7-4ac3-97ec-3d74ea0b990f"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0fc1ca63-31fd-4c35-917e-d5092d5b39e7","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":"7873e274-5268-447a-a4f6-921a1eb71121","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":505,"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":"2f03dfd5-07ec-44bf-8e7e-ec701d60873f","parentUUID":"7873e274-5268-447a-a4f6-921a1eb71121","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2f03dfd5-07ec-44bf-8e7e-ec701d60873f"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c7f49603-dd4d-461d-b66b-3d7e43931b52","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":"38712b88-8914-42b9-a870-986e276218b2","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":515,"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":"d0745c0d-8635-4708-86f5-397c7f8167eb","parentUUID":"38712b88-8914-42b9-a870-986e276218b2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d0745c0d-8635-4708-86f5-397c7f8167eb"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fbce090f-1ffc-4154-a09f-6e8cf41ca97a","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":"733a24c9-c35e-4e04-a5ae-4f92ec9f8eff","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":520,"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":"469b1c66-104f-445c-8e6c-9af972277bf1","parentUUID":"733a24c9-c35e-4e04-a5ae-4f92ec9f8eff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["469b1c66-104f-445c-8e6c-9af972277bf1"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0dc6c079-9480-47ff-81f0-2ec6042da6bc","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":"ebcef601-8a54-4186-97e3-212503b82b70","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":559,"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":"8cc19926-cd50-4642-8f8b-0feefa53b94d","parentUUID":"ebcef601-8a54-4186-97e3-212503b82b70","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8cc19926-cd50-4642-8f8b-0feefa53b94d"],"pending":[],"skipped":[],"duration":559,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a57be7d0-7183-4680-997e-974f1b517014","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":"0220613d-301f-4694-8a83-0762f2ecaa19","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":580,"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":"7678a4f8-333d-46f5-bdad-27cbf274df1f","parentUUID":"0220613d-301f-4694-8a83-0762f2ecaa19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7678a4f8-333d-46f5-bdad-27cbf274df1f"],"pending":[],"skipped":[],"duration":580,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"10ff3c8f-3b5e-4c45-9e4d-2fc5c3738553","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":"ce712009-6101-426e-a93a-db5c1712cfe5","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":544,"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":"a60063bc-be10-4ac2-b407-52495c4e05f1","parentUUID":"ce712009-6101-426e-a93a-db5c1712cfe5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a60063bc-be10-4ac2-b407-52495c4e05f1"],"pending":[],"skipped":[],"duration":544,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4bd01b5c-70a1-4491-93de-20d0191ffa8c","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":"4e4aeb82-e0b7-4058-b06b-40607af956d7","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":533,"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":"022c686e-fe91-407e-bafd-fe55ad10cff2","parentUUID":"4e4aeb82-e0b7-4058-b06b-40607af956d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["022c686e-fe91-407e-bafd-fe55ad10cff2"],"pending":[],"skipped":[],"duration":533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c6f06376-4b19-4d76-9c65-fd29900bed6e","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":"2bed5ec6-6bfd-486b-9886-9378dccc2b16","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":538,"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":"ba32918b-d66f-41fb-a59a-d71990c4567d","parentUUID":"2bed5ec6-6bfd-486b-9886-9378dccc2b16","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ba32918b-d66f-41fb-a59a-d71990c4567d"],"pending":[],"skipped":[],"duration":538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aedd3e61-4660-43a4-8f86-0da6975ea442","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":"71c18743-840b-4517-b49d-814a6b30e6d9","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":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('[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":"b5106e96-43bc-4d58-881e-a5a573e90b3e","parentUUID":"71c18743-840b-4517-b49d-814a6b30e6d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5106e96-43bc-4d58-881e-a5a573e90b3e"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a24f3e64-b8f4-4172-b899-ca01547a2130","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":"1c2e89fa-424e-42fa-9b9e-539d5ec35bd3","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":504,"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":"0adff95c-3c06-4197-a09a-47a4c8dce79b","parentUUID":"1c2e89fa-424e-42fa-9b9e-539d5ec35bd3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0adff95c-3c06-4197-a09a-47a4c8dce79b"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fa4da915-a3eb-4138-972f-276bbc03a5f1","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":"c68417a1-78ae-4479-aa2e-8a975c447b0f","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":518,"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":"50ff9cf8-f3b3-45e3-9407-301c9b65c59d","parentUUID":"c68417a1-78ae-4479-aa2e-8a975c447b0f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["50ff9cf8-f3b3-45e3-9407-301c9b65c59d"],"pending":[],"skipped":[],"duration":518,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"86279670-bfd1-4ec8-b354-bf061165c3e6","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":"00ed2c7d-b72b-4fa8-93ac-e55d3a4e89b8","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":495,"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":"4dbbe46f-16de-4857-8752-0751bce023b5","parentUUID":"00ed2c7d-b72b-4fa8-93ac-e55d3a4e89b8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4dbbe46f-16de-4857-8752-0751bce023b5"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b65eee88-c9b9-4c51-9b30-64ab58451160","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":"df6bd3f8-a1b6-4658-82fb-a27fe14fcd83","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":493,"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":"ac6105a4-a74b-43d3-a638-77f0695acd39","parentUUID":"df6bd3f8-a1b6-4658-82fb-a27fe14fcd83","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ac6105a4-a74b-43d3-a638-77f0695acd39"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"63e4a634-6455-4704-8b84-c14dd2c7918c","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":"c0be5960-9e12-47da-ad5d-f0904efdde1b","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":598,"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":"74776f7f-475b-4689-833b-65de5bbfe993","parentUUID":"c0be5960-9e12-47da-ad5d-f0904efdde1b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["74776f7f-475b-4689-833b-65de5bbfe993"],"pending":[],"skipped":[],"duration":598,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5316042-0e8d-4356-b188-6bf5f91591d2","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":"000aabaf-8e7d-4597-83e1-bb35a4456adf","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":537,"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":"6d657aa6-d9f6-49f2-94e4-7eefcfa7a80a","parentUUID":"000aabaf-8e7d-4597-83e1-bb35a4456adf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6d657aa6-d9f6-49f2-94e4-7eefcfa7a80a"],"pending":[],"skipped":[],"duration":537,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e889acfa-d25d-4afd-ac8f-b5a58b77f925","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":"01584e0c-e830-4b0c-8dc4-6bd313bb1dcb","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":521,"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":"06c7636d-f2d1-4676-8fc4-18cf726e9082","parentUUID":"01584e0c-e830-4b0c-8dc4-6bd313bb1dcb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["06c7636d-f2d1-4676-8fc4-18cf726e9082"],"pending":[],"skipped":[],"duration":521,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"82b377f2-bf4b-4c3c-9b1d-b7f6f963e4f1","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":"1094053a-36e3-44b2-94b4-c9d7e6499d29","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":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 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":"d6206e09-5b3e-483d-84cb-0cca8fa750e8","parentUUID":"1094053a-36e3-44b2-94b4-c9d7e6499d29","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d6206e09-5b3e-483d-84cb-0cca8fa750e8"],"pending":[],"skipped":[],"duration":471,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4fc46fee-fd99-4d51-8378-c343f20f59b1","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":"aa9fe321-b795-47e4-80ca-7840e5ff33e6","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":512,"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":"afb6ad0b-1666-45eb-816d-7e05ea5575a4","parentUUID":"aa9fe321-b795-47e4-80ca-7840e5ff33e6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["afb6ad0b-1666-45eb-816d-7e05ea5575a4"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1515403d-5130-48e9-a4d9-6626fd7e1c78","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":"d82d1331-ceaf-42e6-902e-9c6f02876a44","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":505,"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":"e8f8144e-7a75-4e9d-9151-e89e00bfa532","parentUUID":"d82d1331-ceaf-42e6-902e-9c6f02876a44","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e8f8144e-7a75-4e9d-9151-e89e00bfa532"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43ca6345-8d5d-4baa-8a02-2cf199916698","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":"12890bca-913b-4949-8b11-54114795a6cc","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":525,"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":"2d6803ec-da50-4e07-8fb1-d9c3ba06503f","parentUUID":"12890bca-913b-4949-8b11-54114795a6cc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2d6803ec-da50-4e07-8fb1-d9c3ba06503f"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"40f9fbf4-bbb4-4a94-b84f-cc1c7d3aba07","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":"a41fd2b4-0a98-46ca-bede-f3d517c72ee4","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","timedOut":null,"duration":493,"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":"f0258ae1-94b7-4d78-adaa-8e2b8aac6363","parentUUID":"a41fd2b4-0a98-46ca-bede-f3d517c72ee4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f0258ae1-94b7-4d78-adaa-8e2b8aac6363"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2e6082aa-0391-4f53-9516-7bd51de3e8cc","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":"1eeb377a-591f-4211-b438-42b1cf990ddd","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":487,"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":"fc8d7be3-58ed-429c-a134-610e3587bddc","parentUUID":"1eeb377a-591f-4211-b438-42b1cf990ddd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fc8d7be3-58ed-429c-a134-610e3587bddc"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"546f69a3-f440-4c61-8e97-17856c7bde1b","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":"1205f79b-1c1f-4756-85d1-89cce00a0a94","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":534,"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":"08bd6d7b-afbf-4ebd-ab20-235057bc0247","parentUUID":"1205f79b-1c1f-4756-85d1-89cce00a0a94","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["08bd6d7b-afbf-4ebd-ab20-235057bc0247"],"pending":[],"skipped":[],"duration":534,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8fb1ea5d-a9f1-440c-99e7-51a7e57ed1e0","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":"c8f383ca-b93f-49b1-8650-cc43904ac004","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":500,"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":"3ea10976-bd46-4cad-a2d8-c469a691ff2b","parentUUID":"c8f383ca-b93f-49b1-8650-cc43904ac004","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ea10976-bd46-4cad-a2d8-c469a691ff2b"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"08c5d49c-9d43-41e4-a962-774ccc0c3ee0","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":"488dd84f-87d3-4c0b-9504-e1d9856d3cec","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":495,"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":"965a7db5-503b-47b2-b10d-071cfeb38a95","parentUUID":"488dd84f-87d3-4c0b-9504-e1d9856d3cec","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["965a7db5-503b-47b2-b10d-071cfeb38a95"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ea403308-a2f6-4f56-8f0d-20dbce635aa2","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":"75bf907a-c7e5-4ec1-af74-6850715902e6","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":519,"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":"aae2e5d6-a286-49cd-81b8-e503924c9aa9","parentUUID":"75bf907a-c7e5-4ec1-af74-6850715902e6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["aae2e5d6-a286-49cd-81b8-e503924c9aa9"],"pending":[],"skipped":[],"duration":519,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"54c3b2af-6b96-427a-9321-b6c47093f9c8","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":"626580e5-bd88-4621-bb8f-f72ddb013640","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","timedOut":null,"duration":470,"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":"2ecc9fa2-ef6a-471a-bf33-1b092aca1992","parentUUID":"626580e5-bd88-4621-bb8f-f72ddb013640","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2ecc9fa2-ef6a-471a-bf33-1b092aca1992"],"pending":[],"skipped":[],"duration":470,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f03118f-0a03-4f81-bb46-7e3ce73b8595","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":"6fd41969-0ebc-4005-9ec4-580785f9fa92","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":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('.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":"f0c19375-1518-47fb-b447-3497ee757b6e","parentUUID":"6fd41969-0ebc-4005-9ec4-580785f9fa92","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f0c19375-1518-47fb-b447-3497ee757b6e"],"pending":[],"skipped":[],"duration":527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1346e6ea-92b8-4351-b712-b3148f0b60d0","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":"9df9598c-5e3d-4c51-9bad-36102508bd4f","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","timedOut":null,"duration":546,"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":"686f3420-4252-4563-a29e-62d7c76fff9b","parentUUID":"9df9598c-5e3d-4c51-9bad-36102508bd4f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["686f3420-4252-4563-a29e-62d7c76fff9b"],"pending":[],"skipped":[],"duration":546,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31487082-33ce-4686-8aff-dbce349e3eaf","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":"a6ac2744-f502-43fd-8d67-928887511b2c","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":524,"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":"5aa62f93-732a-4b44-b7e9-625f5b2896f5","parentUUID":"a6ac2744-f502-43fd-8d67-928887511b2c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5aa62f93-732a-4b44-b7e9-625f5b2896f5"],"pending":[],"skipped":[],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d51c35a9-1d83-4a09-ae2d-6884aa37a6fb","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":"dc24a79b-4dc6-4786-9803-3b3588cfb012","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":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('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":"d7251486-71f3-43b5-a4fe-8f1be6b3e72b","parentUUID":"dc24a79b-4dc6-4786-9803-3b3588cfb012","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7251486-71f3-43b5-a4fe-8f1be6b3e72b"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"37e3c491-0a66-44f6-a8b4-b6bca2990b2d","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":"51a42dc7-e4d1-4226-b252-2c80eeb3f8f7","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","timedOut":null,"duration":468,"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":"e0f9d128-a7bf-4dd6-a79a-b430ed39daf5","parentUUID":"51a42dc7-e4d1-4226-b252-2c80eeb3f8f7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0f9d128-a7bf-4dd6-a79a-b430ed39daf5"],"pending":[],"skipped":[],"duration":468,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"02b5c73f-827c-429c-9367-80d756cf2bdc","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":"5d97e2e0-85e8-4dcd-a135-0625ade820bd","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":492,"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":"aa7eba78-1f42-45ad-b1c0-70ffbff5c085","parentUUID":"5d97e2e0-85e8-4dcd-a135-0625ade820bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["aa7eba78-1f42-45ad-b1c0-70ffbff5c085"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d7831c1-feca-45b9-be18-0a43bb2ab492","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":"76b54e73-53c7-48a7-81e0-533758975359","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":536,"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":"7efb2bf9-edaf-4baf-a363-644e19f8a8e6","parentUUID":"76b54e73-53c7-48a7-81e0-533758975359","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7efb2bf9-edaf-4baf-a363-644e19f8a8e6"],"pending":[],"skipped":[],"duration":536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d6b2785-f4ae-44cf-a4c0-8ef5bacf0d4f","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":"01f8de09-d693-45d8-af5d-6e674309457f","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":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('#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":"bb57c697-25c7-4ba7-9054-bb31d3065488","parentUUID":"01f8de09-d693-45d8-af5d-6e674309457f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb57c697-25c7-4ba7-9054-bb31d3065488"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c0a7ee53-8648-48a8-9514-1c174fa707c7","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":"3eb0ba65-22ab-44e8-864b-044718c8fac6","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":534,"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":"0b0738e2-52db-45fc-ae5a-6ee6f2991d1b","parentUUID":"3eb0ba65-22ab-44e8-864b-044718c8fac6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0b0738e2-52db-45fc-ae5a-6ee6f2991d1b"],"pending":[],"skipped":[],"duration":534,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a65c7477-3a8f-4675-8992-2ce23863333b","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":"bee15960-b4af-4919-adab-c6b5cb6139f6","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":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('#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":"6ea31da8-40d9-4233-b3c7-f680912be7de","parentUUID":"bee15960-b4af-4919-adab-c6b5cb6139f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6ea31da8-40d9-4233-b3c7-f680912be7de"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"586dee05-4f1f-44c2-b7ce-d92155c93f63","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":"303c1cd4-9de2-413d-bf2e-2ef6627a72d0","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":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('#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":"2a9cc07b-03ee-4492-b4ec-1e21d8819776","parentUUID":"303c1cd4-9de2-413d-bf2e-2ef6627a72d0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a9cc07b-03ee-4492-b4ec-1e21d8819776"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48eb6eda-b30f-49bc-baab-f1cb8b1060cf","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":"d6223139-fdfc-4420-897e-b5b5176843a2","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":528,"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":"be39f57f-68a1-4009-babb-9fbb490c1c42","parentUUID":"d6223139-fdfc-4420-897e-b5b5176843a2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["be39f57f-68a1-4009-babb-9fbb490c1c42"],"pending":[],"skipped":[],"duration":528,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eda93b89-4500-498a-8c6b-ab07017472c9","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":"f78deaed-5cd3-496e-96dc-2ded5738b9ee","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":503,"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":"29b46d9c-be32-4d51-b38d-37b173463c56","parentUUID":"f78deaed-5cd3-496e-96dc-2ded5738b9ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29b46d9c-be32-4d51-b38d-37b173463c56"],"pending":[],"skipped":[],"duration":503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a122b306-6751-495b-8e39-ce3f07599c45","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":"602aabed-94c8-4bdb-96a7-155f675019da","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":621,"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":"e7ec0b91-c0c3-4a9f-83ec-c9d8de4b4e47","parentUUID":"602aabed-94c8-4bdb-96a7-155f675019da","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e7ec0b91-c0c3-4a9f-83ec-c9d8de4b4e47"],"pending":[],"skipped":[],"duration":621,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"776119ae-4697-40a0-9862-2e12795dbc16","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":"1d60ab75-f2df-4e5b-ba35-d9be19366130","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":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('.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":"0bc07735-4107-4d4e-9fbe-71bb2082e004","parentUUID":"1d60ab75-f2df-4e5b-ba35-d9be19366130","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0bc07735-4107-4d4e-9fbe-71bb2082e004"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"49e90c8b-8726-4452-ab41-9ba0e7ebe538","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":"949b4a4a-a4f7-4c36-8ec0-21c47e60aa4f","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":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('#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":"1404a91f-798f-45fa-a0dd-bc1936af7419","parentUUID":"949b4a4a-a4f7-4c36-8ec0-21c47e60aa4f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1404a91f-798f-45fa-a0dd-bc1936af7419"],"pending":[],"skipped":[],"duration":521,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e58115ff-d6e6-4d77-90a0-11e1d6b62156","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":"0d37a940-5c2d-4ce3-a238-06281b111936","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":525,"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":"16f402d5-387b-451a-9ee9-8a0f4f2cd6de","parentUUID":"0d37a940-5c2d-4ce3-a238-06281b111936","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["16f402d5-387b-451a-9ee9-8a0f4f2cd6de"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55aacf0e-79cb-4419-bd85-1b24880951c9","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":"3da73b91-309b-4029-96d3-66649d51655c","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":503,"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":"b1530de1-0d8d-4efd-93a3-7530d5659454","parentUUID":"3da73b91-309b-4029-96d3-66649d51655c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b1530de1-0d8d-4efd-93a3-7530d5659454"],"pending":[],"skipped":[],"duration":503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"06b0b68d-9463-4132-afef-fd310a64767e","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":"c1a7f3c9-fcb4-4d1b-ba02-00084fac91f4","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":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('.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":"4a833d44-5efe-4cf4-a027-9124e155bad2","parentUUID":"c1a7f3c9-fcb4-4d1b-ba02-00084fac91f4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a833d44-5efe-4cf4-a027-9124e155bad2"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d4cda0b5-c0f2-4375-9e72-24eeeea19d88","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":"d203fb5b-203a-4bf3-a4fc-cd3fe65b4899","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":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('.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":"09d06dbe-fc6e-4f96-9dda-0f4f19845a5b","parentUUID":"d203fb5b-203a-4bf3-a4fc-cd3fe65b4899","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09d06dbe-fc6e-4f96-9dda-0f4f19845a5b"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8b9a673f-0a91-48c3-880a-23b9a9fe3339","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":"a24f1472-83f3-4607-82f4-8455e8860d66","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":528,"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":"ac8c3cb0-d0bd-4eea-8ea6-1e842f46602e","parentUUID":"a24f1472-83f3-4607-82f4-8455e8860d66","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ac8c3cb0-d0bd-4eea-8ea6-1e842f46602e"],"pending":[],"skipped":[],"duration":528,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"183bad30-f50e-429d-a88f-5e643ff3ea49","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":"18fcf0dd-32c6-431e-9930-6728526883b1","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":510,"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":"8e5b3efb-48cc-4717-bb44-dc22a67caca7","parentUUID":"18fcf0dd-32c6-431e-9930-6728526883b1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8e5b3efb-48cc-4717-bb44-dc22a67caca7"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84a72b1d-6d39-4724-977d-d80cc5d047a4","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":"20425c01-8756-4237-b321-259dbe62b9e0","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":461,"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":"c34a88aa-5d2d-46c1-a519-4a7ca27b0685","parentUUID":"20425c01-8756-4237-b321-259dbe62b9e0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c34a88aa-5d2d-46c1-a519-4a7ca27b0685"],"pending":[],"skipped":[],"duration":461,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7567f22f-9586-4ee6-98bd-18f6caa92180","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":"a665891e-57aa-47b5-a431-7d43d44a5cd6","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":525,"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":"db2e6708-9cb5-4e19-bbaa-b9bd9b7e31de","parentUUID":"a665891e-57aa-47b5-a431-7d43d44a5cd6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["db2e6708-9cb5-4e19-bbaa-b9bd9b7e31de"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d7eb7f64-9ce3-4c1d-8c56-6c5d0af5646e","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":"a5c91846-2e77-4d78-ad5f-2a81a2f129f9","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":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('.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":"6f2925ee-5192-4a05-bca2-c22e41b17f72","parentUUID":"a5c91846-2e77-4d78-ad5f-2a81a2f129f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6f2925ee-5192-4a05-bca2-c22e41b17f72"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9f3e7d32-e7dd-4b9e-a4ec-026ca37eb86b","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":"13f29215-8518-41da-a3e8-86ce6ed44629","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":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('#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":"8923f1b8-f359-4cce-931a-1c509f1d24ce","parentUUID":"13f29215-8518-41da-a3e8-86ce6ed44629","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8923f1b8-f359-4cce-931a-1c509f1d24ce"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae2d4b03-2385-4bbc-82a7-2c844d1c4a7f","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":"36a50683-29f6-4d83-9933-54e81ebf0d2a","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":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('.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":"664c24ad-21cc-44d6-8825-1e6e16298b7f","parentUUID":"36a50683-29f6-4d83-9933-54e81ebf0d2a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["664c24ad-21cc-44d6-8825-1e6e16298b7f"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9e07c2b1-569d-4bfd-b1ec-b6f99227e40c","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":"9e0a4a65-df54-48e6-835e-b2004e187096","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":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('.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":"04d253fc-14d8-44d0-8cda-1b4135a0f466","parentUUID":"9e0a4a65-df54-48e6-835e-b2004e187096","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["04d253fc-14d8-44d0-8cda-1b4135a0f466"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cbd0ad8d-805d-4bba-ad1d-29eb12315211","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":"43853d52-0048-4867-bf61-6edb9f5b69a7","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":508,"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":"3d2451cf-5775-45ff-b9a1-67dc0a0198b6","parentUUID":"43853d52-0048-4867-bf61-6edb9f5b69a7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3d2451cf-5775-45ff-b9a1-67dc0a0198b6"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f84db8ee-7a45-430c-9fc6-38bcf8403e27","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":"682039f7-ba22-4df0-9be2-2c73af63c9fd","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":515,"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":"2cd6152a-52d0-4133-9437-d06a300fa82a","parentUUID":"682039f7-ba22-4df0-9be2-2c73af63c9fd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2cd6152a-52d0-4133-9437-d06a300fa82a"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"230c6200-e75d-472c-82f9-45c178a40dee","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":"5d77a72c-9397-4195-b80e-43e5907a421a","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":510,"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":"9c070d11-53a5-406c-821c-1015020e632e","parentUUID":"5d77a72c-9397-4195-b80e-43e5907a421a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9c070d11-53a5-406c-821c-1015020e632e"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ba3b4ca-ab34-4657-9467-54b5eba570b0","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":"a345adfb-8c21-416c-bce1-9e62ecf05410","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":523,"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":"cc4f51dc-68cc-449c-98c6-ee378c9bf600","parentUUID":"a345adfb-8c21-416c-bce1-9e62ecf05410","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc4f51dc-68cc-449c-98c6-ee378c9bf600"],"pending":[],"skipped":[],"duration":523,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d620bc59-af2e-42a1-b1aa-2d93ed098acf","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":"6ff3d2e9-ec56-42ed-b056-181b05779a0b","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":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('.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":"ea35cc6d-d29d-406a-8121-4ac73223654c","parentUUID":"6ff3d2e9-ec56-42ed-b056-181b05779a0b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea35cc6d-d29d-406a-8121-4ac73223654c"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"41da667f-0b2c-40e8-8cd2-60aa049d451c","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":"b649b3b7-24e4-4613-888a-5024dbcfe159","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":510,"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":"388fbd43-16ec-482d-99b8-4c7ae0d38dba","parentUUID":"b649b3b7-24e4-4613-888a-5024dbcfe159","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["388fbd43-16ec-482d-99b8-4c7ae0d38dba"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5a97b97-c314-4903-aec6-d63326ebdbd5","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":"f60e8361-a30e-4023-8007-ee8c5e95d7b6","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":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('#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":"5b0e37af-b9e1-473e-bac1-3141a34a9313","parentUUID":"f60e8361-a30e-4023-8007-ee8c5e95d7b6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5b0e37af-b9e1-473e-bac1-3141a34a9313"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2e1cc360-83ad-4fca-84c4-78bdcddd9e65","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":"4379cf02-d13b-4fb5-85d2-c530f2b86f84","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":515,"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":"572b4b7b-5f12-47d8-9bda-54efbb541053","parentUUID":"4379cf02-d13b-4fb5-85d2-c530f2b86f84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["572b4b7b-5f12-47d8-9bda-54efbb541053"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ad09d657-eb6d-4094-9c44-0c5b38245cc8","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":"d7dadde2-aa8b-4aec-92da-417154cc2cc5","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":4751,"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":"8f19acdd-c625-466c-bddd-10a848b849ae","parentUUID":"d7dadde2-aa8b-4aec-92da-417154cc2cc5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f19acdd-c625-466c-bddd-10a848b849ae"],"pending":[],"skipped":[],"duration":4751,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c8e2aded-4563-428a-adad-80f2617d1109","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":"eb9112b7-8c35-4d53-9267-9f2bd99e53ef","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":4590,"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":"b4c2c3d3-6956-4e78-870b-73519e60baf0","parentUUID":"eb9112b7-8c35-4d53-9267-9f2bd99e53ef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4c2c3d3-6956-4e78-870b-73519e60baf0"],"pending":[],"skipped":[],"duration":4590,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2ee666f3-1358-4c88-871b-6f650e27fa78","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":"894ca129-e90c-4887-a9f4-054afa8b1d49","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":4628,"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":"43ba826c-e523-4638-9186-fc5a823085ef","parentUUID":"894ca129-e90c-4887-a9f4-054afa8b1d49","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["43ba826c-e523-4638-9186-fc5a823085ef"],"pending":[],"skipped":[],"duration":4628,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6b7a6286-7f02-4d9c-bfab-ccf973692028","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":"8ef90216-14d2-4915-9849-6be96e045ba3","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":4562,"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":"576c4b0e-6bfc-4b67-8f18-9405f39ce155","parentUUID":"8ef90216-14d2-4915-9849-6be96e045ba3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["576c4b0e-6bfc-4b67-8f18-9405f39ce155"],"pending":[],"skipped":[],"duration":4562,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8110dcf3-2e2c-45cf-b1f7-513e6f9a367a","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":"86915f5d-89f9-4971-9890-6c15e5300dbe","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":4590,"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":"ab24429c-004b-47dd-95d3-8908c9c46aae","parentUUID":"86915f5d-89f9-4971-9890-6c15e5300dbe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ab24429c-004b-47dd-95d3-8908c9c46aae"],"pending":[],"skipped":[],"duration":4590,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c93f21a5-ee7d-4ef8-8af2-076904bbb6db","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":"9a1c63cf-096b-45d5-9aba-f7221c63a651","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":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('[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":"a0d97424-db1a-47b5-b318-dcddbbf4cb93","parentUUID":"9a1c63cf-096b-45d5-9aba-f7221c63a651","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a0d97424-db1a-47b5-b318-dcddbbf4cb93"],"pending":[],"skipped":[],"duration":4556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d7673c9-faa0-4952-8816-72577400341d","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":"b0d92eeb-e606-4fac-9b7a-713441d37625","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":4565,"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":"b4122571-411f-4150-8dd5-99f8502b1cc9","parentUUID":"b0d92eeb-e606-4fac-9b7a-713441d37625","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4122571-411f-4150-8dd5-99f8502b1cc9"],"pending":[],"skipped":[],"duration":4565,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"199ce31d-3ffc-4ca0-8a7e-1c3f1bcbb92b","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":"78721280-16a5-48f1-a2c3-ecae09b84422","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":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 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":"218f9ee6-d063-40ab-960e-c04a349284d6","parentUUID":"78721280-16a5-48f1-a2c3-ecae09b84422","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["218f9ee6-d063-40ab-960e-c04a349284d6"],"pending":[],"skipped":[],"duration":4547,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"189d23f3-74e9-4304-9056-0343bc5ebefb","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":"16b417cf-0bb1-44cf-9206-6859aa8fccfa","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":4570,"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":"d6e8fb93-830a-4c29-be8d-1e7effc176ef","parentUUID":"16b417cf-0bb1-44cf-9206-6859aa8fccfa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d6e8fb93-830a-4c29-be8d-1e7effc176ef"],"pending":[],"skipped":[],"duration":4570,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"95062bd7-9ead-4c42-9774-93eb940d5f03","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":"a3660f82-7f7d-4634-a5bf-a63d4ab2bb81","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":4533,"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":"35f0f25e-9590-45de-8f2b-2966f75f1588","parentUUID":"a3660f82-7f7d-4634-a5bf-a63d4ab2bb81","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["35f0f25e-9590-45de-8f2b-2966f75f1588"],"pending":[],"skipped":[],"duration":4533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6dd27472-f01d-4319-8bcb-2f08db8a5d6d","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":"2727a658-00d5-404d-9631-ebed233b9cb7","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":4568,"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":"a4793f92-b28d-4139-aea4-29260fe120f8","parentUUID":"2727a658-00d5-404d-9631-ebed233b9cb7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a4793f92-b28d-4139-aea4-29260fe120f8"],"pending":[],"skipped":[],"duration":4568,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f3689b00-51c7-44d3-90db-007143fe9f0d","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":"aa369fe1-ee45-4c54-a389-83c8a40c8fde","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":4579,"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":"a2bbc1ef-78fb-43b8-a897-8f673f999bbe","parentUUID":"aa369fe1-ee45-4c54-a389-83c8a40c8fde","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a2bbc1ef-78fb-43b8-a897-8f673f999bbe"],"pending":[],"skipped":[],"duration":4579,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6c328e20-5788-4595-ad13-0562bce33ab9","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":"5c85c319-1b69-4060-b97f-70d686bd045f","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":4575,"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":"57940576-f892-474f-a691-b6aa3b926e9a","parentUUID":"5c85c319-1b69-4060-b97f-70d686bd045f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["57940576-f892-474f-a691-b6aa3b926e9a"],"pending":[],"skipped":[],"duration":4575,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8a353c32-5e8a-4d26-aa3c-ce1511e96cad","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":"8902556c-d179-442b-8e1e-00b69a289651","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":4551,"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":"e8392b21-4161-40e7-b807-a59785c46d86","parentUUID":"8902556c-d179-442b-8e1e-00b69a289651","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e8392b21-4161-40e7-b807-a59785c46d86"],"pending":[],"skipped":[],"duration":4551,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d41236b2-2cbe-4753-8e81-068d47c0636b","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":"6dc505ad-6679-4c70-8888-0c4cf7db8633","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":363,"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":"8db26ad4-14cf-445a-a886-635d0f438673","parentUUID":"6dc505ad-6679-4c70-8888-0c4cf7db8633","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8db26ad4-14cf-445a-a886-635d0f438673"],"pending":[],"skipped":[],"duration":363,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b64767db-bc56-4ec6-8a94-5f66a2860e58","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":"8fe14789-43db-4745-b2b1-32c746b56e0f","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":501,"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":"9c8a8dea-5a40-4ec2-9841-8b383fda6799","parentUUID":"8fe14789-43db-4745-b2b1-32c746b56e0f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9c8a8dea-5a40-4ec2-9841-8b383fda6799"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6090c913-2ace-42d8-9392-c0318ede1e7b","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":"e6effa00-6028-46d6-b6f3-35fee7be4fe4","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":479,"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":"73ed8a32-5683-41a3-8c68-a4dfb6a4704f","parentUUID":"e6effa00-6028-46d6-b6f3-35fee7be4fe4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["73ed8a32-5683-41a3-8c68-a4dfb6a4704f"],"pending":[],"skipped":[],"duration":479,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ca2d5393-d17a-4cc4-a122-17704dfacdb0","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":"48689ae6-46b3-4bd4-82f7-6dea9c9778ce","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":477,"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":"f4fff235-e2f7-4b2f-988b-d3c335a27cb7","parentUUID":"48689ae6-46b3-4bd4-82f7-6dea9c9778ce","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f4fff235-e2f7-4b2f-988b-d3c335a27cb7"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a0c0d2c4-bbb0-4449-aa6f-20c8d27e0342","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":"13ea1134-ce17-4fb5-acbb-8af079fad10b","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":522,"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":"c3e226e9-4813-4502-91b1-ba9a3de2ba63","parentUUID":"13ea1134-ce17-4fb5-acbb-8af079fad10b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c3e226e9-4813-4502-91b1-ba9a3de2ba63"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c518b04-b0fc-42fc-a769-4c625df2baa2","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":"63ce77a1-6f13-410c-95c5-ddc6c594e917","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","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.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":"d7ab643a-b0ce-49a4-9d2a-93c15e3d01e3","parentUUID":"63ce77a1-6f13-410c-95c5-ddc6c594e917","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7ab643a-b0ce-49a4-9d2a-93c15e3d01e3"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"013c4e96-b62e-4b6d-b002-b04841113c21","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":"793936a8-dde9-45a8-b1de-331317f4204e","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":535,"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":"dd3620e6-b59e-440c-933f-fd9744b122b3","parentUUID":"793936a8-dde9-45a8-b1de-331317f4204e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd3620e6-b59e-440c-933f-fd9744b122b3"],"pending":[],"skipped":[],"duration":535,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1fa1d91a-a165-4ef0-b7cb-c74847fa62f1","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":"8c773b5c-d00f-427b-b765-6868c5ba761f","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":487,"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":"a87b17d9-501c-4fa0-a156-de6a6d23f46b","parentUUID":"8c773b5c-d00f-427b-b765-6868c5ba761f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a87b17d9-501c-4fa0-a156-de6a6d23f46b"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2dc1865e-6492-41e6-8fa5-fdd5be9d1752","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":"176d5c15-6cec-498b-b90b-f498736f8c1f","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":556,"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":"7a0662f4-f737-48a3-b3b0-f9ba1df9ff16","parentUUID":"176d5c15-6cec-498b-b90b-f498736f8c1f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7a0662f4-f737-48a3-b3b0-f9ba1df9ff16"],"pending":[],"skipped":[],"duration":556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bc872883-de65-43e5-9429-cf3dfe81d2bd","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":"cd3c500d-a096-4c5a-bbe0-eac678ed5e0d","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":494,"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":"d82a3785-a14f-46d4-b727-94fee4848df4","parentUUID":"cd3c500d-a096-4c5a-bbe0-eac678ed5e0d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d82a3785-a14f-46d4-b727-94fee4848df4"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"99513b81-c599-436f-8246-e20089cab4d2","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":"5fad202c-192a-41a5-a8c5-fc5c759a7c5a","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":513,"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":"9541bba4-4bf1-4bea-83c1-b49e5105c01b","parentUUID":"5fad202c-192a-41a5-a8c5-fc5c759a7c5a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9541bba4-4bf1-4bea-83c1-b49e5105c01b"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0a77125e-4d0f-4aa8-88e7-01b1da8f8028","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":"02d66356-b483-45cc-b8a0-4f1373bbe37d","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":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});\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":"606bdde5-36c5-43c6-8bc4-7d186b1c845b","parentUUID":"02d66356-b483-45cc-b8a0-4f1373bbe37d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["606bdde5-36c5-43c6-8bc4-7d186b1c845b"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"01398a02-cfc7-4762-9b0b-0aa0a507eb7d","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":"5d33610c-8574-4956-ae41-9255399afae7","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":530,"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":"0266e5f9-07ea-4371-86bf-2746b8e626a5","parentUUID":"5d33610c-8574-4956-ae41-9255399afae7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0266e5f9-07ea-4371-86bf-2746b8e626a5"],"pending":[],"skipped":[],"duration":530,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e8ef85a9-26bb-4f08-91ab-6e5c5f66645c","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":"2ac682d6-2dd8-4879-8efc-1339a783259c","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":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').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":"d023a881-cc93-4b96-b6bd-b1f688f99e30","parentUUID":"2ac682d6-2dd8-4879-8efc-1339a783259c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d023a881-cc93-4b96-b6bd-b1f688f99e30"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a26fbdfd-684c-4e2a-aa3a-afce88730ce8","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":"b47361c0-e03f-48a5-8e40-fbb16076dc7c","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":511,"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":"304d6a41-07ff-4096-b824-f612ea7e1fa8","parentUUID":"b47361c0-e03f-48a5-8e40-fbb16076dc7c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["304d6a41-07ff-4096-b824-f612ea7e1fa8"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e4f28525-2182-4a97-b227-ddaa693d9379","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":"69ac8fc1-fedb-4b7c-86be-ed92d8b823fd","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","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/11Make_Payment_eCheck.spec.js:101:8)","diff":null},"uuid":"cc40ea80-bf20-47b4-951b-bab0edd55856","parentUUID":"69ac8fc1-fedb-4b7c-86be-ed92d8b823fd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc40ea80-bf20-47b4-951b-bab0edd55856"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e7d42ea8-da24-4cd1-bdeb-19a5c4eb6724","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":"96eac54e-fc84-413e-8246-5e74aca3b156","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":523,"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":"f86e20ef-a0e0-486b-9527-1e8e4c4e792d","parentUUID":"96eac54e-fc84-413e-8246-5e74aca3b156","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f86e20ef-a0e0-486b-9527-1e8e4c4e792d"],"pending":[],"skipped":[],"duration":523,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42a7e874-c5de-4512-bf3a-ede113f34d70","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":"fbc21371-efc6-46c6-8146-12ca269a2ce9","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":524,"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":"398e67b4-cd03-4427-aa1c-38a0697f495d","parentUUID":"fbc21371-efc6-46c6-8146-12ca269a2ce9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["398e67b4-cd03-4427-aa1c-38a0697f495d"],"pending":[],"skipped":[],"duration":524,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d387bd91-29bf-4b07-8697-42e7507b6082","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":"a5ece939-55e1-48a9-9134-78a25a8d4eca","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":553,"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":"ba0a4e6a-40bf-4666-876b-6dbefa844ccf","parentUUID":"a5ece939-55e1-48a9-9134-78a25a8d4eca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ba0a4e6a-40bf-4666-876b-6dbefa844ccf"],"pending":[],"skipped":[],"duration":553,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"06c24a26-0814-43c4-9ea7-382518e4d92e","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":"02bf46db-f3ba-4e39-ad52-c700bebed8cd","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":4721,"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":"547fad2e-21f1-4396-b38d-1d96e8ca2ba6","parentUUID":"02bf46db-f3ba-4e39-ad52-c700bebed8cd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["547fad2e-21f1-4396-b38d-1d96e8ca2ba6"],"pending":[],"skipped":[],"duration":4721,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"286b71de-38b6-416d-99f1-6b65f91afaa6","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":"e4d04d63-3017-495d-bf6c-b714815df56c","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":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(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":"95cb6430-67bf-4ab4-b553-7807dbcafde6","parentUUID":"e4d04d63-3017-495d-bf6c-b714815df56c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["95cb6430-67bf-4ab4-b553-7807dbcafde6"],"pending":[],"skipped":[],"duration":4587,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"85bf9b97-3baa-4d23-8a15-31156a0175bd","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":"f52ee622-2053-48c4-b893-881e26819ae2","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":4546,"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":"c1c34718-07b9-4d7a-9e5c-a9914b69324e","parentUUID":"f52ee622-2053-48c4-b893-881e26819ae2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c1c34718-07b9-4d7a-9e5c-a9914b69324e"],"pending":[],"skipped":[],"duration":4546,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8fe7227e-1a29-47a6-92d5-4d60fafcb658","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":"5de4fcd1-fa25-408a-bfbb-ebbd4f4887e9","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":327,"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":"4e9fb1b3-bfb6-405a-9fc4-8d275794c5c7","parentUUID":"5de4fcd1-fa25-408a-bfbb-ebbd4f4887e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e9fb1b3-bfb6-405a-9fc4-8d275794c5c7"],"pending":[],"skipped":[],"duration":327,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd41cbeb-b5dc-4208-b514-b121d7ca59dd","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":"c9d4bf85-99ca-4f05-8d52-eb67b43ddc10","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":501,"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":"b52d0f0d-2873-411d-8a5f-0b1afd52934d","parentUUID":"c9d4bf85-99ca-4f05-8d52-eb67b43ddc10","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b52d0f0d-2873-411d-8a5f-0b1afd52934d"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6cc6bdea-610a-4b49-a782-5b518d8a3a3f","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":"79b45c88-b2e9-412f-b839-49f37b2682a8","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":514,"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":"4ea3c06b-e613-4c99-9404-765688589019","parentUUID":"79b45c88-b2e9-412f-b839-49f37b2682a8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4ea3c06b-e613-4c99-9404-765688589019"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"863a482a-a053-40df-82b9-e53b83ce1bba","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":"95755d9a-c326-4f4d-a904-082892665a3c","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":607,"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":"a369c07f-99c9-41ff-9db3-11dfca219a01","parentUUID":"95755d9a-c326-4f4d-a904-082892665a3c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a369c07f-99c9-41ff-9db3-11dfca219a01"],"pending":[],"skipped":[],"duration":607,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"721cc14c-b0c3-4019-bba1-2746d5c0c8b3","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":"bd13eec8-1614-4ae7-9e35-0d76449c8eb8","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":508,"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":"7d293620-3625-4802-9638-e0d04cab8326","parentUUID":"bd13eec8-1614-4ae7-9e35-0d76449c8eb8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7d293620-3625-4802-9638-e0d04cab8326"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c97ce30-7af5-45b8-b836-760e9e8c3d6c","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":"890ccc0b-e252-47eb-939d-073b617c29c7","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":516,"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":"2a7fe4ff-4a22-4adc-b7e8-a2e39a3caf58","parentUUID":"890ccc0b-e252-47eb-939d-073b617c29c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a7fe4ff-4a22-4adc-b7e8-a2e39a3caf58"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6ab7e14c-2798-48a4-8e2d-0d3a0d6b201a","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":"78df4f8e-a767-43d2-961e-b835b263f5e1","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":507,"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":"6a92596a-6759-4682-8417-07cf4e4fd888","parentUUID":"78df4f8e-a767-43d2-961e-b835b263f5e1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6a92596a-6759-4682-8417-07cf4e4fd888"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9967fabc-01fc-47d9-9a17-7056b9cfa103","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":"a1f10af8-7f3b-4b16-89b4-ddc30747ac50","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":526,"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":"b5b9f23b-08b9-4079-bd1d-6c37a7b86502","parentUUID":"a1f10af8-7f3b-4b16-89b4-ddc30747ac50","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5b9f23b-08b9-4079-bd1d-6c37a7b86502"],"pending":[],"skipped":[],"duration":526,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6aa8395b-06f3-4f7c-abb3-67b5bd95ad6d","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":"55ecbc30-73e1-4053-8431-03d916cb825f","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":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().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":"90abeab5-5061-43e1-ae40-331a0650b06e","parentUUID":"55ecbc30-73e1-4053-8431-03d916cb825f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["90abeab5-5061-43e1-ae40-331a0650b06e"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"60621250-07ca-4c74-97d1-394c09d08279","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":"98bc988f-f04b-4bbf-b4bb-5383a2f3cbad","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","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(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":"46512f19-961b-4aa8-8fcb-f845cdbe0d81","parentUUID":"98bc988f-f04b-4bbf-b4bb-5383a2f3cbad","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["46512f19-961b-4aa8-8fcb-f845cdbe0d81"],"pending":[],"skipped":[],"duration":484,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"45c5b25d-3963-4dec-8684-b63fee9aea28","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":"1e2fb04e-a6d9-4ad0-a145-b635964dae94","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":541,"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":"5fcc6f16-d37b-4815-bf4d-ac1c7d6d9aa8","parentUUID":"1e2fb04e-a6d9-4ad0-a145-b635964dae94","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5fcc6f16-d37b-4815-bf4d-ac1c7d6d9aa8"],"pending":[],"skipped":[],"duration":541,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9751c8f1-b6f3-4aab-b271-b4954460f411","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":"76bb7e54-5a59-4bf9-b870-daf154c5be1e","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":499,"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":"c2f5b312-3c83-4841-8fe0-ec74337f54c6","parentUUID":"76bb7e54-5a59-4bf9-b870-daf154c5be1e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c2f5b312-3c83-4841-8fe0-ec74337f54c6"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bec63367-aa5f-489f-ba6d-ce8ea2bedf0d","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":"eb770d71-e166-4ab9-ade2-16dc19cb5664","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":504,"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":"25d046a6-3019-402d-986b-134a3e90627d","parentUUID":"eb770d71-e166-4ab9-ade2-16dc19cb5664","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["25d046a6-3019-402d-986b-134a3e90627d"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5ed7e371-dc1d-480f-99ad-eaad9c2f89f8","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":"187f7604-3f00-4fda-9ccc-69e7306d7f71","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":539,"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":"09e64951-ee56-4131-9463-c9b04c155bdf","parentUUID":"187f7604-3f00-4fda-9ccc-69e7306d7f71","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09e64951-ee56-4131-9463-c9b04c155bdf"],"pending":[],"skipped":[],"duration":539,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f0b49a20-909c-42bc-ad89-9548002c951d","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":"ecd88db6-adb7-4067-bae8-6d4fd38da4e3","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":505,"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":"d9ad8117-b7c8-48ea-a2b4-d62208e38754","parentUUID":"ecd88db6-adb7-4067-bae8-6d4fd38da4e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d9ad8117-b7c8-48ea-a2b4-d62208e38754"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b45a94e1-442c-43f0-9c69-d96d32223415","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":"7196c23a-b5aa-49cc-9e16-4ad957c052b5","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":540,"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":"cc68c575-1162-4536-abc3-f3dff903b6bc","parentUUID":"7196c23a-b5aa-49cc-9e16-4ad957c052b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc68c575-1162-4536-abc3-f3dff903b6bc"],"pending":[],"skipped":[],"duration":540,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"298b3451-1bf2-4041-81c5-6cb832447dba","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":"f30942e9-16d6-485f-bfea-283c2500cb11","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":522,"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":"4e51c24a-970e-4e8c-8d96-a6c3164aba05","parentUUID":"f30942e9-16d6-485f-bfea-283c2500cb11","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e51c24a-970e-4e8c-8d96-a6c3164aba05"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0e296509-70f7-4d41-bff5-be009bbb3b35","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":"2d52a0bf-a696-432a-9377-74578bd80127","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":489,"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":"65208535-28b2-4993-b27d-b69644587303","parentUUID":"2d52a0bf-a696-432a-9377-74578bd80127","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["65208535-28b2-4993-b27d-b69644587303"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8fbd48d2-708e-472d-b812-e73591bb2ae9","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":"d083fcbb-338d-4401-b465-62252e162857","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":501,"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":"5131a0fd-b38b-4efb-890b-776a4c1e4ed4","parentUUID":"d083fcbb-338d-4401-b465-62252e162857","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5131a0fd-b38b-4efb-890b-776a4c1e4ed4"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2a566d4c-8ce4-4df7-84f3-cecea710c128","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":"a3d81192-ae90-47a0-9a95-ffd4f0cc0f81","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":508,"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":"03d11038-faf1-4a62-b00c-0d2a459a3832","parentUUID":"a3d81192-ae90-47a0-9a95-ffd4f0cc0f81","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["03d11038-faf1-4a62-b00c-0d2a459a3832"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"609bd171-9cf3-42e4-88ac-d3d84379c493","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":"069af81d-9ae3-4e3b-93a0-3bce38a1fad2","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":527,"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":"a4328b3b-40f6-436f-9e5d-e82c4cb1f7ac","parentUUID":"069af81d-9ae3-4e3b-93a0-3bce38a1fad2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a4328b3b-40f6-436f-9e5d-e82c4cb1f7ac"],"pending":[],"skipped":[],"duration":527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8de1dc05-3603-4965-bfe9-90d71a13f468","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":"28082f37-889f-40f9-814e-db7aeadf208c","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":527,"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":"8392ed2a-0ab2-4767-99d6-653b2570bb0d","parentUUID":"28082f37-889f-40f9-814e-db7aeadf208c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8392ed2a-0ab2-4767-99d6-653b2570bb0d"],"pending":[],"skipped":[],"duration":527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d4104a9d-0e2e-421b-a1f4-8186f1785778","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":"3992d8b4-8e25-46da-b3a9-9f88fc1ef175","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":4717,"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":"255f8999-55b5-4401-8e93-0eb57be9f5db","parentUUID":"3992d8b4-8e25-46da-b3a9-9f88fc1ef175","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["255f8999-55b5-4401-8e93-0eb57be9f5db"],"pending":[],"skipped":[],"duration":4717,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f61c6c5-c877-46dd-af5e-56e89995a0bd","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":"22f7d735-5778-431a-adff-1b0226529fcc","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":4570,"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":"75e4c400-593c-4ae6-87ab-e3530db874e9","parentUUID":"22f7d735-5778-431a-adff-1b0226529fcc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["75e4c400-593c-4ae6-87ab-e3530db874e9"],"pending":[],"skipped":[],"duration":4570,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f4f7be47-2454-4963-8271-e2fe534b3b51","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b87506ae-0093-466b-82ec-49a2bdbbf69d","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":318,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{},"uuid":"f25868e9-8d45-4fa1-b333-80790a053f54","parentUUID":"b87506ae-0093-466b-82ec-49a2bdbbf69d","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":4208,"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":"46833ec1-6275-4465-8d9a-d53612a8522a","parentUUID":"b87506ae-0093-466b-82ec-49a2bdbbf69d","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":4203,"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":"14e9a74d-6d79-45ac-aa80-45642c5fece6","parentUUID":"b87506ae-0093-466b-82ec-49a2bdbbf69d","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":126,"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":"c7f4cbc9-9d37-486d-8981-435303a40f69","parentUUID":"b87506ae-0093-466b-82ec-49a2bdbbf69d","isHook":false,"skipped":false}],"suites":[],"passes":["f25868e9-8d45-4fa1-b333-80790a053f54","c7f4cbc9-9d37-486d-8981-435303a40f69"],"failures":["46833ec1-6275-4465-8d9a-d53612a8522a","14e9a74d-6d79-45ac-aa80-45642c5fece6"],"pending":[],"skipped":[],"duration":8855,"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>