/
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":"2021-12-28T03:10:03.251Z","end":"2021-12-28T03:10:03.251Z","duration":392677,"testsRegistered":315,"passPercent":0.9523809523809523,"pendingPercent":0,"other":0,"hasOther":false,"skipped":3,"hasSkipped":true},"results":[{"uuid":"bb651a4c-77f3-4e5a-bb3f-ea614c39937a","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":"417f38c3-b6f6-4b95-b874-c51447d020c4","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":593,"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":"59c25908-d2ad-46e9-8cce-c6a78a3db73c","parentUUID":"417f38c3-b6f6-4b95-b874-c51447d020c4","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":4182,"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":"e1f762be-0fb0-4395-bf36-5319df498a17","parentUUID":"417f38c3-b6f6-4b95-b874-c51447d020c4","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4207,"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":"f1be5add-1351-4dfa-a1dc-e562b46b85de","parentUUID":"417f38c3-b6f6-4b95-b874-c51447d020c4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["59c25908-d2ad-46e9-8cce-c6a78a3db73c","e1f762be-0fb0-4395-bf36-5319df498a17","f1be5add-1351-4dfa-a1dc-e562b46b85de"],"pending":[],"skipped":[],"duration":8982,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f58a95ee-248e-45da-a8ea-9a9e2f62e80d","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":"d753601c-1189-4aa1-be73-d20065d90263","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":522,"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":"05877a0b-4191-414e-8aa9-df86ba4728d0","parentUUID":"d753601c-1189-4aa1-be73-d20065d90263","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["05877a0b-4191-414e-8aa9-df86ba4728d0"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1d8c272c-acef-485f-8fde-67d32bb54bcc","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":"9a71bc08-2641-4ea9-b769-9c2f381f5985","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":493,"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":"fac20927-c364-4611-8668-abd7626bc6aa","parentUUID":"9a71bc08-2641-4ea9-b769-9c2f381f5985","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fac20927-c364-4611-8668-abd7626bc6aa"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fedba8ef-ab68-4980-9dc7-f7a84bf97e02","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":"a333b331-0c71-40fe-96e4-fd25617e58b9","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":512,"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":"34212211-9ccb-49c0-b37b-b397a973dc0f","parentUUID":"a333b331-0c71-40fe-96e4-fd25617e58b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["34212211-9ccb-49c0-b37b-b397a973dc0f"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3cc3adc7-4ab0-4cfd-ac6a-98a4f5d43fdb","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":"875fd896-02fa-4b00-9ad7-77915ce91ded","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":496,"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":"6b5d9396-e972-49b8-b6b5-ff16389d184c","parentUUID":"875fd896-02fa-4b00-9ad7-77915ce91ded","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b5d9396-e972-49b8-b6b5-ff16389d184c"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f500a880-8e47-415c-a104-8c12e44d2c3b","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":"833c1c81-b375-42aa-b316-64771ef6ab41","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":477,"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":"2f1472cb-4d75-41b2-8af5-2013c28eadea","parentUUID":"833c1c81-b375-42aa-b316-64771ef6ab41","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2f1472cb-4d75-41b2-8af5-2013c28eadea"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6042bd78-e70c-4535-9843-44e3bf28966a","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":"03e2c2d4-12d7-4667-8609-f8ea20a00616","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":490,"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":"dbb5e5fa-d308-424e-be15-a9824b431944","parentUUID":"03e2c2d4-12d7-4667-8609-f8ea20a00616","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dbb5e5fa-d308-424e-be15-a9824b431944"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"148826f6-41b4-4d26-ae44-e1f213bd5966","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":"3ed6ac66-ea32-4aca-97be-787952815678","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":510,"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":"e0995420-ea71-4137-9cca-5a997761fc76","parentUUID":"3ed6ac66-ea32-4aca-97be-787952815678","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0995420-ea71-4137-9cca-5a997761fc76"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a25640ef-7b1a-4c96-af49-42bdc6053857","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":"67d882e9-d1c2-4c2a-81be-72b944c20528","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":528,"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":"679ee52a-afde-42e4-bc22-9297cdbdc2ad","parentUUID":"67d882e9-d1c2-4c2a-81be-72b944c20528","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":441,"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":"6a7a8c7e-a1f6-4e40-be3e-2cfe8a34774c","parentUUID":"67d882e9-d1c2-4c2a-81be-72b944c20528","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":492,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/portal/invoices\");\ncy.checkPortal();\ncy.wait(3000);\ncy.url().should('include', '/portal/invoices');\ncy.get('.container-fluid > .row:first-child').find('select.form-control').select('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":"a9e62dc7-5c1a-4f16-9a02-ae736a233c31","parentUUID":"67d882e9-d1c2-4c2a-81be-72b944c20528","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":499,"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":"aab18ebb-0789-4878-bb5d-a694afbe9c7e","parentUUID":"67d882e9-d1c2-4c2a-81be-72b944c20528","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":469,"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":"44c4254c-7dc1-48fd-a751-7ad00e6ad499","parentUUID":"67d882e9-d1c2-4c2a-81be-72b944c20528","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":483,"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":"79332df7-c749-4877-968f-63a50e5cc625","parentUUID":"67d882e9-d1c2-4c2a-81be-72b944c20528","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["679ee52a-afde-42e4-bc22-9297cdbdc2ad","6a7a8c7e-a1f6-4e40-be3e-2cfe8a34774c","a9e62dc7-5c1a-4f16-9a02-ae736a233c31","aab18ebb-0789-4878-bb5d-a694afbe9c7e","44c4254c-7dc1-48fd-a751-7ad00e6ad499","79332df7-c749-4877-968f-63a50e5cc625"],"pending":[],"skipped":[],"duration":2912,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fe526058-d701-48ab-8ea3-21a1934ed086","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":"be993eb7-2210-40af-9b51-89e7cb0afd47","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":493,"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":"49e90ff0-172d-4ca9-b513-ea4e89f0fd42","parentUUID":"be993eb7-2210-40af-9b51-89e7cb0afd47","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":483,"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":"06dbe50d-b73f-4cae-9f40-fb42add91448","parentUUID":"be993eb7-2210-40af-9b51-89e7cb0afd47","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["49e90ff0-172d-4ca9-b513-ea4e89f0fd42","06dbe50d-b73f-4cae-9f40-fb42add91448"],"pending":[],"skipped":[],"duration":976,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1d4beef1-007c-4e17-af2b-82d7462f006d","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":"fe36956e-5d96-46c6-9719-af8a9dcf9b18","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":534,"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":"bec568ef-ecbe-4aea-8420-b682b45e3dac","parentUUID":"fe36956e-5d96-46c6-9719-af8a9dcf9b18","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":470,"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":"71f97097-d1fe-480d-b7c2-e02b25b4deaf","parentUUID":"fe36956e-5d96-46c6-9719-af8a9dcf9b18","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":486,"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":"d64fc0c8-5072-41fa-b2ef-985f27c80705","parentUUID":"fe36956e-5d96-46c6-9719-af8a9dcf9b18","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bec568ef-ecbe-4aea-8420-b682b45e3dac","71f97097-d1fe-480d-b7c2-e02b25b4deaf","d64fc0c8-5072-41fa-b2ef-985f27c80705"],"pending":[],"skipped":[],"duration":1490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3570ddb2-207f-4df4-919e-abb6c21891fb","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":"7989cfc3-7e45-4417-898f-986467b1a96b","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":508,"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":"08380787-4f9c-49ff-92a2-2ab746ee581a","parentUUID":"7989cfc3-7e45-4417-898f-986467b1a96b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["08380787-4f9c-49ff-92a2-2ab746ee581a"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bf7cf168-f4a5-4f30-bcfe-b6bd9e5f28d8","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":"566c675e-52fb-4a16-997b-e39c1c000af9","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":517,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid=\"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":"40f6eb95-3d68-4626-b8b4-5796d96239d8","parentUUID":"566c675e-52fb-4a16-997b-e39c1c000af9","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":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/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":"0ee25dc5-c88b-444c-869b-02ccbaad8400","parentUUID":"566c675e-52fb-4a16-997b-e39c1c000af9","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":480,"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":"409f2c7a-ab7d-4842-806f-e88887d38a8c","parentUUID":"566c675e-52fb-4a16-997b-e39c1c000af9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["40f6eb95-3d68-4626-b8b4-5796d96239d8","0ee25dc5-c88b-444c-869b-02ccbaad8400","409f2c7a-ab7d-4842-806f-e88887d38a8c"],"pending":[],"skipped":[],"duration":1487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0a395d0c-24c8-4efb-82a2-f1b73ac8fd0d","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":"bf90dedb-42f2-4f69-a3d0-07e3d6cac3c8","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":475,"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":"232f965f-6521-4e88-ab7d-65c9f84eb5d7","parentUUID":"bf90dedb-42f2-4f69-a3d0-07e3d6cac3c8","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":463,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/portal/payment-methods\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/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":"017d3aaf-e5de-4861-8444-4d530f1d7138","parentUUID":"bf90dedb-42f2-4f69-a3d0-07e3d6cac3c8","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","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').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":"f2cb9763-af88-47c8-820d-1f8b28de8e4e","parentUUID":"bf90dedb-42f2-4f69-a3d0-07e3d6cac3c8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["232f965f-6521-4e88-ab7d-65c9f84eb5d7","017d3aaf-e5de-4861-8444-4d530f1d7138","f2cb9763-af88-47c8-820d-1f8b28de8e4e"],"pending":[],"skipped":[],"duration":1411,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"961889e7-a9e4-4c9f-a7f3-3bdc2172fbcf","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":"b5aa2875-559f-4d08-90f9-23c9142d7b07","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":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.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":"c48110e9-b791-462f-9a22-78814d633754","parentUUID":"b5aa2875-559f-4d08-90f9-23c9142d7b07","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":459,"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":"b5d8a699-7db2-4ac4-a758-a0afbefdeaff","parentUUID":"b5aa2875-559f-4d08-90f9-23c9142d7b07","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":507,"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":"6f909b84-5d6f-4b25-adff-8c93772b6628","parentUUID":"b5aa2875-559f-4d08-90f9-23c9142d7b07","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c48110e9-b791-462f-9a22-78814d633754","b5d8a699-7db2-4ac4-a758-a0afbefdeaff","6f909b84-5d6f-4b25-adff-8c93772b6628"],"pending":[],"skipped":[],"duration":1452,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"20d70556-00a5-4fd0-9571-d0502c95fbcd","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":"9a23e690-866f-487b-a8b7-e811f00205ef","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":480,"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":"2a6d2fb2-53f8-4442-8bac-8964f7061474","parentUUID":"9a23e690-866f-487b-a8b7-e811f00205ef","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":454,"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":"f5823f68-da5a-436d-9b69-c4ffcc7a558b","parentUUID":"9a23e690-866f-487b-a8b7-e811f00205ef","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":485,"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":"96ff6a38-226d-4f7a-8ffc-ad7773212448","parentUUID":"9a23e690-866f-487b-a8b7-e811f00205ef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a6d2fb2-53f8-4442-8bac-8964f7061474","f5823f68-da5a-436d-9b69-c4ffcc7a558b","96ff6a38-226d-4f7a-8ffc-ad7773212448"],"pending":[],"skipped":[],"duration":1419,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43ab32c1-fb8b-4829-a406-44aad12c5e6a","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":"10d70ee2-995b-4e68-95f7-b4be0047c434","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":818,"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":"6d3e5f96-b6a7-4420-9f76-4057f3bf6aa8","parentUUID":"10d70ee2-995b-4e68-95f7-b4be0047c434","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6d3e5f96-b6a7-4420-9f76-4057f3bf6aa8"],"pending":[],"skipped":[],"duration":818,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fcf538cd-7c3b-4d79-98e3-5ca2b765c669","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":"cb093517-1d8b-43d8-8fda-a1bfcd2acc7f","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":511,"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":"b8d0524b-01e9-4db3-94e5-9ec3b4626439","parentUUID":"cb093517-1d8b-43d8-8fda-a1bfcd2acc7f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b8d0524b-01e9-4db3-94e5-9ec3b4626439"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43e86a22-485a-4bb3-9763-2c299755c44f","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":"f10a23cc-daca-478b-9e83-afe9035d7d27","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":505,"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":"e6acaebe-0554-45c7-b989-6b352171664d","parentUUID":"f10a23cc-daca-478b-9e83-afe9035d7d27","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e6acaebe-0554-45c7-b989-6b352171664d"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bbe32627-a00a-48b0-bdb6-9bd727aedc7c","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":"211bf70e-7908-48ad-97b5-4c51e08f3c1b","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":485,"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":"3fdaf432-f227-432c-b256-79759602198d","parentUUID":"211bf70e-7908-48ad-97b5-4c51e08f3c1b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3fdaf432-f227-432c-b256-79759602198d"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c606d767-6d21-4964-80b1-52b6109b3fda","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":"dfa13cc4-6bab-4f41-aead-ec5c3c2f5111","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":467,"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":"b25aa93d-5615-469e-86b3-bbcef4e51db9","parentUUID":"dfa13cc4-6bab-4f41-aead-ec5c3c2f5111","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b25aa93d-5615-469e-86b3-bbcef4e51db9"],"pending":[],"skipped":[],"duration":467,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c421bfd7-19bc-4b36-97ab-3aa2c21104b1","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":"425efef8-4e23-4099-8079-9bee4fc06bae","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":491,"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":"6a409256-8373-491c-80e3-720929745f13","parentUUID":"425efef8-4e23-4099-8079-9bee4fc06bae","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":503,"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":"06ced97a-3b48-41e5-9e70-35b198355f65","parentUUID":"425efef8-4e23-4099-8079-9bee4fc06bae","isHook":false,"skipped":false},{"title":"Admin verified the payment method","fullTitle":"Add payment method for ACH using Stripe (PortalFlow) Admin verified the payment method","timedOut":null,"duration":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(8000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').click({\n force: true\n });\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#amount1-input').type('32');\ncy.get('#amount2-input').type('45');\ncy.get('#verify_button').click({\n force: true\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:180:8)","diff":null},"uuid":"4d5d0dfd-adf5-47ad-b795-6a914ceb3cec","parentUUID":"425efef8-4e23-4099-8079-9bee4fc06bae","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6a409256-8373-491c-80e3-720929745f13","06ced97a-3b48-41e5-9e70-35b198355f65","4d5d0dfd-adf5-47ad-b795-6a914ceb3cec"],"pending":[],"skipped":[],"duration":1487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8d78d55-1887-4cd7-a6aa-9229539364ca","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":"6cddd45c-bbe6-42c4-a057-8240e69338b1","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":510,"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":"bcaac629-5e2b-4a79-8ca9-30e5f1d881d5","parentUUID":"6cddd45c-bbe6-42c4-a057-8240e69338b1","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":489,"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":"99e635c0-1421-472f-9bc5-e81504b8118a","parentUUID":"6cddd45c-bbe6-42c4-a057-8240e69338b1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bcaac629-5e2b-4a79-8ca9-30e5f1d881d5","99e635c0-1421-472f-9bc5-e81504b8118a"],"pending":[],"skipped":[],"duration":999,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"618e0457-44dd-404b-a2b5-cfddcff98218","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":"9ad5b944-8332-40f7-9a9c-3fc2cb3861f8","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":521,"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":"fd33873e-be1a-4f15-8ff9-39a72b0e4737","parentUUID":"9ad5b944-8332-40f7-9a9c-3fc2cb3861f8","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":451,"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":"0bb612f9-f9e1-4531-b91b-da1a61c65145","parentUUID":"9ad5b944-8332-40f7-9a9c-3fc2cb3861f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fd33873e-be1a-4f15-8ff9-39a72b0e4737","0bb612f9-f9e1-4531-b91b-da1a61c65145"],"pending":[],"skipped":[],"duration":972,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e7394e48-e9c4-4f9e-8730-92095ef8101e","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":"e3a4adeb-70e0-4134-8196-d436528fcbec","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":"949bd7a8-cb7a-41cb-bb4b-be8b0857ad8b","parentUUID":"e3a4adeb-70e0-4134-8196-d436528fcbec","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":489,"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":"18d1d072-f6b2-4db4-9802-c38641aec769","parentUUID":"e3a4adeb-70e0-4134-8196-d436528fcbec","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["949bd7a8-cb7a-41cb-bb4b-be8b0857ad8b","18d1d072-f6b2-4db4-9802-c38641aec769"],"pending":[],"skipped":[],"duration":996,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"95376c40-8957-4611-b681-07c3cc710408","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":"12fd0984-8b87-4f8b-a894-7ca72e45b74d","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":485,"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":"8b9ed86c-e851-4dff-acb3-98c6ec001bd7","parentUUID":"12fd0984-8b87-4f8b-a894-7ca72e45b74d","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":498,"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":"a3eb7b6b-fe96-40d9-b66b-c11e42c24d9a","parentUUID":"12fd0984-8b87-4f8b-a894-7ca72e45b74d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b9ed86c-e851-4dff-acb3-98c6ec001bd7","a3eb7b6b-fe96-40d9-b66b-c11e42c24d9a"],"pending":[],"skipped":[],"duration":983,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"15ee2d70-55de-4bbf-87e7-44f3847af442","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":"2ef6ea3c-90f7-48a2-a3d9-e5cec7483df7","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":532,"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":"7a565a79-34b7-4d2b-8b86-99ba863ead33","parentUUID":"2ef6ea3c-90f7-48a2-a3d9-e5cec7483df7","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":479,"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":"16709650-9dd8-4abc-aed4-3597f6662cb9","parentUUID":"2ef6ea3c-90f7-48a2-a3d9-e5cec7483df7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7a565a79-34b7-4d2b-8b86-99ba863ead33","16709650-9dd8-4abc-aed4-3597f6662cb9"],"pending":[],"skipped":[],"duration":1011,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"16931e5e-04e1-4cca-a5b3-2ba2046a81b6","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":"000543a5-1fe2-44fe-8187-2a96a70cccfe","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":505,"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":"a78afc58-1b7f-48ba-b0ae-5a495fa49177","parentUUID":"000543a5-1fe2-44fe-8187-2a96a70cccfe","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":4196,"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":"ba1b080a-6889-4584-8d83-ef17723495ab","parentUUID":"000543a5-1fe2-44fe-8187-2a96a70cccfe","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":473,"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":"a94bc881-574e-48e6-8c03-541fd121bc76","parentUUID":"000543a5-1fe2-44fe-8187-2a96a70cccfe","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":495,"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":"6c90d353-4c52-48cb-b0fd-a378cb3e9bc1","parentUUID":"000543a5-1fe2-44fe-8187-2a96a70cccfe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a78afc58-1b7f-48ba-b0ae-5a495fa49177","ba1b080a-6889-4584-8d83-ef17723495ab","a94bc881-574e-48e6-8c03-541fd121bc76","6c90d353-4c52-48cb-b0fd-a378cb3e9bc1"],"pending":[],"skipped":[],"duration":5669,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"707caba1-9a12-4c67-b2bc-3e5995c4a6f0","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":"ad5797e7-5918-4ef1-9e88-9ad4c74e1082","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":478,"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":"b67e5fbb-aa9f-407a-bc76-8964d6b333bb","parentUUID":"ad5797e7-5918-4ef1-9e88-9ad4c74e1082","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b67e5fbb-aa9f-407a-bc76-8964d6b333bb"],"pending":[],"skipped":[],"duration":478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5f8d4190-58ef-41fa-bae6-34be9bbeaa1c","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":"1485eceb-fbc4-43cf-b98e-7acc3f4eefad","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":497,"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":"337ed148-0568-4eb3-b4a7-37893bf55f7f","parentUUID":"1485eceb-fbc4-43cf-b98e-7acc3f4eefad","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":4179,"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":"efedaa6c-27bc-4473-9906-f77d403ace60","parentUUID":"1485eceb-fbc4-43cf-b98e-7acc3f4eefad","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4197,"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":"2cd320ab-890c-4146-bc23-27f7261210eb","parentUUID":"1485eceb-fbc4-43cf-b98e-7acc3f4eefad","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":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/8-logout/1-logout_spec.js:111:8)","diff":null},"uuid":"9066a667-0be4-44ac-9271-7a2abf971c1c","parentUUID":"1485eceb-fbc4-43cf-b98e-7acc3f4eefad","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":38,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"e4a54880-1d24-456f-9ccf-42cf3869d3d4","parentUUID":"1485eceb-fbc4-43cf-b98e-7acc3f4eefad","isHook":false,"skipped":false}],"suites":[],"passes":["e4a54880-1d24-456f-9ccf-42cf3869d3d4"],"failures":["337ed148-0568-4eb3-b4a7-37893bf55f7f","efedaa6c-27bc-4473-9906-f77d403ace60","2cd320ab-890c-4146-bc23-27f7261210eb","9066a667-0be4-44ac-9271-7a2abf971c1c"],"pending":[],"skipped":[],"duration":13124,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce69b356-8ec4-4254-a7d1-eb9034d76d67","title":"","fullFile":"cypress/integration/seeder/seedo.spec.js","file":"cypress/integration/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8aa50fab-a63b-4c50-a19a-6494aa27ed5c","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":513,"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":"9fd88627-005b-4429-bf40-3ad836319f7b","parentUUID":"8aa50fab-a63b-4c50-a19a-6494aa27ed5c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9fd88627-005b-4429-bf40-3ad836319f7b"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4783cdb-c9b8-4222-8696-e1d453c9d001","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":"775aa9fe-c506-4f4d-9629-494477e3bfd8","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":490,"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":"70ebb4be-75fe-4ca6-a977-d75d1742776f","parentUUID":"775aa9fe-c506-4f4d-9629-494477e3bfd8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["70ebb4be-75fe-4ca6-a977-d75d1742776f"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7091c1f2-c714-4cab-a1ef-9c5b7dcbd9c8","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":"a8f69471-dd94-4dac-8350-6deb8159e11c","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":513,"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":"895f8dc2-3f94-4571-8e44-13a343f43729","parentUUID":"a8f69471-dd94-4dac-8350-6deb8159e11c","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":474,"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":"c3406950-9cbe-4c55-afd9-ad156e46f0cd","parentUUID":"a8f69471-dd94-4dac-8350-6deb8159e11c","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":486,"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":"f1c1e3c9-4ce0-4f16-903c-07053b0e65e2","parentUUID":"a8f69471-dd94-4dac-8350-6deb8159e11c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["895f8dc2-3f94-4571-8e44-13a343f43729","c3406950-9cbe-4c55-afd9-ad156e46f0cd","f1c1e3c9-4ce0-4f16-903c-07053b0e65e2"],"pending":[],"skipped":[],"duration":1473,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"492369dd-92d1-4564-82e2-bbf20dc064d7","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":"330a47fc-603f-4b5a-9b42-174f0f0d2fdd","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":532,"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":"e72a3dc6-6ec5-4a9e-be57-e47ac8fc207e","parentUUID":"330a47fc-603f-4b5a-9b42-174f0f0d2fdd","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":4166,"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":"343567bf-81f3-4bf7-b70a-36bf3a52538d","parentUUID":"330a47fc-603f-4b5a-9b42-174f0f0d2fdd","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":4170,"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":"b8cc3932-5e17-4ab1-8c43-e92191c9f178","parentUUID":"330a47fc-603f-4b5a-9b42-174f0f0d2fdd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e72a3dc6-6ec5-4a9e-be57-e47ac8fc207e","343567bf-81f3-4bf7-b70a-36bf3a52538d","b8cc3932-5e17-4ab1-8c43-e92191c9f178"],"pending":[],"skipped":[],"duration":8868,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f8d1f7fd-5140-4a94-aa37-790fe9819dad","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":"75bf1793-f3de-4086-bedf-2831bf4478bc","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":476,"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":"4d397e07-ae48-4dff-9f2b-9ad25c318a36","parentUUID":"75bf1793-f3de-4086-bedf-2831bf4478bc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4d397e07-ae48-4dff-9f2b-9ad25c318a36"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f5bfc6af-3443-4425-85b8-883e06b8da7d","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":"d7c4c011-95a4-4732-98fb-43234e2ed445","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":476,"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":"6acda890-34b9-4459-9c81-636460b24ac7","parentUUID":"d7c4c011-95a4-4732-98fb-43234e2ed445","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6acda890-34b9-4459-9c81-636460b24ac7"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6d07bc68-b4b0-4728-b84b-702527d6c0af","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":"281fe59b-4575-4ea0-a67d-007205b0d41b","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":466,"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":"9c151435-b772-4a7b-ace6-c03064637b68","parentUUID":"281fe59b-4575-4ea0-a67d-007205b0d41b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9c151435-b772-4a7b-ace6-c03064637b68"],"pending":[],"skipped":[],"duration":466,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c32f5b6f-b0df-459e-973b-d346a24fe92c","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":"f0809a48-b2a2-447d-a39f-b4d96f56fbc5","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":468,"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":"98a86566-c382-48c3-845b-ab80fda12c7f","parentUUID":"f0809a48-b2a2-447d-a39f-b4d96f56fbc5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98a86566-c382-48c3-845b-ab80fda12c7f"],"pending":[],"skipped":[],"duration":468,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"21273685-3bf4-4efd-b378-015ee91f536e","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":"2e11455e-cc74-43c5-9ab1-096d1bc01a16","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":558,"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":"a03bb0a7-433d-4a78-87a3-f2db18720fe5","parentUUID":"2e11455e-cc74-43c5-9ab1-096d1bc01a16","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a03bb0a7-433d-4a78-87a3-f2db18720fe5"],"pending":[],"skipped":[],"duration":558,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3230e410-e918-476c-8ef3-f10c3dcef7a4","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":"68c92295-d2bc-406b-9082-4af1af09c6c1","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":469,"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":"7f65e5fd-bf0e-4277-9e4f-67bd6e49f779","parentUUID":"68c92295-d2bc-406b-9082-4af1af09c6c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7f65e5fd-bf0e-4277-9e4f-67bd6e49f779"],"pending":[],"skipped":[],"duration":469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dff6d258-46d1-4807-bce3-d7352fb45c08","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":"3aefb7c1-790f-445f-8027-6e41b0c1b6a3","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":525,"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":"831a6b72-d517-4134-97a3-771a4e74f140","parentUUID":"3aefb7c1-790f-445f-8027-6e41b0c1b6a3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["831a6b72-d517-4134-97a3-771a4e74f140"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e8191b68-9bbc-4a10-8502-98e84b3de919","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":"42cdad72-e95e-4c56-a822-79e0dcede6d1","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":4809,"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":"93d78d2a-d8c8-4b71-b66d-fd311310c6e7","parentUUID":"42cdad72-e95e-4c56-a822-79e0dcede6d1","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":4222,"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":"d3ac4fbd-9619-4358-93f6-b2d8c20d2db4","parentUUID":"42cdad72-e95e-4c56-a822-79e0dcede6d1","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":4261,"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":"c80f3a50-fc27-443f-a201-103822966684","parentUUID":"42cdad72-e95e-4c56-a822-79e0dcede6d1","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":4381,"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":"19e7d45c-deed-4cc0-8b27-b3cc84ce5fd9","parentUUID":"42cdad72-e95e-4c56-a822-79e0dcede6d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["93d78d2a-d8c8-4b71-b66d-fd311310c6e7","d3ac4fbd-9619-4358-93f6-b2d8c20d2db4","c80f3a50-fc27-443f-a201-103822966684","19e7d45c-deed-4cc0-8b27-b3cc84ce5fd9"],"pending":[],"skipped":[],"duration":17673,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8dc663e2-eea9-4e0a-82ff-43223b29b99f","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":"fb3401f7-1e77-4dd2-8d41-a247a74e5adf","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":512,"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":"88adeb2f-0a63-49f2-83aa-340883b45000","parentUUID":"fb3401f7-1e77-4dd2-8d41-a247a74e5adf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88adeb2f-0a63-49f2-83aa-340883b45000"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae192b7c-7824-462f-b761-eb2847a6a4ea","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":"2535877f-7edc-4ec6-91af-4ae091b4eaa8","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":518,"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":"12d6efa2-6d70-4067-8351-edafb0eb8486","parentUUID":"2535877f-7edc-4ec6-91af-4ae091b4eaa8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["12d6efa2-6d70-4067-8351-edafb0eb8486"],"pending":[],"skipped":[],"duration":518,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4fe979fb-1833-4998-b519-d0a93fe47bd2","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":"4539f1b5-466f-4063-9aa6-6f8530aa0b01","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":506,"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":"bdf5febb-6e3f-4248-a73a-45c499292461","parentUUID":"4539f1b5-466f-4063-9aa6-6f8530aa0b01","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bdf5febb-6e3f-4248-a73a-45c499292461"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4173f28d-4023-489b-973f-4a379b9cc163","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":"ee766dcc-31a3-4aae-a671-3b7bea5e5d71","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":522,"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":"4a2034a5-f190-4ad7-b3c1-c9003122986c","parentUUID":"ee766dcc-31a3-4aae-a671-3b7bea5e5d71","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":451,"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":"e37191e5-281e-4c85-9c36-7809785b63be","parentUUID":"ee766dcc-31a3-4aae-a671-3b7bea5e5d71","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":468,"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":"bef08834-e9ad-4775-ba24-56d6757fed3a","parentUUID":"ee766dcc-31a3-4aae-a671-3b7bea5e5d71","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a2034a5-f190-4ad7-b3c1-c9003122986c","e37191e5-281e-4c85-9c36-7809785b63be","bef08834-e9ad-4775-ba24-56d6757fed3a"],"pending":[],"skipped":[],"duration":1441,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"09faf754-9a76-460f-b1c8-0b317a92f330","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":"3fc8e9c0-dc9e-46d3-a99b-9cf65228a26c","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","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);\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":"94d36839-5e49-46f3-92e5-6b0507b154bc","parentUUID":"3fc8e9c0-dc9e-46d3-a99b-9cf65228a26c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["94d36839-5e49-46f3-92e5-6b0507b154bc"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2b48cdc-0215-422f-a099-dadaf6de68d0","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":"4d300b49-f37f-4eb2-8a54-d197a988b79d","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":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('.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":"f29b8027-965e-4bf0-ae27-966bec990046","parentUUID":"4d300b49-f37f-4eb2-8a54-d197a988b79d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f29b8027-965e-4bf0-ae27-966bec990046"],"pending":[],"skipped":[],"duration":494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"51fa1192-38d9-4687-9f29-a3cf94e97d1e","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":"4e2282f6-6702-4e2d-b8aa-a1ca42acc473","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":496,"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":"49a2319b-bc9c-4ae6-9a06-670146d0d5de","parentUUID":"4e2282f6-6702-4e2d-b8aa-a1ca42acc473","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["49a2319b-bc9c-4ae6-9a06-670146d0d5de"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3c4d358a-e01b-4c23-975a-56d87fb12fe8","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":"a3a95c2f-6d4d-420c-a041-affd1a2df2aa","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":508,"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":"3910cc2c-f055-4a7d-8c22-b3f3c8cac560","parentUUID":"a3a95c2f-6d4d-420c-a041-affd1a2df2aa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3910cc2c-f055-4a7d-8c22-b3f3c8cac560"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e82fd9f0-fdd1-49f0-b2fc-9e81b1cbc824","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":"28d0cb9d-f9b3-4046-9897-456ced6db722","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":591,"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":"0036a526-0448-4c73-9476-c7575355c1fc","parentUUID":"28d0cb9d-f9b3-4046-9897-456ced6db722","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0036a526-0448-4c73-9476-c7575355c1fc"],"pending":[],"skipped":[],"duration":591,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fe26e7bb-bf10-49dd-bf9a-64d8b5668a80","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":"de871ded-11af-4e5f-a6fa-ea8408dc150e","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":"b3df5aae-118e-48e4-960b-d96e7cb89252","parentUUID":"de871ded-11af-4e5f-a6fa-ea8408dc150e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b3df5aae-118e-48e4-960b-d96e7cb89252"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e787a6bb-f9f0-4faa-bb73-9b6c50ae18d3","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":"c3774869-48ab-44da-82b7-7c3c198867f8","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":598,"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":"e0834a34-89a2-47fd-894b-048f39cddad1","parentUUID":"c3774869-48ab-44da-82b7-7c3c198867f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0834a34-89a2-47fd-894b-048f39cddad1"],"pending":[],"skipped":[],"duration":598,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd67bbf7-66f1-4f71-9a3e-0c1a90d8cbbc","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":"861602b3-8be6-4794-8b45-4924f822fccd","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":519,"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":"f7a63c42-fade-4fe9-bb04-3abcd41d543c","parentUUID":"861602b3-8be6-4794-8b45-4924f822fccd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f7a63c42-fade-4fe9-bb04-3abcd41d543c"],"pending":[],"skipped":[],"duration":519,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d90aaaa0-0a4e-4c83-a5d1-9919553ea576","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":"846b3220-1d9b-4b13-ba91-e6119a325f05","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":520,"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":"43ba36b4-006b-4800-9431-97360adb75dc","parentUUID":"846b3220-1d9b-4b13-ba91-e6119a325f05","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["43ba36b4-006b-4800-9431-97360adb75dc"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bf542084-4e6e-47b7-aaea-19f0d517413f","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":"68231524-6027-47c6-9a0c-2aa452d70f5a","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":475,"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":"55ec69d3-eae5-404b-8529-5a9dced702cc","parentUUID":"68231524-6027-47c6-9a0c-2aa452d70f5a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55ec69d3-eae5-404b-8529-5a9dced702cc"],"pending":[],"skipped":[],"duration":475,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84bf1858-ca96-4e40-a6ef-f61012ab43ad","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":"f463ffcd-775a-45d9-9f59-7464f2713d90","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":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#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":"49dd9bec-9c82-4923-a4d5-378516739122","parentUUID":"f463ffcd-775a-45d9-9f59-7464f2713d90","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["49dd9bec-9c82-4923-a4d5-378516739122"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3376318f-236f-46be-9fe0-7a2095815992","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":"5e84d128-9db8-47ff-99bd-6fb1bba00e7c","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":504,"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":"31775d60-e1db-46ea-bd08-60c81652635a","parentUUID":"5e84d128-9db8-47ff-99bd-6fb1bba00e7c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31775d60-e1db-46ea-bd08-60c81652635a"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4f45db59-81c0-454e-b572-4281c9ca46f9","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":"4c93c843-787d-49c8-aa23-035808a24412","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":510,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#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":"339007ef-8f28-488f-a780-e54e39f6c4ad","parentUUID":"4c93c843-787d-49c8-aa23-035808a24412","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["339007ef-8f28-488f-a780-e54e39f6c4ad"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1751df17-5445-43b0-a9ca-ac2060d5764a","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":"b45e33a5-fa87-418f-afae-8fb68c2f26e9","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":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('#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":"25e30bd0-6443-47dc-9672-f3ef83356672","parentUUID":"b45e33a5-fa87-418f-afae-8fb68c2f26e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["25e30bd0-6443-47dc-9672-f3ef83356672"],"pending":[],"skipped":[],"duration":499,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e29f782-71ff-47e7-895c-86657e1db20f","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":"54bac431-c53d-4683-9df5-024e41843285","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":515,"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":"8e8b4bbf-e2ed-4097-ae05-ef012bb75337","parentUUID":"54bac431-c53d-4683-9df5-024e41843285","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8e8b4bbf-e2ed-4097-ae05-ef012bb75337"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"609a7c80-cbb1-4e9a-ad7f-3c0953edabcb","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":"7ebada4c-28b2-4c52-b13d-c5df58eeda85","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":498,"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":"0545c316-c16c-4c4a-9e3a-6a1990197f14","parentUUID":"7ebada4c-28b2-4c52-b13d-c5df58eeda85","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0545c316-c16c-4c4a-9e3a-6a1990197f14"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84d8802a-17d3-4eb5-ab11-a839bcb4cfc3","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":"58f9d503-b451-4fda-a2f5-0298948ebf82","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":608,"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":"97d3d550-a0f9-4f1f-aa91-3e7f1c341616","parentUUID":"58f9d503-b451-4fda-a2f5-0298948ebf82","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["97d3d550-a0f9-4f1f-aa91-3e7f1c341616"],"pending":[],"skipped":[],"duration":608,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3f2de431-9452-4dcb-8b5b-9806e2c93923","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":"61995eb1-3a6a-40d3-a135-342782e5ca8b","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":520,"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":"970af46a-e1f3-485a-8126-d47e9d9f1d56","parentUUID":"61995eb1-3a6a-40d3-a135-342782e5ca8b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["970af46a-e1f3-485a-8126-d47e9d9f1d56"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a4fa3cd0-f566-4417-8427-4c8947d92a05","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":"f2332cb2-ff03-4ffe-a1d7-94a256e6e3a1","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":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_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":"aff20726-a8da-4486-a9bc-6f51381f1ebc","parentUUID":"f2332cb2-ff03-4ffe-a1d7-94a256e6e3a1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["aff20726-a8da-4486-a9bc-6f51381f1ebc"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"509fc5d4-32f1-4a89-871a-7bc23b6e181f","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":"a21018ac-8884-4031-9df8-833b450f0060","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":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#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":"96379364-a5ad-4574-9cf2-31831218baeb","parentUUID":"a21018ac-8884-4031-9df8-833b450f0060","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["96379364-a5ad-4574-9cf2-31831218baeb"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a59a656-f43f-469d-bb6d-7e3e90faa2fd","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":"9b538204-5c33-40a7-a6c3-900da603719d","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":457,"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":"1ccc78bf-a38d-4c0a-bc13-81990d26bba8","parentUUID":"9b538204-5c33-40a7-a6c3-900da603719d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1ccc78bf-a38d-4c0a-bc13-81990d26bba8"],"pending":[],"skipped":[],"duration":457,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23c45866-8858-46f9-982a-2081a8a62907","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":"5321fb30-66d9-4bbc-bc96-7efc972d960a","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":493,"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":"c5a05e2f-ae48-4b2e-8e5b-32657ebf51d4","parentUUID":"5321fb30-66d9-4bbc-bc96-7efc972d960a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5a05e2f-ae48-4b2e-8e5b-32657ebf51d4"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bde9695d-0bd3-41be-9090-8f57b6fe8831","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":"93b15835-c2a6-43cd-ac9a-9a9ee3ea6b5d","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":492,"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":"36cba993-5ec5-480a-b91e-8819c204de0f","parentUUID":"93b15835-c2a6-43cd-ac9a-9a9ee3ea6b5d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["36cba993-5ec5-480a-b91e-8819c204de0f"],"pending":[],"skipped":[],"duration":492,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"93ac1b1a-c856-46b2-8a3b-777c647f85b2","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":"d466f3e5-0a66-4170-99c5-f076ccc805db","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":514,"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":"15ee0d3f-c2ab-4de6-be61-1b02ba7b31ce","parentUUID":"d466f3e5-0a66-4170-99c5-f076ccc805db","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["15ee0d3f-c2ab-4de6-be61-1b02ba7b31ce"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed92feea-1e44-401a-8753-c9c725ed5353","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":"64c02fd5-8d36-481b-b5f4-f48113136832","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":512,"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":"2bd725c6-64a4-4424-9af9-c5134664bb29","parentUUID":"64c02fd5-8d36-481b-b5f4-f48113136832","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2bd725c6-64a4-4424-9af9-c5134664bb29"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b567a002-bd92-4b2a-927a-5bb7b298b433","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":"598c8628-fb24-4d1a-a0d3-f8c970a0114f","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":469,"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":"eab782e1-773d-4a3b-936e-a3f55e5d3083","parentUUID":"598c8628-fb24-4d1a-a0d3-f8c970a0114f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eab782e1-773d-4a3b-936e-a3f55e5d3083"],"pending":[],"skipped":[],"duration":469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcacdad6-2719-4ac6-8bab-563a95ac6e26","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":"d93aa54d-7734-4e32-af96-043efe1182ea","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":474,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000); // cy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({ force: true }).then(() => {\n// cy.contains('Edit Columns').click({ force: true })\n// cy.get('#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":"5c682c2b-2522-4a37-808e-5491a850bccf","parentUUID":"d93aa54d-7734-4e32-af96-043efe1182ea","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5c682c2b-2522-4a37-808e-5491a850bccf"],"pending":[],"skipped":[],"duration":474,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"24e819b1-95b5-48d6-9cf9-1b1ce4ecb17b","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":"cc2a2562-0813-4fce-84e9-08854d0d9dba","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":469,"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":"3f43fa91-8a50-48e4-ba03-c92ced61cf5e","parentUUID":"cc2a2562-0813-4fce-84e9-08854d0d9dba","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f43fa91-8a50-48e4-ba03-c92ced61cf5e"],"pending":[],"skipped":[],"duration":469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"44b65148-ad6a-4b97-bcf8-39ae90026e80","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":"6b822999-7f36-418d-9523-92d504398542","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":493,"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":"1576a73a-f98f-4c98-a3d6-50c267f1e4f7","parentUUID":"6b822999-7f36-418d-9523-92d504398542","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1576a73a-f98f-4c98-a3d6-50c267f1e4f7"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"39b67a78-372f-45b6-bf1c-ef19a7b4dce7","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":"e77734f6-14f1-4bf2-b30d-765b83dd1f17","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":523,"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":"f1fc6967-cb8f-499a-ba2a-898b12833873","parentUUID":"e77734f6-14f1-4bf2-b30d-765b83dd1f17","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f1fc6967-cb8f-499a-ba2a-898b12833873"],"pending":[],"skipped":[],"duration":523,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f90cea20-c45b-47fc-9e4c-5aa19b21df11","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":"839b2ed2-9a4b-4076-bf68-125822f2e876","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":540,"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":"668d1fe8-d53d-4898-be34-f5b452d48ab4","parentUUID":"839b2ed2-9a4b-4076-bf68-125822f2e876","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["668d1fe8-d53d-4898-be34-f5b452d48ab4"],"pending":[],"skipped":[],"duration":540,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a6927f1-3448-47e0-bb77-636575fef480","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":"c6c0d6fc-e280-48b7-9cb1-a9d5736556f3","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":513,"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":"2b9f0edf-4fe5-48ba-9746-74710ea632c8","parentUUID":"c6c0d6fc-e280-48b7-9cb1-a9d5736556f3","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":12249,"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":"09b5163c-cdb4-4f65-97e5-dd821613d051","parentUUID":"c6c0d6fc-e280-48b7-9cb1-a9d5736556f3","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":4185,"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":"d184f21b-73bd-438c-914c-6e71f765b05e","parentUUID":"c6c0d6fc-e280-48b7-9cb1-a9d5736556f3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2b9f0edf-4fe5-48ba-9746-74710ea632c8","09b5163c-cdb4-4f65-97e5-dd821613d051","d184f21b-73bd-438c-914c-6e71f765b05e"],"pending":[],"skipped":[],"duration":16947,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98898fba-6181-4bf4-811f-35db2d5ddbd2","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":"97e9e64b-f5ef-42c0-bb50-fd985f694143","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":502,"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":"45da912a-85d9-40c9-b0bc-2b4f01edaf45","parentUUID":"97e9e64b-f5ef-42c0-bb50-fd985f694143","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["45da912a-85d9-40c9-b0bc-2b4f01edaf45"],"pending":[],"skipped":[],"duration":502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f8247bec-46c7-49e7-a08d-2ef054134a85","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":"78470d18-116c-46a5-99d9-4ae2dda0512f","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":4737,"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":"bb42ec53-d372-4b40-b4fb-8b72c3586617","parentUUID":"78470d18-116c-46a5-99d9-4ae2dda0512f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb42ec53-d372-4b40-b4fb-8b72c3586617"],"pending":[],"skipped":[],"duration":4737,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dbc10780-0515-44e0-bcb4-746a6cbac7dc","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":"c2c0da99-b756-4e30-a7da-9a973d47d8ee","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":4635,"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":"00f85f9f-c5bd-415f-b86e-95447a5d4f20","parentUUID":"c2c0da99-b756-4e30-a7da-9a973d47d8ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["00f85f9f-c5bd-415f-b86e-95447a5d4f20"],"pending":[],"skipped":[],"duration":4635,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"558c4c6c-91a2-4090-a89c-67b9c828affe","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":"c0341c9f-c9b2-4e8f-93a6-6eeb5f0f3541","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":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.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":"a85eff47-ac5a-4d19-9ed6-9c6e2d749727","parentUUID":"c0341c9f-c9b2-4e8f-93a6-6eeb5f0f3541","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a85eff47-ac5a-4d19-9ed6-9c6e2d749727"],"pending":[],"skipped":[],"duration":4547,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"75c3d099-bdae-4bdb-89f3-f625fd7f0109","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":"96a8fcaf-500b-453d-8410-353b99ec07f5","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":4545,"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":"ea0bd6d1-5ce0-4b79-ba13-664401cb2144","parentUUID":"96a8fcaf-500b-453d-8410-353b99ec07f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea0bd6d1-5ce0-4b79-ba13-664401cb2144"],"pending":[],"skipped":[],"duration":4545,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a927e9c7-73e9-4e95-bba8-09bac2726c53","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":"771f4c0d-7383-4354-8e0e-2de506125d2b","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":4729,"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":"07401af4-07f9-479d-9b7c-904a0532e5fe","parentUUID":"771f4c0d-7383-4354-8e0e-2de506125d2b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07401af4-07f9-479d-9b7c-904a0532e5fe"],"pending":[],"skipped":[],"duration":4729,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"04dea59d-3a51-4d54-8a25-9f619d51fe0e","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":"c2d273e5-b352-495b-8b87-f941882f7160","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":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.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":"0ad70765-547e-4200-be13-4136e0180605","parentUUID":"c2d273e5-b352-495b-8b87-f941882f7160","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0ad70765-547e-4200-be13-4136e0180605"],"pending":[],"skipped":[],"duration":4570,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"508ae1ad-faf6-4112-9196-672938ff1d26","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":"edd0e2bd-4e39-4808-af1d-9f2c7c1cfb4b","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":4697,"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":"adcc9d36-d4ee-47f6-81df-5f579b701f81","parentUUID":"edd0e2bd-4e39-4808-af1d-9f2c7c1cfb4b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["adcc9d36-d4ee-47f6-81df-5f579b701f81"],"pending":[],"skipped":[],"duration":4697,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8492631e-3452-4f1a-8808-d4b2be40593f","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":"6f5dc472-b8aa-4e34-9a9f-cb1d520a81c1","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":4592,"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":"57e6adc4-fb45-4cb7-92de-bf194f78ea33","parentUUID":"6f5dc472-b8aa-4e34-9a9f-cb1d520a81c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["57e6adc4-fb45-4cb7-92de-bf194f78ea33"],"pending":[],"skipped":[],"duration":4592,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ac9245db-d913-4c21-97a3-0d31f0687f26","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":"6bad813f-6cbc-4ac4-8c3a-47044d81d731","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":4860,"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":"232fa817-0641-4437-9ed3-10ec990c55f9","parentUUID":"6bad813f-6cbc-4ac4-8c3a-47044d81d731","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["232fa817-0641-4437-9ed3-10ec990c55f9"],"pending":[],"skipped":[],"duration":4860,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e8fb9145-7c49-458e-b6bc-7a3e32eb75c0","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":"7014df25-82f5-477b-95a5-3fca92f7e484","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":4563,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get(':nth-child(9) > .nav-link > .svg-inline--fa').click({\n force: true\n});\ncy.get(':nth-child(3) > .media > .media-body > a > .fs-0').contains('PaymentsFlow').then(function () {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(function (myLink) {\n cy.visit(myLink);\n });\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get('.ni-settings').click({\n force: true\n});\ncy.get('button[title=\"Edit\"]').click({\n force: true\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(function (trial) {\n if (trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('https://awais.subscriptionflow.com');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(function (image) {\n cy.get('.row img').its('length').then(function (len) {\n for (var i = 0; i < len; i++) {\n if (image[i].currentSrc.includes('https://awais.subscriptionflow.com/assets/images/payment-gateway-icons/list-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":"9fbe6bd5-d28f-46b6-a06a-4cb189a3acad","parentUUID":"7014df25-82f5-477b-95a5-3fca92f7e484","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9fbe6bd5-d28f-46b6-a06a-4cb189a3acad"],"pending":[],"skipped":[],"duration":4563,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b004ab15-1053-4654-8738-c04c4f5e1906","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":"fb622bb1-39fb-4bb7-ba66-ec2a9f064c22","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":4538,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.get('#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":"7ba18760-4478-4c47-8a4d-19b5325a45ce","parentUUID":"fb622bb1-39fb-4bb7-ba66-ec2a9f064c22","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7ba18760-4478-4c47-8a4d-19b5325a45ce"],"pending":[],"skipped":[],"duration":4538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8bbf68c8-497d-4ef6-b69f-6fe669d8afc8","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":"8570c248-4183-4316-a9c9-764521302396","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":4596,"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":"b95a80ca-a398-4fd2-91fc-60eda2690b7b","parentUUID":"8570c248-4183-4316-a9c9-764521302396","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b95a80ca-a398-4fd2-91fc-60eda2690b7b"],"pending":[],"skipped":[],"duration":4596,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b813126-b507-4b86-b042-a77a69a22713","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":"b7b94481-bb02-4762-b5e3-75bb46e44703","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":4531,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.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":"a9809d09-06b3-4d12-9087-8078feebe506","parentUUID":"b7b94481-bb02-4762-b5e3-75bb46e44703","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a9809d09-06b3-4d12-9087-8078feebe506"],"pending":[],"skipped":[],"duration":4531,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"35783339-fd67-4ee6-9a87-741025c0bb40","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":"a477078b-03bb-4253-9904-424a69367d8a","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":4552,"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":"a490cac9-da10-4de9-a958-5f7a1cc7fd52","parentUUID":"a477078b-03bb-4253-9904-424a69367d8a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a490cac9-da10-4de9-a958-5f7a1cc7fd52"],"pending":[],"skipped":[],"duration":4552,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ea0c83f4-b5ef-41d3-a0f9-61c30bbba48a","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":"e9804c54-a85f-4ebf-b59e-4cdec32ee1c2","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":4917,"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":"4955782c-6048-4649-bc07-1ec300c8ad25","parentUUID":"e9804c54-a85f-4ebf-b59e-4cdec32ee1c2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4955782c-6048-4649-bc07-1ec300c8ad25"],"pending":[],"skipped":[],"duration":4917,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a08656ea-680f-47f5-858b-8d8b96772ada","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":"95226f88-60b4-417e-90c6-4fe3ece45c96","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":4663,"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":"68e0fc26-5478-4a16-8e93-a1d34b320db8","parentUUID":"95226f88-60b4-417e-90c6-4fe3ece45c96","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["68e0fc26-5478-4a16-8e93-a1d34b320db8"],"pending":[],"skipped":[],"duration":4663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a4b9a9af-d3b6-44b6-9597-5c22a56b1d78","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":"6c5f6ba8-83c4-442e-b89d-548da44d8d70","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":4573,"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":"785b4014-ff5d-4685-a873-1ba362018a39","parentUUID":"6c5f6ba8-83c4-442e-b89d-548da44d8d70","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["785b4014-ff5d-4685-a873-1ba362018a39"],"pending":[],"skipped":[],"duration":4573,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"78ae6075-16ec-4428-b2f9-757b1ca27e98","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":"2006e91a-c7f6-4f6a-8e07-24084670ab70","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":4548,"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":"0d63f381-49cc-4bfa-a9a5-4899259c867e","parentUUID":"2006e91a-c7f6-4f6a-8e07-24084670ab70","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0d63f381-49cc-4bfa-a9a5-4899259c867e"],"pending":[],"skipped":[],"duration":4548,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1fb60b42-c4cb-4e99-993e-e5b41dfc63cd","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":"d0b74ad0-9eff-45eb-9519-8a23ebc93aed","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":4739,"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":"31a331f0-59c9-4540-bb55-12c710ad263f","parentUUID":"d0b74ad0-9eff-45eb-9519-8a23ebc93aed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31a331f0-59c9-4540-bb55-12c710ad263f"],"pending":[],"skipped":[],"duration":4739,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d030b9a0-a4da-4c95-94f7-0ef1687e6e68","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":"bc63b619-cf23-4f00-9df8-9b440f5b3a2d","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":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.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":"10f66a8c-d58d-4559-a010-3c8d6dc2ccc7","parentUUID":"bc63b619-cf23-4f00-9df8-9b440f5b3a2d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["10f66a8c-d58d-4559-a010-3c8d6dc2ccc7"],"pending":[],"skipped":[],"duration":4547,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a001127a-b37c-4524-ac27-786fe01e5696","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":"9e1b3657-5efd-4e12-9786-2f954308d03b","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":349,"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":"722af611-695c-4531-98af-d2f0b130779d","parentUUID":"9e1b3657-5efd-4e12-9786-2f954308d03b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["722af611-695c-4531-98af-d2f0b130779d"],"pending":[],"skipped":[],"duration":349,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c8628758-b020-420b-8138-9b9cd3dc1dcd","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":"ca66e47c-1782-44c7-aec9-a29dca8c4f6f","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":486,"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":"16eef2c5-e62f-416e-aee3-a17d7ff5299f","parentUUID":"ca66e47c-1782-44c7-aec9-a29dca8c4f6f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["16eef2c5-e62f-416e-aee3-a17d7ff5299f"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"583fd591-f935-40dc-83d9-927d4164c06b","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":"f46f81d3-5275-42a3-9257-105e2607a367","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":605,"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":"d65af1be-286f-494e-9433-46e77333bb8f","parentUUID":"f46f81d3-5275-42a3-9257-105e2607a367","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d65af1be-286f-494e-9433-46e77333bb8f"],"pending":[],"skipped":[],"duration":605,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"034ce32a-033b-44cb-855f-749fde0f8a26","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"39f475d6-1799-4ba6-81cd-0f8f8d0561d9","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":478,"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":"267d2b43-857e-48e4-92d9-8a151d78fe5c","parentUUID":"39f475d6-1799-4ba6-81cd-0f8f8d0561d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["267d2b43-857e-48e4-92d9-8a151d78fe5c"],"pending":[],"skipped":[],"duration":478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5537b465-8a27-4dd3-b354-30b7470e16ef","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"28a47f0f-91f3-4b93-8535-61c7246436ae","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":536,"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":"469230df-ae50-4418-8f5f-f14589e1a49d","parentUUID":"28a47f0f-91f3-4b93-8535-61c7246436ae","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["469230df-ae50-4418-8f5f-f14589e1a49d"],"pending":[],"skipped":[],"duration":536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a2eb786-4c1a-43c4-8fe3-1dc10714f4b6","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4880e4b9-f747-46ea-8ba0-2e890089578b","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":4777,"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":"ae691059-1c46-4f3a-a504-eebdfa02ace2","parentUUID":"4880e4b9-f747-46ea-8ba0-2e890089578b","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":4480,"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":"b637bab6-aa1f-4171-a10a-7439c767021d","parentUUID":"4880e4b9-f747-46ea-8ba0-2e890089578b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae691059-1c46-4f3a-a504-eebdfa02ace2","b637bab6-aa1f-4171-a10a-7439c767021d"],"pending":[],"skipped":[],"duration":9257,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed17a056-d5db-49c5-8484-d07755094c7d","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f57f1044-9051-47d7-b773-35847575c19f","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":377,"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":"2886c004-ecb3-4a11-a3f6-197bb666179d","parentUUID":"f57f1044-9051-47d7-b773-35847575c19f","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":488,"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":"9654bd6b-b603-47d3-8b8f-f1cf6ec04955","parentUUID":"f57f1044-9051-47d7-b773-35847575c19f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2886c004-ecb3-4a11-a3f6-197bb666179d","9654bd6b-b603-47d3-8b8f-f1cf6ec04955"],"pending":[],"skipped":[],"duration":865,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"36283d3e-fa2a-4cdc-b27f-e1d522b6dfd9","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":"aa3b9af1-b3e3-4e90-a27d-41cffd5a882c","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":533,"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":"80e10ec6-366d-4ca0-bf0e-c597dfea70f6","parentUUID":"aa3b9af1-b3e3-4e90-a27d-41cffd5a882c","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":"ea5113aa-f0a7-4724-8fc2-a791cba0ad23","parentUUID":"aa3b9af1-b3e3-4e90-a27d-41cffd5a882c","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":"1595c058-c8c8-41d7-95fe-d05a23861e26","parentUUID":"aa3b9af1-b3e3-4e90-a27d-41cffd5a882c","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":"9c57b62a-7616-48e9-bf76-f43e2c36245b","parentUUID":"aa3b9af1-b3e3-4e90-a27d-41cffd5a882c","isHook":false,"skipped":true}],"suites":[],"passes":[],"failures":["80e10ec6-366d-4ca0-bf0e-c597dfea70f6"],"pending":[],"skipped":["ea5113aa-f0a7-4724-8fc2-a791cba0ad23","1595c058-c8c8-41d7-95fe-d05a23861e26","9c57b62a-7616-48e9-bf76-f43e2c36245b"],"duration":533,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"19326324-3f08-493a-b4aa-9eabbb9f7c63","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":"1b32c30a-8b88-473f-84cc-ccca592233b9","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":508,"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":"baee7541-5c60-4284-a32d-3dd4d9839b3c","parentUUID":"1b32c30a-8b88-473f-84cc-ccca592233b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["baee7541-5c60-4284-a32d-3dd4d9839b3c"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ba1fed81-d075-44ba-abcf-3b49e2c99bd1","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":"772379fe-0e61-4244-a3e6-d5cc2729a1cd","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":486,"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":"61fb5c91-dd8b-4a83-914a-94a69b9843c5","parentUUID":"772379fe-0e61-4244-a3e6-d5cc2729a1cd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["61fb5c91-dd8b-4a83-914a-94a69b9843c5"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4a15d406-ff26-46f2-9424-a51fa9f89f31","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":"774da7ce-1ca9-4c6f-9109-0f8f3da371d1","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":480,"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":"f80b0fca-b51e-42b6-a687-9f2eb1b64a5b","parentUUID":"774da7ce-1ca9-4c6f-9109-0f8f3da371d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f80b0fca-b51e-42b6-a687-9f2eb1b64a5b"],"pending":[],"skipped":[],"duration":480,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7053a805-b238-462b-8a58-e0ae55ee15bc","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":"05945de8-6eeb-45a3-bf0a-802de0cceb77","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":507,"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":"b74e897f-2955-4e04-b924-055247fb43b7","parentUUID":"05945de8-6eeb-45a3-bf0a-802de0cceb77","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b74e897f-2955-4e04-b924-055247fb43b7"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4dd80286-9ba8-4404-a962-09a19e64c345","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":"0465f4da-d5c0-414d-a0ca-397ccbf57005","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","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(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":"aa33b046-ce3a-4151-8328-f95c861b285a","parentUUID":"0465f4da-d5c0-414d-a0ca-397ccbf57005","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["aa33b046-ce3a-4151-8328-f95c861b285a"],"pending":[],"skipped":[],"duration":484,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"16639ed6-f893-49e2-bd62-a35f5f3aea74","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":"cf65a524-2d24-49bc-9636-4ab0fafd4717","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":518,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(2) > .text-white').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.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":"92ebeff9-44a9-4339-9268-7fb4415f27b1","parentUUID":"cf65a524-2d24-49bc-9636-4ab0fafd4717","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["92ebeff9-44a9-4339-9268-7fb4415f27b1"],"pending":[],"skipped":[],"duration":518,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f70328f3-8d5f-4a32-957e-7359764cbee3","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":"b29e662d-aba7-4cce-846d-909b2ee7369a","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":472,"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":"9b1c7f0b-d3d7-45bd-89ed-cc671a393fc2","parentUUID":"b29e662d-aba7-4cce-846d-909b2ee7369a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9b1c7f0b-d3d7-45bd-89ed-cc671a393fc2"],"pending":[],"skipped":[],"duration":472,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"38bfa068-5985-4bf7-9c85-88273b0b41dc","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":"51b7f42b-c0bf-4bff-90b1-3c9c9a53b694","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":477,"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":"5a5c2c0e-836e-4766-8e2f-adead2cb046f","parentUUID":"51b7f42b-c0bf-4bff-90b1-3c9c9a53b694","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5a5c2c0e-836e-4766-8e2f-adead2cb046f"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4cd93d90-f496-4ce6-a743-c8d37435538a","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":"8af4f45e-1d77-4ea7-a54f-698efc45cb9d","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":605,"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":"0fba8993-ead6-4815-aff3-b38852a4d0d6","parentUUID":"8af4f45e-1d77-4ea7-a54f-698efc45cb9d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0fba8993-ead6-4815-aff3-b38852a4d0d6"],"pending":[],"skipped":[],"duration":605,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7c8bf3ec-66ac-44f7-b8d4-449d7534fca9","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":"2b1437e7-1160-46fb-8cab-0b5044297608","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":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n 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":"3b60c400-8f9a-4d09-9d58-7f430b527f1e","parentUUID":"2b1437e7-1160-46fb-8cab-0b5044297608","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3b60c400-8f9a-4d09-9d58-7f430b527f1e"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d99d5d88-da4e-4008-a4e9-90a4db341291","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":"d99d32e8-3d88-42b1-90c9-61c9f5e99a43","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":529,"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":"8fa15cc1-e2d0-473c-b52f-ac1d321d0b48","parentUUID":"d99d32e8-3d88-42b1-90c9-61c9f5e99a43","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8fa15cc1-e2d0-473c-b52f-ac1d321d0b48"],"pending":[],"skipped":[],"duration":529,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d6648ffc-95f8-4398-8a4d-7cb29d000931","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":"b6a0cbc3-f250-4b4a-b38d-a754af9f8391","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":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/04Add_Payment_CreditCard_Stripe.spec.js:101:8)","diff":null},"uuid":"949df528-6503-45c4-9b99-7b523ba19153","parentUUID":"b6a0cbc3-f250-4b4a-b38d-a754af9f8391","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["949df528-6503-45c4-9b99-7b523ba19153"],"pending":[],"skipped":[],"duration":478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"62f48035-a17b-4dce-aaf4-9125db694b56","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":"1236b9f0-16a7-4b2b-a3b4-87ad15ed4ce2","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":486,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[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":"a981f73f-7ff3-443e-9ee6-9fbebbf6c041","parentUUID":"1236b9f0-16a7-4b2b-a3b4-87ad15ed4ce2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a981f73f-7ff3-443e-9ee6-9fbebbf6c041"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67f19e35-737e-45e5-8d74-9b8accb727f5","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":"676ac187-5b5f-49f3-8f37-816c6fd4a150","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":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('[href=\"#PaymentMethod-subpanel').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n addPaymentMethod();\n 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":"9b0d590d-1537-4c28-84c2-5fa030b40859","parentUUID":"676ac187-5b5f-49f3-8f37-816c6fd4a150","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9b0d590d-1537-4c28-84c2-5fa030b40859"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"26199a6e-ec2a-45de-a121-ed8ea9f72aaf","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":"10e3eea2-4d5f-4cc5-a2f4-6feda7012739","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":477,"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":"ad11da5c-9cde-42f9-8812-ea1c423228d8","parentUUID":"10e3eea2-4d5f-4cc5-a2f4-6feda7012739","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ad11da5c-9cde-42f9-8812-ea1c423228d8"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3584a8ad-3361-4d69-b43c-21872b6d8613","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":"5e16d082-a5f7-4825-8616-d35860356295","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":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 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":"8f0f7c60-1b3c-4a92-a6fa-01d333903f28","parentUUID":"5e16d082-a5f7-4825-8616-d35860356295","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f0f7c60-1b3c-4a92-a6fa-01d333903f28"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"00ccc7be-7416-425a-a416-8a43aade0131","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":"7621fdc5-7e8c-4f50-88b2-40a568372f02","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":477,"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":"4968417c-6bd8-403e-b505-593e05c1b5ed","parentUUID":"7621fdc5-7e8c-4f50-88b2-40a568372f02","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4968417c-6bd8-403e-b505-593e05c1b5ed"],"pending":[],"skipped":[],"duration":477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3ef6ddaf-bede-4d52-a5d3-a131c0a6e849","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":"7ea2a265-bdd8-478c-8914-cad11927d9fb","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":516,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.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":"3ad140a6-1a91-4c51-a773-1e3bb2007074","parentUUID":"7ea2a265-bdd8-478c-8914-cad11927d9fb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ad140a6-1a91-4c51-a773-1e3bb2007074"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7e8f0d20-ba1f-40fa-9e0b-c8058aed4825","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":"04bcc54e-991b-4446-beb4-a79914dd9340","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":502,"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":"1760d15f-9d69-48ca-869c-f043bdee8e8d","parentUUID":"04bcc54e-991b-4446-beb4-a79914dd9340","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1760d15f-9d69-48ca-869c-f043bdee8e8d"],"pending":[],"skipped":[],"duration":502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c682d43e-8957-44e1-8fff-c91f967329c0","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":"17678b0f-b9a9-4d41-9f39-6d1d16cb6869","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":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('[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":"4065e68e-927f-4e7f-b711-f4f0f45c15df","parentUUID":"17678b0f-b9a9-4d41-9f39-6d1d16cb6869","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4065e68e-927f-4e7f-b711-f4f0f45c15df"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4f2238b5-ad8b-4cd1-8001-175d29fc5d9a","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":"5383114e-a310-4504-8d40-566d3940cc27","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":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('[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":"1eacae5b-20f9-4d3c-9270-2b2741eb73db","parentUUID":"5383114e-a310-4504-8d40-566d3940cc27","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1eacae5b-20f9-4d3c-9270-2b2741eb73db"],"pending":[],"skipped":[],"duration":519,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d46c302c-106c-46b9-9b9b-943e284c63af","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":"37a468b7-73a5-460b-bb09-d61c44fe710d","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":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('[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":"e306cb37-2ced-4ad5-b44d-1312d1f3581a","parentUUID":"37a468b7-73a5-460b-bb09-d61c44fe710d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e306cb37-2ced-4ad5-b44d-1312d1f3581a"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bffe2064-1a40-43fd-aad1-0bc047cb19be","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":"a89c523f-72c8-4697-bbf4-ae548af9a5c8","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":537,"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":"3e909a12-8ee3-43c2-869d-37554e814d54","parentUUID":"a89c523f-72c8-4697-bbf4-ae548af9a5c8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3e909a12-8ee3-43c2-869d-37554e814d54"],"pending":[],"skipped":[],"duration":537,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"12717ad4-f299-4278-80bf-19aa9ee2f5e2","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":"0fa0b56a-42f6-456f-82f3-5a6fef564186","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":511,"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":"cf6940c4-d750-4630-b1b1-c4a067e93bb3","parentUUID":"0fa0b56a-42f6-456f-82f3-5a6fef564186","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cf6940c4-d750-4630-b1b1-c4a067e93bb3"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e726ee2c-61a6-45e8-bd6d-2e4e43134c8e","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":"d5fa6c2f-5cba-4c76-92d7-0bc7069037b4","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":607,"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":"40cbfbe5-a755-47ce-9f35-229128b198a0","parentUUID":"d5fa6c2f-5cba-4c76-92d7-0bc7069037b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["40cbfbe5-a755-47ce-9f35-229128b198a0"],"pending":[],"skipped":[],"duration":607,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4a6f583c-d9a9-48fc-867b-8ae322ad7aae","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":"e9103261-cec3-4642-9331-4e315aef7293","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":496,"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":"764df288-51cc-4962-8cde-7e6f4739e217","parentUUID":"e9103261-cec3-4642-9331-4e315aef7293","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["764df288-51cc-4962-8cde-7e6f4739e217"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f50d260c-a963-4f47-aa82-b12e1154e0ba","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":"eb34cdfc-ec6c-4ff2-acb3-307ff59c6de1","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":555,"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":"97614208-4767-4bb4-92c0-b269a19192af","parentUUID":"eb34cdfc-ec6c-4ff2-acb3-307ff59c6de1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["97614208-4767-4bb4-92c0-b269a19192af"],"pending":[],"skipped":[],"duration":555,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3beb4db7-8d23-4c70-9744-ad94132297fc","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":"1c0a24d5-7bc2-4b4d-9ed8-7610f4248d65","title":"Allocate Credits using Existing Credit Notes","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When I allocate credits a transaction should be made","fullTitle":"Allocate Credits using Existing Credit Notes When I allocate credits a transaction should be made","timedOut":null,"duration":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('.row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(10000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(15000);\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.get('.btn-group > .btn').click({\n force: true\n});\ncy.get('[href=\"https://awais.subscriptionflow.com/en/invoices/process-payment/5e191737-d0df-45db-bfee-175c4f5ef640\"]').click({\n force: true\n});\ncy.url().should('contain', '/process-payment/');\ncy.get('.col > :nth-child(1) > h5').contains('Basic Information').should('be.visible'); // cy.get('.card-header').contains('Apply Payment').should('be.visible')\ncy.wait(7000);\ncy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n});\ncy.wait(8000);\ncy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n});\ncy.get('td').eq(5).then(function (balance) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(bal, {\n force: true\n });\n cy.get('#receive_amount').clear({\n force: true\n }).type(bal, {\n force: true\n });\n});\ncy.get('#reference').type('abc123', {\n force: true\n});\ncy.get('#description').type('This is a description', {\n force: true\n});\ncy.get('input[type=\"submit\"]').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#confirmation-modal button').contains('Yes').click({\n force: true\n});\ncy.wait(12000);\ncy.reload();\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.btn-dark').click({\n force: true\n});\ncy.wait(8000);\ncy.get('tbody > :nth-child(1) > :nth-child(1) > .btn').click({\n force: true\n});\ncy.wait(7000);\ncy.get('[wt-delete=\"product-row\"] .fa-times').eq(0).click({\n force: true\n});\ncy.get('[wt-more=\"product-row\"]').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Digital Magazine').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(3).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').first().click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/01Allocate_Existing_Credits.spec.js:104:8)","diff":null},"uuid":"cdbb7776-154f-4634-8865-216dc4ad1902","parentUUID":"1c0a24d5-7bc2-4b4d-9ed8-7610f4248d65","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cdbb7776-154f-4634-8865-216dc4ad1902"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d71a97e-4385-45e9-b992-09786578ec3a","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":"ac0cb178-1ccc-4056-82e5-2e2ccd8fd446","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":530,"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":"757d28db-e765-4b5f-b252-906ad0716d4a","parentUUID":"ac0cb178-1ccc-4056-82e5-2e2ccd8fd446","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["757d28db-e765-4b5f-b252-906ad0716d4a"],"pending":[],"skipped":[],"duration":530,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"025c91e1-495e-4f51-9f78-340a61e41a46","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":"bb9ad540-49f8-43d0-bf25-9a261c60e0b4","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":526,"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":"28822d81-9e62-4848-8907-14eb70f2eef0","parentUUID":"bb9ad540-49f8-43d0-bf25-9a261c60e0b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["28822d81-9e62-4848-8907-14eb70f2eef0"],"pending":[],"skipped":[],"duration":526,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"37f148c5-1eae-47a1-a71f-f4e229ebdf43","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":"1d15f7a7-35bd-412d-857c-e36c2ebdb7dc","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":507,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.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":"d13e71c0-0c48-43cc-9228-b8e4c4869a9e","parentUUID":"1d15f7a7-35bd-412d-857c-e36c2ebdb7dc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d13e71c0-0c48-43cc-9228-b8e4c4869a9e"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"58de8055-9930-46e9-a10f-2b3f3c26ad9d","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":"af7ac64c-0ddf-4cbf-9d62-41172e6058d1","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":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('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":"fef504f6-22cb-489b-a8c3-7916c92a2b7c","parentUUID":"af7ac64c-0ddf-4cbf-9d62-41172e6058d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fef504f6-22cb-489b-a8c3-7916c92a2b7c"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ab05a849-f03e-4660-9d71-17d6550516d7","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":"5eec0d09-54fe-4020-9b12-c5d49524a29b","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":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(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":"479d94f6-8585-4955-8ac7-3ff801002ce9","parentUUID":"5eec0d09-54fe-4020-9b12-c5d49524a29b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["479d94f6-8585-4955-8ac7-3ff801002ce9"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e1752bea-52c1-4d6f-9a0e-c8c7c40b0eee","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":"9ddb4e2c-e62c-4f89-a58e-49510cb041b4","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":511,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[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":"efc59bdd-15dd-4a24-a846-082388c93f92","parentUUID":"9ddb4e2c-e62c-4f89-a58e-49510cb041b4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["efc59bdd-15dd-4a24-a846-082388c93f92"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fbb1c68a-1d84-4581-894d-a472ff7297e8","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":"f24e2fa9-af19-400d-882c-d3fc784c1917","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":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('[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":"c397c635-aa9f-4820-964c-c429ea540dfe","parentUUID":"f24e2fa9-af19-400d-882c-d3fc784c1917","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c397c635-aa9f-4820-964c-c429ea540dfe"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2b36e0fa-9970-4900-bb6f-aa69ed7b5a32","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":"da780e9f-d256-45c5-af39-85d6fd4ca4c7","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":490,"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":"ac660158-a987-4221-894d-fa9bae71d278","parentUUID":"da780e9f-d256-45c5-af39-85d6fd4ca4c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ac660158-a987-4221-894d-fa9bae71d278"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"87bae538-1d0f-4163-8785-c5d84142fd9c","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":"729f7c00-1a6a-4906-8504-5c5046f06e91","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":516,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('.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":"7690f7cb-7bd9-4849-a2ae-7da66349a2b5","parentUUID":"729f7c00-1a6a-4906-8504-5c5046f06e91","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7690f7cb-7bd9-4849-a2ae-7da66349a2b5"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"981b458e-42d5-40c9-9b5a-779b13dd1950","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":"eeb9ea67-4567-4e1b-bea8-6b376ba4e978","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":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('[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":"0bd8035a-7058-40b5-a0c2-0907d6e2c056","parentUUID":"eeb9ea67-4567-4e1b-bea8-6b376ba4e978","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0bd8035a-7058-40b5-a0c2-0907d6e2c056"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c7d6a72-d4e9-49e3-8f21-b71c3fa0ca61","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":"dff07304-b077-4962-b208-57b7f5f905fd","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":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('.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":"48e6c181-354d-409c-ada2-38da5a566b05","parentUUID":"dff07304-b077-4962-b208-57b7f5f905fd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["48e6c181-354d-409c-ada2-38da5a566b05"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"33e3cd7b-c235-4206-8641-8718d945e9bd","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":"63397f2d-3831-4af7-8cc2-6805f78fc440","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":504,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Test Plan').click({\n force: true\n});\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(3000);\ncy.wait(8000);\ncy.reload();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction').then(function (element) {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n var trans1 = transaction1.text().replace(/[$€,]+/g, \"\");\n trans1 = parseFloat(trans1);\n allocateCredits(trans1);\n });\n } else {\n allocateCredits(0);\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/13Create_And_Allocate_Balance_Eq_Outstanding.spec.js:104:8)","diff":null},"uuid":"fcf662e0-b3cc-4a80-af5b-027b30873c3b","parentUUID":"63397f2d-3831-4af7-8cc2-6805f78fc440","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fcf662e0-b3cc-4a80-af5b-027b30873c3b"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3aa709ff-5fd0-4dc9-a5c2-8cf3c41c4516","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":"ac2f9001-22b7-4cf4-bbde-58a788b16905","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":512,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('button.btn-create').eq(1).click({\n force: true\n});\ncy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('div > [data-title=\"New Order\"]').contains('Order').click({\n force: true\n});\ncy.get('.form-group > .btn-primary').click({\n force: true\n});\ncy.wait(8000);\ncy.contains('Subscription Overview').should('be.visible');\ncy.get('#type-termed').should('be.checked');\ncy.get('#termed_initial_period-input').clear().type('12');\ncy.get('.container > .row > .col-md-12 > .btn-warning').click({\n force: true\n});\ncy.wait(5000);\ncy.get('tr').should('contain', 'Product');\ncy.get('tr').should('contain', 'Plan');\ncy.get('tr').should('contain', 'Coupon');\ncy.get('.select2-selection__rendered').eq(1).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').contains('Random Product').click({\n force: true\n});\ncy.get('.select2-selection__rendered').eq(2).click({\n force: true\n});\ncy.wait(7000);\ncy.get('.select2-results__options li').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":"59c782ab-99df-4508-8195-d8e6dedf7d76","parentUUID":"ac2f9001-22b7-4cf4-bbde-58a788b16905","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["59c782ab-99df-4508-8195-d8e6dedf7d76"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7556be99-9443-4a22-9282-46e9e52d0f88","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":"b71e16e5-a649-408a-a0cf-e4ea434f7a56","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":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.contains('Edit').click({\n force: true\n});\ncy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('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":"8e9a96f1-1e9e-462d-b191-d4cf00afe44a","parentUUID":"b71e16e5-a649-408a-a0cf-e4ea434f7a56","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8e9a96f1-1e9e-462d-b191-d4cf00afe44a"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b9fe6974-8a25-4d93-8748-bb6df5561e22","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":"62fb2966-f95b-48b8-b920-1c0a45890993","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":481,"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":"414b454b-4440-4460-b366-99a1ccd014cf","parentUUID":"62fb2966-f95b-48b8-b920-1c0a45890993","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["414b454b-4440-4460-b366-99a1ccd014cf"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"73397a1d-479f-4e08-8a64-5a81bae712e3","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":"ffe67383-fbcd-4e73-af96-9692cd140248","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":498,"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":"61d1c276-2858-4fdf-a535-d765d59df6a8","parentUUID":"ffe67383-fbcd-4e73-af96-9692cd140248","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["61d1c276-2858-4fdf-a535-d765d59df6a8"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48c26331-f118-407d-bb43-5518863bce31","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":"08eddc20-d552-4ced-ad4b-e41b955577f5","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":500,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(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":"c809510a-09df-4c29-bbc8-5f996add3086","parentUUID":"08eddc20-d552-4ced-ad4b-e41b955577f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c809510a-09df-4c29-bbc8-5f996add3086"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"663f848b-e66a-4f0e-aad1-0bf5cc540308","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":"c68c344c-fd31-4bac-9eca-48cedb567643","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":531,"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":"060bc40e-47a9-47af-8a72-b25c7f387937","parentUUID":"c68c344c-fd31-4bac-9eca-48cedb567643","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["060bc40e-47a9-47af-8a72-b25c7f387937"],"pending":[],"skipped":[],"duration":531,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e578eae0-9165-4548-ac82-075a54360b40","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":"6cb3be5a-ca88-4db6-9d00-cc6a7c909862","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":595,"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":"1b99c929-9c4a-4bf9-9979-00429aa8ec34","parentUUID":"6cb3be5a-ca88-4db6-9d00-cc6a7c909862","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1b99c929-9c4a-4bf9-9979-00429aa8ec34"],"pending":[],"skipped":[],"duration":595,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d216d448-e975-48bf-bd92-8a51211155a2","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":"b7a9d497-f9ef-4d08-9f32-c698c63da3b9","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":488,"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":"906a2b12-7910-40ce-8b84-fe065f6cf928","parentUUID":"b7a9d497-f9ef-4d08-9f32-c698c63da3b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["906a2b12-7910-40ce-8b84-fe065f6cf928"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"158c7bfe-e9fc-421f-ba07-b1326249fed4","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":"256a1021-dab9-4ac7-98b4-8eab0912de9e","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":510,"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":"0c3ac110-d3b2-4988-8b90-89b4cb509f79","parentUUID":"256a1021-dab9-4ac7-98b4-8eab0912de9e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0c3ac110-d3b2-4988-8b90-89b4cb509f79"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"869ba75b-7bc4-445d-9ca3-48d6d6967093","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":"94cc0caf-93f4-4bfb-91e4-0b8715c1631f","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":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('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":"2a5ecb3d-cd9f-46ba-84db-2b5168f2de63","parentUUID":"94cc0caf-93f4-4bfb-91e4-0b8715c1631f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a5ecb3d-cd9f-46ba-84db-2b5168f2de63"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"450e9ed2-75c4-4438-85f4-b028c828bba1","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":"8b310155-2461-4dbb-8e0f-9b6a0c07f58e","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":483,"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":"7188596f-2bf5-4c4f-85e0-4cb59c1d03e4","parentUUID":"8b310155-2461-4dbb-8e0f-9b6a0c07f58e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7188596f-2bf5-4c4f-85e0-4cb59c1d03e4"],"pending":[],"skipped":[],"duration":483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"95561cb0-f634-480f-ae7e-07a9cbacd38c","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":"32a9238f-95bd-459b-ad9a-0ca560fe44f7","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":496,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n 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":"14d6713c-06f1-4d6c-a60c-3ac8d23adab5","parentUUID":"32a9238f-95bd-459b-ad9a-0ca560fe44f7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["14d6713c-06f1-4d6c-a60c-3ac8d23adab5"],"pending":[],"skipped":[],"duration":496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1299374f-575e-4848-a7a8-c7dad4ec8942","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":"66157d1a-550e-453e-a647-7444d03a0cc2","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#related-table-transaction .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n cy.url().then(function (profURL) {\n cy.get('button.btn.detail-btn-bars').click({\n force: true\n });\n cy.get('ul li').contains('Process Payment').click({\n force: true\n });\n cy.url().should('contain', '/process-payment/');\n cy.get('.card-header').contains('Basic Information').should('be.visible');\n cy.get('.card-header').contains('Apply Payment').should('be.visible');\n cy.get('tbody td').then(function (invoicesamt) {\n if (invoicesamt.text().includes('No Unpaid or Overdue invoices found')) {\n cy.url().then(function (myUrl) {\n cy.visit(profURL);\n cy.contains('Edit').click({\n force: true\n });\n cy.get('#auto_charge-input').then(function (isChecked) {\n if (isChecked.prop('checked')) {\n cy.get(isChecked).click({\n force: true\n });\n }\n });\n cy.get('button.btn-create').eq(1).click({\n force: true\n });\n cy.location('pathname').then(function ($myPath) {\n if ($myPath.includes(\"/edit\")) {\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear({\n force: true\n }).type(rand + '@mail.com', {\n force: true\n });\n cy.get('.row > .col-md-12 > .btn-warning').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n cy.visit(myUrl);\n });\n }\n });\n });\n cy.wait(7000);\n cy.get('input[type=\"checkbox\"]').eq(0).click({\n force: true\n });\n cy.wait(8000);\n var newbal = 0;\n var status;\n cy.get('input[type=\"checkbox\"]').eq(1).click({\n force: true\n });\n cy.get('td').eq(5).then(function (balance) {\n cy.get('.inv_payment').eq(0).clear({\n force: true\n }).type(20, {\n force: true\n });\n cy.get('td').eq(1).then(function (invname) {\n var bal = balance.text().replace(/[$€,]+/g, \"\");\n bal = parseFloat(bal);\n if (bal < 20) {\n cy.get('.inv_payment').eq(0).should('have.value', bal);\n newbal = bal;\n status = \"Paid\";\n } else if (bal > 20) {\n newbal = 20;\n status = \"Partially Paid\";\n } else {\n newbal = 20;\n status = \"Paid\";\n }\n cy.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":"09a174cd-2a76-4ff6-82d9-3d862844db73","parentUUID":"66157d1a-550e-453e-a647-7444d03a0cc2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09a174cd-2a76-4ff6-82d9-3d862844db73"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9aa99e98-07f9-4124-a993-0330101a9a94","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":"dd1b056e-03e3-4014-bfaa-e99247dc1dad","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","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('#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":"6b199f90-a754-4930-8101-f5bade18e2ee","parentUUID":"dd1b056e-03e3-4014-bfaa-e99247dc1dad","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b199f90-a754-4930-8101-f5bade18e2ee"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6258b9b7-1b1c-44d1-87d4-aa096a7f788c","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":"5f784829-b9b4-4f86-9bcc-a8c8bd87f0e1","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":498,"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":"f2579a1a-1536-4c34-bb75-775c43861976","parentUUID":"5f784829-b9b4-4f86-9bcc-a8c8bd87f0e1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f2579a1a-1536-4c34-bb75-775c43861976"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e7ab4884-0ec4-4e9b-bb09-4013463a2a9c","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":"76983cf4-474f-423d-aa5b-ac3f37566a3d","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":511,"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":"2741905c-9dfe-4cff-a4ae-6da9b72cb6c2","parentUUID":"76983cf4-474f-423d-aa5b-ac3f37566a3d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2741905c-9dfe-4cff-a4ae-6da9b72cb6c2"],"pending":[],"skipped":[],"duration":511,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"afb4c977-47a6-4825-85c7-3cc172bcb86e","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":"4e835f46-fe45-4cb6-b571-629b7b988763","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":502,"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":"c05a1aa9-5f8e-45cf-a708-a5923397fba4","parentUUID":"4e835f46-fe45-4cb6-b571-629b7b988763","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c05a1aa9-5f8e-45cf-a708-a5923397fba4"],"pending":[],"skipped":[],"duration":502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"997bc678-7349-418d-9ad8-91d9a347e97f","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":"ce847577-5d22-48c4-b652-2ed4909a08e3","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":472,"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":"021fc77f-06d5-4f57-aacd-444d7dc03017","parentUUID":"ce847577-5d22-48c4-b652-2ed4909a08e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["021fc77f-06d5-4f57-aacd-444d7dc03017"],"pending":[],"skipped":[],"duration":472,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0038fcd9-c2f4-45bd-bf9d-f3ed3485ee86","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":"cce72cf8-f2fe-4f09-adb7-759a85adab34","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":483,"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":"2bd0f636-7104-4f07-a93a-e122ab4dcc52","parentUUID":"cce72cf8-f2fe-4f09-adb7-759a85adab34","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2bd0f636-7104-4f07-a93a-e122ab4dcc52"],"pending":[],"skipped":[],"duration":483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"371f7c6d-8ee9-41f9-ab71-6b9a2a6da870","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":"6111c750-bd9f-4971-bab1-5de3b1d13d17","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","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);\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":"c3e0836f-ec20-434b-b7d0-b22820a25949","parentUUID":"6111c750-bd9f-4971-bab1-5de3b1d13d17","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c3e0836f-ec20-434b-b7d0-b22820a25949"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9e02f65b-00e6-45c7-a3b7-128d9f4eb8a2","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":"8ea618a0-4352-4dcd-8326-0f3588fc03d3","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":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.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":"eb4c6186-16f8-42be-b827-09818189f81f","parentUUID":"8ea618a0-4352-4dcd-8326-0f3588fc03d3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eb4c6186-16f8-42be-b827-09818189f81f"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98b4a865-f7ae-4217-9869-19b237f3c8ae","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":"66ea11f7-658d-411d-855d-f3c1194cec7c","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","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);\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":"4e384645-7a39-41aa-8c63-db8dbc9a9e5e","parentUUID":"66ea11f7-658d-411d-855d-f3c1194cec7c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e384645-7a39-41aa-8c63-db8dbc9a9e5e"],"pending":[],"skipped":[],"duration":470,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"507103db-fce9-4376-b4b0-5eb317bc372a","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":"185a565a-e345-404a-83e7-d11c007a0e67","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":479,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"014fef4b-e89e-4d4d-a0d8-d923dd585686","parentUUID":"185a565a-e345-404a-83e7-d11c007a0e67","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["014fef4b-e89e-4d4d-a0d8-d923dd585686"],"pending":[],"skipped":[],"duration":479,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dd83a7b2-616b-40f2-bf3b-60f0df354114","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":"5c363808-642c-4321-b71c-2464e0da5657","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":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('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":"eacd1343-562e-4f28-acde-2b6ee720aec7","parentUUID":"5c363808-642c-4321-b71c-2464e0da5657","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eacd1343-562e-4f28-acde-2b6ee720aec7"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9fdb7447-fe0d-4e31-8f3c-d620aa2bce00","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":"c6313ebf-34da-4ddf-9126-f6442027dd99","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","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(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":"719af8e6-b11b-476e-b7ba-f1b826750ec0","parentUUID":"c6313ebf-34da-4ddf-9126-f6442027dd99","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["719af8e6-b11b-476e-b7ba-f1b826750ec0"],"pending":[],"skipped":[],"duration":516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7fba74ed-5adc-4ac5-bced-6005cf858699","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":"142844a5-cf17-4993-a1ce-79fce2de5bf9","title":"Filter customers by name","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Filters customers based on given condition","fullTitle":"Filter customers by name Filters customers based on given condition","timedOut":null,"duration":476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\nvar x = 0;\nvar y;\ncy.get('#search-form .scheck label').each(function (spans) {\n if (spans.text() == \"Name\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('.search_form_container ul li .scheckbox').eq(x).click({\n force: true\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').should('be.visible').select('is', {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('marygirl');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('Mary Girl', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('marygirl');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"contains\", {\n force: true\n });\n cy.get(y).type('Ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('ma');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"doesn't contain\", {\n force: true\n });\n cy.get(y).type('Ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.include('ma');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"starts with\", {\n force: true\n });\n cy.get(y).type('ma', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n var reg = /^ma/;\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"ends with\", {\n force: true\n });\n cy.get(y).type('an', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n var reg = /an$/;\n expect(normalizedelement).to.match(reg);\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"is empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.include('');\n });\n }\n });\n }\n });\n cy.get('.filerSelect [name=\"filter_condition[name]\"]').select(\"is not empty\", {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').its('length').then(function ($length) {\n for (var i = 0; i < $length - 1; i++) {\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').eq(i).then(function ($element) {\n var normalizedelement = normalizeText($element.text());\n expect(normalizedelement).to.not.eq('');\n });\n }\n });\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 404: Not Found\n\nThis was considered a failure because the status code was not `2xx`.\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159119:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:158495:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:159099:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8878:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/01filter_by_name.spec.js:105:8)","diff":null},"uuid":"f701638c-ecf1-4198-acb6-c88c0a6139af","parentUUID":"142844a5-cf17-4993-a1ce-79fce2de5bf9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f701638c-ecf1-4198-acb6-c88c0a6139af"],"pending":[],"skipped":[],"duration":476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5eee3beb-bf3f-401b-8632-89c497aef2fc","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":"6710776e-963e-414c-989d-946850a4b083","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":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('.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":"80e97129-9aa9-4291-8de7-40c7d5120745","parentUUID":"6710776e-963e-414c-989d-946850a4b083","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80e97129-9aa9-4291-8de7-40c7d5120745"],"pending":[],"skipped":[],"duration":529,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cd86d7e2-d2a5-43fb-98d2-8a18a9bc5205","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":"2a847d18-7a96-4263-9063-0a73e4e298fc","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":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('#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":"41d46053-fa2e-452c-95c8-56b8ab0ab992","parentUUID":"2a847d18-7a96-4263-9063-0a73e4e298fc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["41d46053-fa2e-452c-95c8-56b8ab0ab992"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f1b6946c-cf9d-4d02-8e17-fca2940abfde","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":"730924a1-080f-4938-bbce-4cdf8851e36d","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":459,"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":"b9148bd8-4681-4970-a19b-3a5d97acd0c1","parentUUID":"730924a1-080f-4938-bbce-4cdf8851e36d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b9148bd8-4681-4970-a19b-3a5d97acd0c1"],"pending":[],"skipped":[],"duration":459,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"11ad3cb0-bf86-4c93-82a9-4c5e292e7b45","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":"36e6487c-f27b-4ea1-a845-c00dcbf9c37f","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":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('.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":"2a45f3c7-2b08-45b8-9494-e62f62f476b9","parentUUID":"36e6487c-f27b-4ea1-a845-c00dcbf9c37f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a45f3c7-2b08-45b8-9494-e62f62f476b9"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e2d31a43-f0f5-4657-b107-55196213c82d","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":"4cf2b983-9628-4c10-97e9-e25a7ac86007","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":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('#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":"461bac49-f1eb-4243-96b5-5a2ec8bc2d91","parentUUID":"4cf2b983-9628-4c10-97e9-e25a7ac86007","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["461bac49-f1eb-4243-96b5-5a2ec8bc2d91"],"pending":[],"skipped":[],"duration":503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8a75c0fc-9c3f-4abc-a70b-b39f17da8b37","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":"13fc0a54-ec66-4cce-ba36-d4064e4e24f6","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":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('#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":"6f041e37-302a-46a4-810a-5b8dcdf44819","parentUUID":"13fc0a54-ec66-4cce-ba36-d4064e4e24f6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6f041e37-302a-46a4-810a-5b8dcdf44819"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ab52845d-31bc-449d-969c-4cbebe46989b","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":"46749a5a-24a7-4f8c-a324-83614377fd13","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":520,"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":"6901459d-f876-4586-a10e-765f5901dcb6","parentUUID":"46749a5a-24a7-4f8c-a324-83614377fd13","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6901459d-f876-4586-a10e-765f5901dcb6"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7c201cc9-ba28-42b2-8067-59e69a222252","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":"df2e333d-2b07-43b1-a5d8-8c265d9c2bee","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":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('#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":"869ae9fc-a086-43ee-9b9d-aa7f70a2c7ba","parentUUID":"df2e333d-2b07-43b1-a5d8-8c265d9c2bee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["869ae9fc-a086-43ee-9b9d-aa7f70a2c7ba"],"pending":[],"skipped":[],"duration":512,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d73bf95-289c-48cc-afe3-0cdf13f85e9b","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":"5bfd8fc0-76c6-4bbf-a89a-c5d2169d93d8","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":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('.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":"3a2d2a02-6854-48ce-9bd5-3eca190ac886","parentUUID":"5bfd8fc0-76c6-4bbf-a89a-c5d2169d93d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a2d2a02-6854-48ce-9bd5-3eca190ac886"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d51f14d-91a3-4b48-bf80-b3fb028ee246","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":"e39c5994-2045-4182-b845-87427765dcc6","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":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('#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":"01ead0f4-fdde-4746-8b65-ef206d38aecb","parentUUID":"e39c5994-2045-4182-b845-87427765dcc6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["01ead0f4-fdde-4746-8b65-ef206d38aecb"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aa735de3-d816-451c-a6ed-4aaca029dad8","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":"c2c5f834-52af-4bda-96d3-eabcc8b8bd58","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":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('.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":"8417c091-88dc-465e-81cf-b61563e60c55","parentUUID":"c2c5f834-52af-4bda-96d3-eabcc8b8bd58","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8417c091-88dc-465e-81cf-b61563e60c55"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"51a16626-68c6-41ce-8ad1-77d26d6bb628","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":"d2455e91-5ce4-459c-b9f2-507593788b29","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":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('#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":"4e416d6b-65ae-48ff-aac1-5854d60289de","parentUUID":"d2455e91-5ce4-459c-b9f2-507593788b29","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e416d6b-65ae-48ff-aac1-5854d60289de"],"pending":[],"skipped":[],"duration":510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c7248ac9-9caa-4250-a314-670d42d922f7","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":"f49acc2c-72eb-43e5-a23c-6f348194ac92","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":574,"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":"d5310b3e-027d-495a-a5e2-2b22382c768f","parentUUID":"f49acc2c-72eb-43e5-a23c-6f348194ac92","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d5310b3e-027d-495a-a5e2-2b22382c768f"],"pending":[],"skipped":[],"duration":574,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a0ecba0-412e-49ed-b257-8c76d44591cf","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":"1e25f686-0ebf-4b7b-a798-db528c305dd6","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":488,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.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":"638ace58-8d9d-4795-994c-5e865ac51b15","parentUUID":"1e25f686-0ebf-4b7b-a798-db528c305dd6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["638ace58-8d9d-4795-994c-5e865ac51b15"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0322c09b-6788-44f9-8756-0a771b7646c2","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":"fcbcbc1a-6fb4-4c37-8716-83a76f5160c4","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":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('.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":"a14a6d44-4a8a-4611-af7c-76a1ebf9962d","parentUUID":"fcbcbc1a-6fb4-4c37-8716-83a76f5160c4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a14a6d44-4a8a-4611-af7c-76a1ebf9962d"],"pending":[],"skipped":[],"duration":520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ff93589-3977-45c5-889f-b50025e575ca","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":"56e9bffe-c9bf-4bab-93d6-573accfebb3e","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":509,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.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":"a132b635-fe5b-4026-a9f5-0c2e9cca6708","parentUUID":"56e9bffe-c9bf-4bab-93d6-573accfebb3e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a132b635-fe5b-4026-a9f5-0c2e9cca6708"],"pending":[],"skipped":[],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"611df0c1-ef9e-4c52-88cc-a51589cc7276","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":"26c58cf8-ce16-4612-bcba-84ba4ac149c3","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":490,"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":"9be6d0e0-d82b-4772-98bb-61a54b594577","parentUUID":"26c58cf8-ce16-4612-bcba-84ba4ac149c3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9be6d0e0-d82b-4772-98bb-61a54b594577"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"844be590-ec6b-459c-83f6-a5547acde802","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":"e6fa3483-09e8-44fd-9201-8a12e6619dee","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":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('.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":"3f58303a-7b8a-40d0-8e6f-007f89f33a39","parentUUID":"e6fa3483-09e8-44fd-9201-8a12e6619dee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f58303a-7b8a-40d0-8e6f-007f89f33a39"],"pending":[],"skipped":[],"duration":522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c135d5b-9281-4583-8e23-a15fcfd5f312","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":"f41a03eb-e0bf-4eeb-9f06-a24a80504dfd","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":490,"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":"86791e01-f201-4825-aca5-19c4b189aa2f","parentUUID":"f41a03eb-e0bf-4eeb-9f06-a24a80504dfd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["86791e01-f201-4825-aca5-19c4b189aa2f"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"613aa6bd-d795-4286-b61c-d69fa037bb4b","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":"18c24be3-caa9-42ab-8d71-d18afab97c45","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":495,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"9ba3cf60-9fa5-4624-9408-5a5182e93d8e","parentUUID":"18c24be3-caa9-42ab-8d71-d18afab97c45","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9ba3cf60-9fa5-4624-9408-5a5182e93d8e"],"pending":[],"skipped":[],"duration":495,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f9882d1-9698-4d71-b9a5-0e412a174f4c","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":"414c86f7-1cb7-4955-976e-c27598c91d22","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":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"7ea0bca7-a8d5-4c47-af8d-44553e55b1d8","parentUUID":"414c86f7-1cb7-4955-976e-c27598c91d22","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7ea0bca7-a8d5-4c47-af8d-44553e55b1d8"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6088fdc-e0ab-406d-aaa1-4cd38a003a61","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":"432fad74-4c7c-4948-9b2f-82b20b19e1be","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":487,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"973ecad4-c2df-47ed-8b05-1c0234ca888f","parentUUID":"432fad74-4c7c-4948-9b2f-82b20b19e1be","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["973ecad4-c2df-47ed-8b05-1c0234ca888f"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ebc49f97-69fa-47df-bd37-0367734df6e3","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":"9fec16df-2aa3-49f4-94ea-4b090ca7593d","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":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('.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":"0bef31c6-1178-4d17-a046-bcbe1a4e7ebd","parentUUID":"9fec16df-2aa3-49f4-94ea-4b090ca7593d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0bef31c6-1178-4d17-a046-bcbe1a4e7ebd"],"pending":[],"skipped":[],"duration":506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d8eba57c-3da0-46a5-a5af-81cd458395b3","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":"5dc8bfff-2a6e-4f8c-87f7-6b5012acc0f9","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":498,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#shipping_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":"d75e9508-fd41-41d3-bdac-d42926173dee","parentUUID":"5dc8bfff-2a6e-4f8c-87f7-6b5012acc0f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d75e9508-fd41-41d3-bdac-d42926173dee"],"pending":[],"skipped":[],"duration":498,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"69af3f6c-defe-4dbe-bd7c-c3ddd514f18c","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":"95a78c38-d4b7-47f4-aa69-48e754bc3ad0","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":467,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.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":"0dc8f6c6-f888-43fa-bbc6-01c93f3bf30e","parentUUID":"95a78c38-d4b7-47f4-aa69-48e754bc3ad0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0dc8f6c6-f888-43fa-bbc6-01c93f3bf30e"],"pending":[],"skipped":[],"duration":467,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5c48aff-d487-4631-b71f-da04239414ed","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":"5e7a4328-8b0d-4800-93f5-56cc4eec2cf2","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":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"85743ddb-076f-4f84-af07-e4ebefdaac5d","parentUUID":"5e7a4328-8b0d-4800-93f5-56cc4eec2cf2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["85743ddb-076f-4f84-af07-e4ebefdaac5d"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d8a638da-fd4c-4cc6-bb0c-6277da93e310","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":"88b52144-f47c-4ef3-8f5e-bdb91696b8f8","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":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('.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":"2317d49d-0e59-4c58-a60a-8f98061d31e4","parentUUID":"88b52144-f47c-4ef3-8f5e-bdb91696b8f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2317d49d-0e59-4c58-a60a-8f98061d31e4"],"pending":[],"skipped":[],"duration":485,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55ccbd08-5c44-46f2-af84-da28a771eed2","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":"827a6f8e-9c12-41ad-b0e8-81e3453a3f1b","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":556,"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":"cd0cd97f-19db-4fae-a587-920570ec1650","parentUUID":"827a6f8e-9c12-41ad-b0e8-81e3453a3f1b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd0cd97f-19db-4fae-a587-920570ec1650"],"pending":[],"skipped":[],"duration":556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9fb0f599-1a38-4d0c-928a-cde38cbda450","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":"0978b380-ec6d-42da-a2e3-ab1b691b5fb2","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":480,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"b949f7b4-1d02-494b-a4bb-fffe09ae209b","parentUUID":"0978b380-ec6d-42da-a2e3-ab1b691b5fb2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b949f7b4-1d02-494b-a4bb-fffe09ae209b"],"pending":[],"skipped":[],"duration":480,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2c26a1e-bb9f-4a0c-b50f-ecd93b894f5b","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":"6ae852d9-5c9b-4acf-aa78-ec8ce6d16b9a","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":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#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":"d3b22867-6cea-4e54-8495-b70fb97b8249","parentUUID":"6ae852d9-5c9b-4acf-aa78-ec8ce6d16b9a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d3b22867-6cea-4e54-8495-b70fb97b8249"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"25b1e8ad-e24c-4050-b5b6-8448d1b331d9","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":"0bbf7354-0aba-40f5-a3a1-4132b2948d16","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":4869,"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":"df00a9d5-9e89-4586-8ebd-bdb7485f62a1","parentUUID":"0bbf7354-0aba-40f5-a3a1-4132b2948d16","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df00a9d5-9e89-4586-8ebd-bdb7485f62a1"],"pending":[],"skipped":[],"duration":4869,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e090ada3-c9ef-4ebb-bc3e-94055c1634e8","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":"d139c733-68cc-4bef-8b57-4e691c75f043","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":4603,"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":"9f160b0f-e49a-48b7-b69d-25ce24779c5e","parentUUID":"d139c733-68cc-4bef-8b57-4e691c75f043","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f160b0f-e49a-48b7-b69d-25ce24779c5e"],"pending":[],"skipped":[],"duration":4603,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c97b6b72-9d0e-4c12-b126-740e4126a629","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":"115336e3-440d-43c9-adfc-23d5bfc2d845","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":4555,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.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":"937ed58f-2304-42d1-9d9e-de99ffa667c7","parentUUID":"115336e3-440d-43c9-adfc-23d5bfc2d845","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["937ed58f-2304-42d1-9d9e-de99ffa667c7"],"pending":[],"skipped":[],"duration":4555,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"072e701c-f3cd-40d3-8892-6e1e52745c0b","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":"f3eec297-972a-48ad-bf7b-fb28b7be5f7d","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":4564,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('.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":"a41c4c57-f9d8-4b47-b4fb-eab11a607b3b","parentUUID":"f3eec297-972a-48ad-bf7b-fb28b7be5f7d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a41c4c57-f9d8-4b47-b4fb-eab11a607b3b"],"pending":[],"skipped":[],"duration":4564,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"104c60d9-9414-4abf-871c-551aa42ec6c6","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":"1cb317f8-7beb-4489-85cb-cadc1b913c3a","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":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.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":"cc8d55eb-00f4-4bc4-9252-18e045a28d30","parentUUID":"1cb317f8-7beb-4489-85cb-cadc1b913c3a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc8d55eb-00f4-4bc4-9252-18e045a28d30"],"pending":[],"skipped":[],"duration":4589,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4ca8aed9-6d3b-4e0d-985a-5687804892e5","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":"18d4df7e-0682-4996-be09-656486b3b6e3","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":4554,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n // cy.get('.nav-link').contains('More').click({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":"5a1d3f36-4298-449e-90eb-34b4c58b3418","parentUUID":"18d4df7e-0682-4996-be09-656486b3b6e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5a1d3f36-4298-449e-90eb-34b4c58b3418"],"pending":[],"skipped":[],"duration":4554,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"940a76b2-cccd-489b-88fb-e60132f9c118","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":"7b1edd83-91ee-4124-b252-132ed712219f","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":4577,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .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":"4e3338e5-0771-463e-bdc0-47c7320ac19f","parentUUID":"7b1edd83-91ee-4124-b252-132ed712219f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e3338e5-0771-463e-bdc0-47c7320ac19f"],"pending":[],"skipped":[],"duration":4577,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"efa1eeb9-473d-4a9a-81f5-0b83241b5c22","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":"9004014c-7aae-4ee3-b315-5b581a15594a","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":4567,"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":"808afcd5-5831-4f1b-adc1-a3461ecc3ada","parentUUID":"9004014c-7aae-4ee3-b315-5b581a15594a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["808afcd5-5831-4f1b-adc1-a3461ecc3ada"],"pending":[],"skipped":[],"duration":4567,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cf04b4f9-5d53-44f4-94bf-6cfcf5663a4a","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":"8c39fa8e-2b14-4e15-b222-8b574be82ed3","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":4578,"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":"73089157-8747-4583-a26f-ec8ba544ddb0","parentUUID":"8c39fa8e-2b14-4e15-b222-8b574be82ed3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["73089157-8747-4583-a26f-ec8ba544ddb0"],"pending":[],"skipped":[],"duration":4578,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"65ac6e49-343d-44e0-8a53-3b0deed195ae","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":"5718ca0d-30ae-40b0-9f31-888a579bf4cc","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":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.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":"fbda584d-84aa-4a56-80bc-8d6e34915b7f","parentUUID":"5718ca0d-30ae-40b0-9f31-888a579bf4cc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fbda584d-84aa-4a56-80bc-8d6e34915b7f"],"pending":[],"skipped":[],"duration":4571,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a3e7b6c8-e3c6-4b2a-8131-23cee75517f9","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":"824be94b-eb28-4df2-9234-28bdd1e62d87","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":4576,"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":"5f0300fa-b56c-40a5-960e-bb8d000abaa0","parentUUID":"824be94b-eb28-4df2-9234-28bdd1e62d87","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5f0300fa-b56c-40a5-960e-bb8d000abaa0"],"pending":[],"skipped":[],"duration":4576,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e53fe43d-8e43-41a4-9732-e73a90f8f901","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":"29a202e2-0b59-4280-b4f1-6f6ce671f7d7","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":4535,"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":"b2873259-f074-4391-abae-bd32ebc156c9","parentUUID":"29a202e2-0b59-4280-b4f1-6f6ce671f7d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2873259-f074-4391-abae-bd32ebc156c9"],"pending":[],"skipped":[],"duration":4535,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6102fd23-a823-41d5-9d55-89b918af4e02","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":"89b4d396-9fa4-4881-93a5-d4e5bef94c20","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":4510,"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":"3bbc0d92-2c8b-4276-8aa7-be33cd438750","parentUUID":"89b4d396-9fa4-4881-93a5-d4e5bef94c20","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3bbc0d92-2c8b-4276-8aa7-be33cd438750"],"pending":[],"skipped":[],"duration":4510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"541d5cdb-23ef-4237-bfbc-75cf093f831f","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":"1600329a-1fa0-4a88-82e0-b212e938efcb","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":4520,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get(':nth-child(1) > :nth-child(2) > .card-body > :nth-child(4) > .text-white').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.table-hover.table-sm.theme-revamp-table.verticaly-middle--td tbody tr').each(function (element) {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('#tax_table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#currency-default-verify-button').click({\n force: true\n });\n cy.wait(8000);\n }\n } else {\n if (element.text().includes('Make Default')) {\n x = x + 1;\n }\n }\n});\ncy.contains('Customers').click({\n force: true\n});\ncy.url().should('include', '/customers');\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(function () {\n cy.wait(10000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(function (cust) {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n });\n});\ncy.get('[href=\"#Order-subpanel\"]').contains(' Orders ').click({\n force: true\n});\ncy.get('#related-table-order .recordsCount small').then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .recordsCount small').then(function (invoice1) {\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').then(function ($myElement) {\n if ($myElement.is(\":hidden\")) {\n cy.wait(8000);\n cy.get('.fa.fa-bars').click({\n force: true\n }).then(function () {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(function () {\n cy.get('#nav-configuration').click({\n force: true\n });\n });\n });\n }\n });\n cy.wait(10000);\n cy.get('.nav-link').contains('More').click({\n force: true\n });\n cy.get('[aria-labelledby=\"navbarDropdown\"]').contains('Orders').click({\n force: true\n });\n cy.url().should('include', '/orders');\n cy.get('.form-group > .btn-primary').should('be.visible');\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"]').click({\n force: true\n });\n cy.get('[data-sfuniqueid=\"navbar__quick-create\"] .dropdown-menu').contains('Order').click({\n force: true\n });\n cy.url().should('include', '/en/orders/create');\n cy.get('#select2-customer_id-input-container').click({\n force: true\n });\n cy.wait(8000);\n cy.get('.select2-search__field').type('Andy Barymore');\n cy.wait(10000);\n cy.get('#select2-customer_id-input-results li').contains('Andy Barymore').click({\n force: true\n });\n cy.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":"c2a887c8-47df-4353-9ce1-02f045b1e340","parentUUID":"1600329a-1fa0-4a88-82e0-b212e938efcb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c2a887c8-47df-4353-9ce1-02f045b1e340"],"pending":[],"skipped":[],"duration":4520,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"743010a9-828c-43fd-8b33-8ff9b46a9a64","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":"8f8a2904-e389-44e5-8820-c9706bf8e186","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":348,"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":"f638035a-580e-42df-bee0-dbf14a07b59c","parentUUID":"8f8a2904-e389-44e5-8820-c9706bf8e186","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f638035a-580e-42df-bee0-dbf14a07b59c"],"pending":[],"skipped":[],"duration":348,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f3cd152-0fe0-4ec1-b45a-051f44d075c5","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":"2b87b844-9e3c-4ffa-9555-5137b195b96c","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":514,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\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":"89ac48f7-1bb4-4992-b70d-678c4eeb267d","parentUUID":"2b87b844-9e3c-4ffa-9555-5137b195b96c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["89ac48f7-1bb4-4992-b70d-678c4eeb267d"],"pending":[],"skipped":[],"duration":514,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7071e84b-ca51-4de7-80aa-bdf56a4c7f54","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":"990cfdea-ec9c-456a-bf2f-8139ddb56039","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":481,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\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":"7f54994f-28c1-4920-a814-ce9075ab47ca","parentUUID":"990cfdea-ec9c-456a-bf2f-8139ddb56039","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7f54994f-28c1-4920-a814-ce9075ab47ca"],"pending":[],"skipped":[],"duration":481,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc3a5ec1-0697-405c-a928-8c1a693f8498","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":"1fddab48-7f98-42a0-8499-3428852c51a7","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":500,"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":"6e703ee5-a722-4f7f-98d0-63c1717eb9a8","parentUUID":"1fddab48-7f98-42a0-8499-3428852c51a7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6e703ee5-a722-4f7f-98d0-63c1717eb9a8"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6651312e-9cf6-47f2-a423-2dc637aa9d38","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":"8bd06d46-2fb1-49fc-8a26-e65153865efb","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":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);\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":"a9dd4db8-c269-4b0f-ae6f-f31623ead8ec","parentUUID":"8bd06d46-2fb1-49fc-8a26-e65153865efb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a9dd4db8-c269-4b0f-ae6f-f31623ead8ec"],"pending":[],"skipped":[],"duration":487,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6389ded-9a08-4576-acab-0e2e026d5ea5","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":"e87d5ab0-019f-42bf-80b4-7feb3c1a3463","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":507,"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":"7a82c869-68f8-4b92-b825-63ecfcc7d1c9","parentUUID":"e87d5ab0-019f-42bf-80b4-7feb3c1a3463","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7a82c869-68f8-4b92-b825-63ecfcc7d1c9"],"pending":[],"skipped":[],"duration":507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"306dbd5c-2f1f-4386-b037-e3ab6685a509","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":"66fdf605-4510-436a-9522-2604c038a5ac","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":508,"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":"2eadf526-0dd7-48e8-a53b-d492237e350b","parentUUID":"66fdf605-4510-436a-9522-2604c038a5ac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2eadf526-0dd7-48e8-a53b-d492237e350b"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"10025c9a-778d-4aed-a597-99354b8c978d","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":"280bc8aa-9223-4716-a045-a0a859bef22b","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":529,"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":"17daef3f-41ba-4428-a710-061464ef3bf6","parentUUID":"280bc8aa-9223-4716-a045-a0a859bef22b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["17daef3f-41ba-4428-a710-061464ef3bf6"],"pending":[],"skipped":[],"duration":529,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fc07a90d-f8d3-4098-a3fa-9336177b95fd","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":"e4b28a2d-ac65-4ad8-b375-3a4512ea322c","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":604,"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":"8e6c1cf5-0fc5-4ee3-abb6-d05687582d0a","parentUUID":"e4b28a2d-ac65-4ad8-b375-3a4512ea322c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8e6c1cf5-0fc5-4ee3-abb6-d05687582d0a"],"pending":[],"skipped":[],"duration":604,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b78e6145-19c4-4c23-9c68-5fd5fc2dfbad","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":"ef7c0079-9860-4aba-8412-53a50c5e84ca","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":493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\ncy.get('[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":"228c097c-2be7-422a-8e4e-386351f91984","parentUUID":"ef7c0079-9860-4aba-8412-53a50c5e84ca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["228c097c-2be7-422a-8e4e-386351f91984"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"334292ca-6887-4a05-81b8-ca7442f78cb6","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":"5a1b6d52-972c-43d6-8dd5-6b6c58a30c24","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":509,"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":"08d54e75-193d-442d-b838-93bf8dbf8cdf","parentUUID":"5a1b6d52-972c-43d6-8dd5-6b6c58a30c24","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["08d54e75-193d-442d-b838-93bf8dbf8cdf"],"pending":[],"skipped":[],"duration":509,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"106e47f2-9d2d-42ec-ae9d-0557d44be1ee","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":"87e29224-a099-4e90-86dd-3400b4838c6d","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":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.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":"02bcda27-5297-499d-905a-f339d0b6db35","parentUUID":"87e29224-a099-4e90-86dd-3400b4838c6d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["02bcda27-5297-499d-905a-f339d0b6db35"],"pending":[],"skipped":[],"duration":523,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a81433a8-b090-4306-a84c-5f561a4f45f8","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":"3314db60-da06-4771-9316-ccb2f3397c52","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":491,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(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":"9f726275-ebf3-4f5e-a594-dac04042114e","parentUUID":"3314db60-da06-4771-9316-ccb2f3397c52","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f726275-ebf3-4f5e-a594-dac04042114e"],"pending":[],"skipped":[],"duration":491,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cefa3909-f3a5-44e4-a433-970784b54c9a","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":"d7b7d9fa-faa8-4e4e-ad75-200b88e5293a","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":482,"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":"110ea7c8-595c-4fc5-8a00-9e760124a946","parentUUID":"d7b7d9fa-faa8-4e4e-ad75-200b88e5293a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["110ea7c8-595c-4fc5-8a00-9e760124a946"],"pending":[],"skipped":[],"duration":482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb192e32-1a94-4cd6-9a2b-3475d1727bd9","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":"97bb0ec3-435d-486c-bcdb-a3dd69c76c02","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":467,"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":"2422e6a8-0bcf-4f58-b85a-26233c4de3a0","parentUUID":"97bb0ec3-435d-486c-bcdb-a3dd69c76c02","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2422e6a8-0bcf-4f58-b85a-26233c4de3a0"],"pending":[],"skipped":[],"duration":467,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c6537a54-dcd2-4f9b-8b6e-38d5de9783a0","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":"e76abd42-c34e-484a-8783-b566bebd188a","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":504,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#name').click({\n force: true\n });\n cy.get('#push_right').click({\n force: true\n });\n cy.get('button[onclick=\"javascript:update_list_view_main(this.form.id)\"]').click({\n force: true\n });\n});\ncy.wait(10000);\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":"9e49a0f5-b66b-42b5-a0d9-aac428642735","parentUUID":"e76abd42-c34e-484a-8783-b566bebd188a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9e49a0f5-b66b-42b5-a0d9-aac428642735"],"pending":[],"skipped":[],"duration":504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c4b6f0b0-71a2-427b-bc71-00a1f6a66377","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":"159af5db-fb57-4b09-af87-9c7dd6c2949d","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","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('[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":"b1877e1d-e1fc-4158-852c-a130c62296eb","parentUUID":"159af5db-fb57-4b09-af87-9c7dd6c2949d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b1877e1d-e1fc-4158-852c-a130c62296eb"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0c5d324-8915-44df-8f9c-463d1d3fddb3","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":"c7265eac-b424-47f2-bb4a-dac86a14666f","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":519,"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":"8544ff9e-9280-46bd-8310-59d2d7a3ca2e","parentUUID":"c7265eac-b424-47f2-bb4a-dac86a14666f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8544ff9e-9280-46bd-8310-59d2d7a3ca2e"],"pending":[],"skipped":[],"duration":519,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"132d64cc-d8c7-4ec9-9f54-bada4f1c453d","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":"77284e0d-912b-4c62-8e3c-2e73471fbcc1","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":934,"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":"85c19e14-1820-4f1a-8869-00a080a38515","parentUUID":"77284e0d-912b-4c62-8e3c-2e73471fbcc1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["85c19e14-1820-4f1a-8869-00a080a38515"],"pending":[],"skipped":[],"duration":934,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c44a789a-3c60-4e68-b6e3-b8d9ebb349bc","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":"e8c7d3ea-eac4-407f-8952-03920200f704","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":4862,"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":"07048cac-f7ef-442e-8521-02b7071dc097","parentUUID":"e8c7d3ea-eac4-407f-8952-03920200f704","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07048cac-f7ef-442e-8521-02b7071dc097"],"pending":[],"skipped":[],"duration":4862,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8748848f-d98f-4f1a-b27b-d3b2b84f6c85","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":"fd5642d7-e7a9-43cb-bf7a-fe9e1288455d","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":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(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":"e6d975bf-20f3-424c-945c-a2d32eb390fa","parentUUID":"fd5642d7-e7a9-43cb-bf7a-fe9e1288455d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e6d975bf-20f3-424c-945c-a2d32eb390fa"],"pending":[],"skipped":[],"duration":4542,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d4a3e32-9537-44a4-bab1-b22cba9d6b9f","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":"941fe733-1e24-49bf-ab2b-2f435f4556ef","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":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(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":"5244ede0-8858-4e45-9f2c-470375ce300e","parentUUID":"941fe733-1e24-49bf-ab2b-2f435f4556ef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5244ede0-8858-4e45-9f2c-470375ce300e"],"pending":[],"skipped":[],"duration":4562,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae65f932-84b1-408a-baad-8b535271f624","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":"dbf1ed84-1c6a-4386-8951-4e0c5167fbcf","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":334,"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":"81aac254-cbf2-40fb-8883-7355d90f975e","parentUUID":"dbf1ed84-1c6a-4386-8951-4e0c5167fbcf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["81aac254-cbf2-40fb-8883-7355d90f975e"],"pending":[],"skipped":[],"duration":334,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cfe2ed76-5129-488f-b4e6-22c8d81fc3e6","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":"267bdf2e-a560-4a93-9813-51f4a11c2e7b","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":525,"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":"944c3515-84e4-4e47-854b-41ee02cae814","parentUUID":"267bdf2e-a560-4a93-9813-51f4a11c2e7b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["944c3515-84e4-4e47-854b-41ee02cae814"],"pending":[],"skipped":[],"duration":525,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e11b8d15-17bf-4a5c-93d9-1a30d0a6630a","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":"dfa6827c-2a45-4c59-92f1-0d3059c0d830","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":502,"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":"249f743a-2381-4d9b-9f02-3bfa863fffdf","parentUUID":"dfa6827c-2a45-4c59-92f1-0d3059c0d830","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["249f743a-2381-4d9b-9f02-3bfa863fffdf"],"pending":[],"skipped":[],"duration":502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d90581e6-4566-40ea-8f6d-2272ca080187","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":"07698e46-1541-465b-b00f-b937a523a673","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":488,"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":"119e71be-a05c-4db4-9e7d-f7c4427e2b99","parentUUID":"07698e46-1541-465b-b00f-b937a523a673","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["119e71be-a05c-4db4-9e7d-f7c4427e2b99"],"pending":[],"skipped":[],"duration":488,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"68bdb5e3-7141-421a-8675-8a0819200dad","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":"eab8dd20-ff7d-44a0-b8b9-1ef5122905de","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":527,"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":"785867a3-e086-4e06-bf22-8053ff7977f4","parentUUID":"eab8dd20-ff7d-44a0-b8b9-1ef5122905de","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["785867a3-e086-4e06-bf22-8053ff7977f4"],"pending":[],"skipped":[],"duration":527,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c60eb8a6-847c-491d-8f97-398e3fec89a7","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":"5e8f8a0d-577c-4997-aed1-3ca5ca1184d1","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":489,"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":"238007db-4c67-44ed-a6cf-dd75b4b8af9f","parentUUID":"5e8f8a0d-577c-4997-aed1-3ca5ca1184d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["238007db-4c67-44ed-a6cf-dd75b4b8af9f"],"pending":[],"skipped":[],"duration":489,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66afe358-f2cb-45cb-ba9f-97dd5bd10dfd","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":"452e44f8-c2aa-4c4e-a506-c8e6276bf8ff","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":581,"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":"c7b8e161-67d7-4ef4-9e4a-c276d61c1d8e","parentUUID":"452e44f8-c2aa-4c4e-a506-c8e6276bf8ff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c7b8e161-67d7-4ef4-9e4a-c276d61c1d8e"],"pending":[],"skipped":[],"duration":581,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9e191d8e-8299-405d-8a56-a40a3cd1d039","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":"7195173a-e371-41f5-80bd-7e0eaccfd3f8","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":486,"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":"78cf603c-75ff-4f2a-8e72-aa5aa442aaca","parentUUID":"7195173a-e371-41f5-80bd-7e0eaccfd3f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["78cf603c-75ff-4f2a-8e72-aa5aa442aaca"],"pending":[],"skipped":[],"duration":486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5ba12a02-b99b-4809-a6a5-576a9552d21b","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":"eaa98ca8-5a71-4455-913e-30f2eed13956","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":478,"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":"efce3072-77e9-4195-89ea-9e600806288a","parentUUID":"eaa98ca8-5a71-4455-913e-30f2eed13956","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["efce3072-77e9-4195-89ea-9e600806288a"],"pending":[],"skipped":[],"duration":478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43d76ba8-295c-4900-8dad-54bcdf585fc1","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":"1fb86496-b0bf-43de-a65e-de37d8beee02","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","timedOut":null,"duration":483,"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":"13876323-dd97-4829-a5c2-b95e0acc4017","parentUUID":"1fb86496-b0bf-43de-a65e-de37d8beee02","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["13876323-dd97-4829-a5c2-b95e0acc4017"],"pending":[],"skipped":[],"duration":483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5a31de41-0ad3-4e83-8f52-26155da5f503","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":"93580dbe-76a2-4b52-8cf3-f53af7c37b27","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":501,"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":"dbc1707e-e50d-437f-bc58-4326198a7740","parentUUID":"93580dbe-76a2-4b52-8cf3-f53af7c37b27","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dbc1707e-e50d-437f-bc58-4326198a7740"],"pending":[],"skipped":[],"duration":501,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed01439e-4061-4b3e-b190-783f5d0f904c","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":"13490c64-b1fe-4847-a33c-d7619cb2f294","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":513,"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":"ccca0ee5-4863-4b42-9aeb-392bd6c467da","parentUUID":"13490c64-b1fe-4847-a33c-d7619cb2f294","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ccca0ee5-4863-4b42-9aeb-392bd6c467da"],"pending":[],"skipped":[],"duration":513,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48bec290-26fa-4e2f-9f3a-54ac0f8c3c46","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":"7c28434d-cbeb-40a5-8885-25fda7b4d774","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":497,"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":"c0fc7364-2dbe-4aeb-be55-65756649ba75","parentUUID":"7c28434d-cbeb-40a5-8885-25fda7b4d774","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c0fc7364-2dbe-4aeb-be55-65756649ba75"],"pending":[],"skipped":[],"duration":497,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e1bdcefb-edf9-4a96-ab2b-2e7ec91171fb","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":"b70264ed-3b8e-4111-a90c-f95226291598","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":500,"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":"631f9ed1-514b-48b4-8348-98ee3b33781b","parentUUID":"b70264ed-3b8e-4111-a90c-f95226291598","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["631f9ed1-514b-48b4-8348-98ee3b33781b"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4adc0dff-b216-4324-9ab5-b94de099f43f","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":"2ca4fe87-a994-4568-a661-fb9ced01b9fe","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":"fabf5c98-1646-4f2f-abc1-699901728c80","parentUUID":"2ca4fe87-a994-4568-a661-fb9ced01b9fe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fabf5c98-1646-4f2f-abc1-699901728c80"],"pending":[],"skipped":[],"duration":505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6d01bcc9-6a96-41f8-98ad-3e967184c49a","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":"06574cf9-9081-4330-a548-3d6fca6a3046","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":500,"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":"99f3d7b6-464a-4bd3-939f-988ae9fba848","parentUUID":"06574cf9-9081-4330-a548-3d6fca6a3046","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["99f3d7b6-464a-4bd3-939f-988ae9fba848"],"pending":[],"skipped":[],"duration":500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9f6c12a9-98d0-4f89-83a9-dee2c5b0ed61","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":"95acf53c-dcdc-498e-a74b-3e945ffeedea","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":493,"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":"374c6fe6-b9b1-498c-a93e-0c2d5d51e5ce","parentUUID":"95acf53c-dcdc-498e-a74b-3e945ffeedea","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["374c6fe6-b9b1-498c-a93e-0c2d5d51e5ce"],"pending":[],"skipped":[],"duration":493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c7e9b211-0e01-4d99-b724-b51bb68991cd","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":"37e49f0d-7ece-4c0d-8d9f-3ee1e281ee07","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":523,"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":"2128adb1-8724-43ca-8aef-37ca51913f8d","parentUUID":"37e49f0d-7ece-4c0d-8d9f-3ee1e281ee07","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2128adb1-8724-43ca-8aef-37ca51913f8d"],"pending":[],"skipped":[],"duration":523,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6b4bea61-3390-4bab-969d-2362a30d17a1","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":"8cc3b595-c76f-4f8b-afd0-f51e371c82d9","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":490,"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":"afa18b8d-cfcd-47aa-a28f-14f316b4c3fc","parentUUID":"8cc3b595-c76f-4f8b-afd0-f51e371c82d9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["afa18b8d-cfcd-47aa-a28f-14f316b4c3fc"],"pending":[],"skipped":[],"duration":490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cf145604-f8bc-433d-9ff5-95cbcbb33057","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":"ae19a919-98a9-465d-af0f-d74f785cc653","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":518,"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":"7f09671e-8fc8-4f3d-9288-187e6a1d9d86","parentUUID":"ae19a919-98a9-465d-af0f-d74f785cc653","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7f09671e-8fc8-4f3d-9288-187e6a1d9d86"],"pending":[],"skipped":[],"duration":518,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3c5c0d48-a495-4826-9c1b-39754f3607c3","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":"209888f1-96d8-48be-a5d4-2d36bcbf7542","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":515,"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":"7b0f3a8f-21ba-4bc2-a606-34fc5d6456c8","parentUUID":"209888f1-96d8-48be-a5d4-2d36bcbf7542","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7b0f3a8f-21ba-4bc2-a606-34fc5d6456c8"],"pending":[],"skipped":[],"duration":515,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5837475-c880-4fbe-a813-8327fa04b647","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":"257dece5-3deb-474a-9d99-56643796c012","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":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/13-pay-invoice-with-paypal-using-process-payment.js:104:8)","diff":null},"uuid":"de6531ba-406f-4bc2-8b73-64727888a1e8","parentUUID":"257dece5-3deb-474a-9d99-56643796c012","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["de6531ba-406f-4bc2-8b73-64727888a1e8"],"pending":[],"skipped":[],"duration":508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5aa84b81-6e0b-42e9-83c1-ec96f0f65ee5","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":"9d80661f-2282-4567-b602-bb2c88974a7b","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":4719,"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":"3a30ef21-c26e-47c5-89b7-e01a5d64df2a","parentUUID":"9d80661f-2282-4567-b602-bb2c88974a7b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3a30ef21-c26e-47c5-89b7-e01a5d64df2a"],"pending":[],"skipped":[],"duration":4719,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1268ea4b-c44e-4246-a2a8-02a696ca5255","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":"11dc57e6-dad9-440c-9ef2-9fc19c95a113","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":4601,"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":"1f051ba0-9913-49ba-ab18-60918aace811","parentUUID":"11dc57e6-dad9-440c-9ef2-9fc19c95a113","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1f051ba0-9913-49ba-ab18-60918aace811"],"pending":[],"skipped":[],"duration":4601,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"32c96cc7-caa3-4320-89e1-e341aa112496","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"22fe9a3a-adc9-46de-9906-2ec6b51f2764","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":320,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{},"uuid":"61af1573-3b9e-4de2-8c4d-cd4bba9ef033","parentUUID":"22fe9a3a-adc9-46de-9906-2ec6b51f2764","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":4231,"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":"362ca850-8cbe-41a0-abb9-0de3a3483560","parentUUID":"22fe9a3a-adc9-46de-9906-2ec6b51f2764","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":4179,"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":"f14a5a65-9a3a-41ee-b3aa-c97fa675ce5d","parentUUID":"22fe9a3a-adc9-46de-9906-2ec6b51f2764","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":130,"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":"91b0f83c-d786-49b3-bd7b-c32bd1f03848","parentUUID":"22fe9a3a-adc9-46de-9906-2ec6b51f2764","isHook":false,"skipped":false}],"suites":[],"passes":["61af1573-3b9e-4de2-8c4d-cd4bba9ef033","91b0f83c-d786-49b3-bd7b-c32bd1f03848"],"failures":["362ca850-8cbe-41a0-abb9-0de3a3483560","f14a5a65-9a3a-41ee-b3aa-c97fa675ce5d"],"pending":[],"skipped":[],"duration":8860,"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>