/
var
/
www
/
html
/
subscription-test-cases
/
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":592,"tests":783,"passes":151,"pending":12,"failures":616,"start":"2024-05-28T10:23:53.790Z","end":"2024-05-28T10:23:53.790Z","duration":10832570,"testsRegistered":783,"passPercent":19.284802043422733,"pendingPercent":1.5325670498084292,"other":0,"hasOther":false,"skipped":4,"hasSkipped":true},"results":[{"uuid":"d436fa40-21ef-426a-bd11-926fc3b33c0d","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":"e009dde5-2ef3-4fcd-8df0-0489869e8c20","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":4250,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"06e449fb-4c9f-4d97-b1ec-be683d0f0caf","parentUUID":"e009dde5-2ef3-4fcd-8df0-0489869e8c20","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":4125,"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: Expected to find element: `.navbar-brand`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"a378c7aa-3218-4aff-b026-55e9762af7af","parentUUID":"e009dde5-2ef3-4fcd-8df0-0489869e8c20","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4125,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying: 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":"5ec6e5e1-7283-4b10-8fa7-b8149e17aaee","parentUUID":"e009dde5-2ef3-4fcd-8df0-0489869e8c20","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["06e449fb-4c9f-4d97-b1ec-be683d0f0caf","a378c7aa-3218-4aff-b026-55e9762af7af","5ec6e5e1-7283-4b10-8fa7-b8149e17aaee"],"pending":[],"skipped":[],"duration":12500,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc974f94-a873-4191-9432-d1875ec2f3f6","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":"61315d8d-4478-42d6-afcf-8d8d7730ea3b","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":3328,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"3bc44e97-f6a2-4055-b66a-4c85a273d40e","parentUUID":"61315d8d-4478-42d6-afcf-8d8d7730ea3b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3bc44e97-f6a2-4055-b66a-4c85a273d40e"],"pending":[],"skipped":[],"duration":3328,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"96405544-7b0a-4b3e-b6d9-08d32ae444ca","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":"e05d354e-241f-4c6e-8a58-25fa0f4e4278","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":2759,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"b2f6287f-9949-487c-9e4d-28969cc07a60","parentUUID":"e05d354e-241f-4c6e-8a58-25fa0f4e4278","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b2f6287f-9949-487c-9e4d-28969cc07a60"],"pending":[],"skipped":[],"duration":2759,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fa3748dd-1b85-4a2a-bb70-a33d8864feb8","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":"a2a1aca6-cb6a-472f-99eb-c5a26b890104","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":2718,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"cd35ee39-bf76-44aa-89ef-5f7b0a99adf3","parentUUID":"a2a1aca6-cb6a-472f-99eb-c5a26b890104","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd35ee39-bf76-44aa-89ef-5f7b0a99adf3"],"pending":[],"skipped":[],"duration":2718,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a66b9604-d8f9-43d8-9df0-753e91b2a681","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":"bc32ba9b-c897-4994-a964-9e3eed23e1b5","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":2708,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"62b8623f-fde6-4766-b908-4a740aa65c05","parentUUID":"bc32ba9b-c897-4994-a964-9e3eed23e1b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["62b8623f-fde6-4766-b908-4a740aa65c05"],"pending":[],"skipped":[],"duration":2708,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22d76692-6066-4f4d-a8b1-1e4dcea02a33","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":"892c8231-01cd-40eb-adfe-7cb1d6de33ae","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":2724,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"40dd1236-f187-46e7-ab07-a8d61d697e7c","parentUUID":"892c8231-01cd-40eb-adfe-7cb1d6de33ae","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["40dd1236-f187-46e7-ab07-a8d61d697e7c"],"pending":[],"skipped":[],"duration":2724,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3d8987e8-aadc-4f2d-9071-958cbbfbdb87","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":"6af8bb33-3fb6-4a00-93fd-a8e6b59ec24c","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":2671,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"30511d39-7323-432c-97ae-0bb7167cf238","parentUUID":"6af8bb33-3fb6-4a00-93fd-a8e6b59ec24c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30511d39-7323-432c-97ae-0bb7167cf238"],"pending":[],"skipped":[],"duration":2671,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d2a8770-9792-45aa-a195-4b05813d1eeb","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":"7a26ea7c-cf34-4236-86c7-2827b185d36f","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":2727,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"28ab68e6-c55f-4c9d-b0bc-b12425c6038e","parentUUID":"7a26ea7c-cf34-4236-86c7-2827b185d36f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["28ab68e6-c55f-4c9d-b0bc-b12425c6038e"],"pending":[],"skipped":[],"duration":2727,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8d87f05-2f65-49cf-b8ab-78fc4a98b5ea","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":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","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":2690,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"6c079fac-a894-48af-ab75-ffa1821eb631","parentUUID":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":2766,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"11d96a3f-5830-4ba0-9fc1-574a2d4237c9","parentUUID":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":2708,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"060bcbec-951b-406f-993e-b260e620f956","parentUUID":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":2649,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"f0e707e1-a758-49fc-b77d-e18286ab52de","parentUUID":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":2714,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"c75857c7-40fb-4a9d-8799-7dc3ff45043d","parentUUID":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":2704,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"597099b6-baba-44c0-acc2-fbd0dc56bf60","parentUUID":"fd9c1913-ad63-4ff3-9a04-f9b1042ebbf2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6c079fac-a894-48af-ab75-ffa1821eb631","11d96a3f-5830-4ba0-9fc1-574a2d4237c9","060bcbec-951b-406f-993e-b260e620f956","f0e707e1-a758-49fc-b77d-e18286ab52de","c75857c7-40fb-4a9d-8799-7dc3ff45043d","597099b6-baba-44c0-acc2-fbd0dc56bf60"],"pending":[],"skipped":[],"duration":16231,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c651e910-8865-41c9-95d8-42596f11089f","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":"84002172-fd3c-43bc-be80-53bfbcb2802f","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":2702,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"14bd0005-c895-46d8-ab31-deba7f71b47f","parentUUID":"84002172-fd3c-43bc-be80-53bfbcb2802f","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":2715,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"21029b45-1c5c-4de8-a652-606aaf49a95c","parentUUID":"84002172-fd3c-43bc-be80-53bfbcb2802f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["14bd0005-c895-46d8-ab31-deba7f71b47f","21029b45-1c5c-4de8-a652-606aaf49a95c"],"pending":[],"skipped":[],"duration":5417,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"32b98db9-4e62-4652-93c5-623216eb378d","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":"eb241625-28c0-4d0c-8e43-83a6c67c1296","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":2702,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"deec2ae0-1595-4fff-99d3-15eda6ffa54b","parentUUID":"eb241625-28c0-4d0c-8e43-83a6c67c1296","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":2786,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"d53a7588-b8a2-47cc-9237-045e3f5c8fbc","parentUUID":"eb241625-28c0-4d0c-8e43-83a6c67c1296","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":2825,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"8d689700-dfb8-4d10-aa24-9df019d660ca","parentUUID":"eb241625-28c0-4d0c-8e43-83a6c67c1296","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["deec2ae0-1595-4fff-99d3-15eda6ffa54b","d53a7588-b8a2-47cc-9237-045e3f5c8fbc","8d689700-dfb8-4d10-aa24-9df019d660ca"],"pending":[],"skipped":[],"duration":8313,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a1112d90-ed3c-4739-a3ce-f6ef8af84f18","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":"7b2995e6-f34c-4137-b809-c7a079efa588","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":2714,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"5968ed84-481d-4365-a165-f431d77e29a8","parentUUID":"7b2995e6-f34c-4137-b809-c7a079efa588","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5968ed84-481d-4365-a165-f431d77e29a8"],"pending":[],"skipped":[],"duration":2714,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e6a41835-e9a5-443c-97f8-8f584da5e0f9","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":"c5e377b2-1071-46ee-ac54-719a13691a06","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":2752,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"f30fe9ab-2e4b-443c-b27d-d27aafbb6f05","parentUUID":"c5e377b2-1071-46ee-ac54-719a13691a06","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":2684,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"8d3cad12-f08d-4d01-b94a-e9e3132faf28","parentUUID":"c5e377b2-1071-46ee-ac54-719a13691a06","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":2627,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"f3b05054-58d6-4770-962b-a29081c3def5","parentUUID":"c5e377b2-1071-46ee-ac54-719a13691a06","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f30fe9ab-2e4b-443c-b27d-d27aafbb6f05","8d3cad12-f08d-4d01-b94a-e9e3132faf28","f3b05054-58d6-4770-962b-a29081c3def5"],"pending":[],"skipped":[],"duration":8063,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b54580cd-5bde-45d4-8d13-f5e8a590d115","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":"ffe3a1e9-4975-4cce-a08a-48fe90522828","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":2688,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"769e4a04-0a12-4eab-bec8-8a5507567f70","parentUUID":"ffe3a1e9-4975-4cce-a08a-48fe90522828","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":2717,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"e1ac1968-199d-4b24-aefb-0040c83ffeb4","parentUUID":"ffe3a1e9-4975-4cce-a08a-48fe90522828","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":2695,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"e224d91f-8e00-4b34-bff0-99ccdf71aae9","parentUUID":"ffe3a1e9-4975-4cce-a08a-48fe90522828","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["769e4a04-0a12-4eab-bec8-8a5507567f70","e1ac1968-199d-4b24-aefb-0040c83ffeb4","e224d91f-8e00-4b34-bff0-99ccdf71aae9"],"pending":[],"skipped":[],"duration":8100,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22a6f1b2-8438-4df4-b0d7-ab12baa8c474","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":"f6505bc1-2f8d-48b4-8553-bfe93c295609","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":2688,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"79973f3d-61ac-4d89-8ca3-80abb3a9189f","parentUUID":"f6505bc1-2f8d-48b4-8553-bfe93c295609","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":2713,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"b2bfd66c-d19e-4e5c-b180-343123a9c7aa","parentUUID":"f6505bc1-2f8d-48b4-8553-bfe93c295609","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":2762,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"33572006-d117-4ac2-829b-4138b9059fa7","parentUUID":"f6505bc1-2f8d-48b4-8553-bfe93c295609","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["79973f3d-61ac-4d89-8ca3-80abb3a9189f","b2bfd66c-d19e-4e5c-b180-343123a9c7aa","33572006-d117-4ac2-829b-4138b9059fa7"],"pending":[],"skipped":[],"duration":8163,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2fcd8c63-cd42-45d5-8695-fedaa4ab9468","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":"2a3e2326-34fb-4fbb-94e2-87d572a7fad4","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":2703,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"8f594bb1-3b3a-4ba0-b0c2-a0cc77015f2e","parentUUID":"2a3e2326-34fb-4fbb-94e2-87d572a7fad4","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":2667,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"095a5255-a0d9-49ab-bf90-7715c67904ed","parentUUID":"2a3e2326-34fb-4fbb-94e2-87d572a7fad4","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":2762,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"33a5defd-2675-49c1-bd1e-77e43d6ad149","parentUUID":"2a3e2326-34fb-4fbb-94e2-87d572a7fad4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f594bb1-3b3a-4ba0-b0c2-a0cc77015f2e","095a5255-a0d9-49ab-bf90-7715c67904ed","33a5defd-2675-49c1-bd1e-77e43d6ad149"],"pending":[],"skipped":[],"duration":8132,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb81f8c3-3d96-438b-a9a4-3ac8567a51d0","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":"38b2587a-c615-4602-ab55-44d8cdf3bc18","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":2680,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"f55d6765-5af9-4ea2-b187-f6b25ccf0689","parentUUID":"38b2587a-c615-4602-ab55-44d8cdf3bc18","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f55d6765-5af9-4ea2-b187-f6b25ccf0689"],"pending":[],"skipped":[],"duration":2680,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"533650e3-d8dd-4de4-9a97-44570fadd478","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":"c3ea9184-7c62-426a-af43-3e85414675c6","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":2655,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"f77f0d31-fcd6-471a-a60e-98eac236b53f","parentUUID":"c3ea9184-7c62-426a-af43-3e85414675c6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f77f0d31-fcd6-471a-a60e-98eac236b53f"],"pending":[],"skipped":[],"duration":2655,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1b15600a-35a0-4f0c-9989-a3107fcbce09","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":"cd4ac70f-cf56-4f54-8587-94da095fba47","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":2669,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"6b7cd56b-8340-4277-bee4-8016cd15f977","parentUUID":"cd4ac70f-cf56-4f54-8587-94da095fba47","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6b7cd56b-8340-4277-bee4-8016cd15f977"],"pending":[],"skipped":[],"duration":2669,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d7a7639d-b54c-4950-be02-0c259b8195b5","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":"0d386e68-6c17-43fa-9aa4-a0f45073e113","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":2761,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"44af89da-f47f-4270-ab1d-878dc8c8d586","parentUUID":"0d386e68-6c17-43fa-9aa4-a0f45073e113","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["44af89da-f47f-4270-ab1d-878dc8c8d586"],"pending":[],"skipped":[],"duration":2761,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6a73aeee-3ec4-439f-beb5-e5ed815d7a93","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":"847d2f9a-09e1-48f9-8b51-49379f16a062","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":2676,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"c1070b6f-e84e-4a4b-9da6-b5cd0070df5d","parentUUID":"847d2f9a-09e1-48f9-8b51-49379f16a062","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c1070b6f-e84e-4a4b-9da6-b5cd0070df5d"],"pending":[],"skipped":[],"duration":2676,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c6d783c2-f38c-4803-88c1-aaa6ef5cb047","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":"f0107ebc-b6d1-4eab-8f42-71ab3bd16ef8","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":2705,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"fd2b10b3-f25d-4fc5-8cd0-1e799a6a090c","parentUUID":"f0107ebc-b6d1-4eab-8f42-71ab3bd16ef8","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":2665,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"ad9e363e-0a86-423f-b83b-1e1cb75e3753","parentUUID":"f0107ebc-b6d1-4eab-8f42-71ab3bd16ef8","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":2662,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"46a32dd2-2ea1-4dbc-a2ec-1c08002d7907","parentUUID":"f0107ebc-b6d1-4eab-8f42-71ab3bd16ef8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fd2b10b3-f25d-4fc5-8cd0-1e799a6a090c","ad9e363e-0a86-423f-b83b-1e1cb75e3753","46a32dd2-2ea1-4dbc-a2ec-1c08002d7907"],"pending":[],"skipped":[],"duration":8032,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"df5aa292-a9ca-4eb4-b4fe-dc9aa74c3791","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":"5cc6861b-8d8f-447d-abdf-3ca1a22ff2d7","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":2664,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"710b32b7-9f68-41e8-99fc-32bbbaf2fef0","parentUUID":"5cc6861b-8d8f-447d-abdf-3ca1a22ff2d7","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":2760,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"fe9a78bc-56f0-4041-9550-0902f79dfa4a","parentUUID":"5cc6861b-8d8f-447d-abdf-3ca1a22ff2d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["710b32b7-9f68-41e8-99fc-32bbbaf2fef0","fe9a78bc-56f0-4041-9550-0902f79dfa4a"],"pending":[],"skipped":[],"duration":5424,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a99d1beb-bc99-4816-a593-582bfd2bafd1","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":"38d378cd-f425-461a-ba97-182d7dc2e06f","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":2745,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"0d587a05-d83b-4844-bb1f-6984edcc490e","parentUUID":"38d378cd-f425-461a-ba97-182d7dc2e06f","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":2765,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"3b50471c-c025-4440-b8ed-53c7efca2001","parentUUID":"38d378cd-f425-461a-ba97-182d7dc2e06f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0d587a05-d83b-4844-bb1f-6984edcc490e","3b50471c-c025-4440-b8ed-53c7efca2001"],"pending":[],"skipped":[],"duration":5510,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e94a5d7f-e83e-4837-b95d-e9f8d285d64f","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":"ae53e194-7cb8-4a45-9ad6-ca4a009a29d7","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":2656,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"58410e81-251f-4478-8f66-a61970f62c99","parentUUID":"ae53e194-7cb8-4a45-9ad6-ca4a009a29d7","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":2667,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"9466ab0e-d12e-409f-a367-c52a3ddd8fa0","parentUUID":"ae53e194-7cb8-4a45-9ad6-ca4a009a29d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["58410e81-251f-4478-8f66-a61970f62c99","9466ab0e-d12e-409f-a367-c52a3ddd8fa0"],"pending":[],"skipped":[],"duration":5323,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f0aa6aa6-75b4-461c-ae26-44d84bd17f59","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":"60382f81-13f2-45fc-a275-83dd242e7f76","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":2668,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"a82e2486-8624-47d7-ab36-5e597bd80040","parentUUID":"60382f81-13f2-45fc-a275-83dd242e7f76","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":2667,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"2c506b25-998a-4a4e-aa45-a61e34545a46","parentUUID":"60382f81-13f2-45fc-a275-83dd242e7f76","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a82e2486-8624-47d7-ab36-5e597bd80040","2c506b25-998a-4a4e-aa45-a61e34545a46"],"pending":[],"skipped":[],"duration":5335,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5564d1ed-0e53-4a59-a3b2-cf613ab52ec9","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":"aa7de686-3b7f-426f-8851-e41a44a88ed7","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":2680,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"b80e1c73-ccb3-493b-b024-42018f19d702","parentUUID":"aa7de686-3b7f-426f-8851-e41a44a88ed7","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":2646,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"185b4475-445b-4754-a421-9056a7889d78","parentUUID":"aa7de686-3b7f-426f-8851-e41a44a88ed7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b80e1c73-ccb3-493b-b024-42018f19d702","185b4475-445b-4754-a421-9056a7889d78"],"pending":[],"skipped":[],"duration":5326,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"15b6e7be-ff34-4a34-84ee-2bb76f6065c2","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":"c923642f-389e-42d6-ab21-e7730a6d94a5","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":2653,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"b55a688d-5680-46ae-8e19-cb2c6bdb71cd","parentUUID":"c923642f-389e-42d6-ab21-e7730a6d94a5","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":4139,"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: Expected to find element: `.logout-btn > a`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"9f15acd1-c1bd-4f01-86fd-2d8d28d1d89e","parentUUID":"c923642f-389e-42d6-ab21-e7730a6d94a5","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":3285,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"e4c634cf-cd42-494e-a50d-7bfef4569da1","parentUUID":"c923642f-389e-42d6-ab21-e7730a6d94a5","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":2753,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"17625f79-08e0-4726-9ad1-a7ba52bd396a","parentUUID":"c923642f-389e-42d6-ab21-e7730a6d94a5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b55a688d-5680-46ae-8e19-cb2c6bdb71cd","9f15acd1-c1bd-4f01-86fd-2d8d28d1d89e","e4c634cf-cd42-494e-a50d-7bfef4569da1","17625f79-08e0-4726-9ad1-a7ba52bd396a"],"pending":[],"skipped":[],"duration":12830,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"76d52999-40ff-4971-9f17-d7606a23d1bc","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":"4a0fa123-1233-44de-a849-e1a32e799ec8","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":2723,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"24687cce-be89-4a4b-853f-01dbaf8d756a","parentUUID":"4a0fa123-1233-44de-a849-e1a32e799ec8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["24687cce-be89-4a4b-853f-01dbaf8d756a"],"pending":[],"skipped":[],"duration":2723,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcf7f048-54cb-4120-a6f7-7781c9dab417","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":"5e442d60-92f3-420e-90e5-a114cff328fc","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":2710,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"d5c1a692-a81a-4690-a0e2-13c72116888b","parentUUID":"5e442d60-92f3-420e-90e5-a114cff328fc","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":4093,"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: Expected to find element: `.navbar-brand`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"0afdd3f1-8d4a-4dfc-989f-7766e5d9abeb","parentUUID":"5e442d60-92f3-420e-90e5-a114cff328fc","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4090,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying: 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":"ea5c6465-2511-4ef3-9683-caade7e66640","parentUUID":"5e442d60-92f3-420e-90e5-a114cff328fc","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":4081,"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: Expected to find element: `.logout-btn > a`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"01f06861-379f-4a2c-a09c-4a9181970351","parentUUID":"5e442d60-92f3-420e-90e5-a114cff328fc","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":7,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"e0092244-2cc7-44e2-bd74-b397ab9edc9c","parentUUID":"5e442d60-92f3-420e-90e5-a114cff328fc","isHook":false,"skipped":false}],"suites":[],"passes":["e0092244-2cc7-44e2-bd74-b397ab9edc9c"],"failures":["d5c1a692-a81a-4690-a0e2-13c72116888b","0afdd3f1-8d4a-4dfc-989f-7766e5d9abeb","ea5c6465-2511-4ef3-9683-caade7e66640","01f06861-379f-4a2c-a09c-4a9181970351"],"pending":[],"skipped":[],"duration":14981,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b71dd7da-4a69-430f-93cf-36f4ca8c0edd","title":"","fullFile":"cypress/integration/seeder/seedo.spec.js","file":"cypress/integration/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0dab9158-a62d-4459-bf92-e5edb08fabd9","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":3364,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"97a8148f-1881-47d9-bcc3-fd84d4772cc2","parentUUID":"0dab9158-a62d-4459-bf92-e5edb08fabd9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["97a8148f-1881-47d9-bcc3-fd84d4772cc2"],"pending":[],"skipped":[],"duration":3364,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"698592f2-0c91-46c5-8d85-59aba785b218","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":"c41f4155-3f69-4622-8a0b-8aaf78a5e977","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":2677,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"ee31f617-d340-475d-93ed-cd5efa9c0463","parentUUID":"c41f4155-3f69-4622-8a0b-8aaf78a5e977","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ee31f617-d340-475d-93ed-cd5efa9c0463"],"pending":[],"skipped":[],"duration":2677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55c80fb8-e441-4927-a06e-3f15a05a1079","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":"c93a92f0-41e2-45c2-bd1f-b3e6cbadda81","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":2679,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"0f4012da-9301-4000-93c6-a8446af86ca1","parentUUID":"c93a92f0-41e2-45c2-bd1f-b3e6cbadda81","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":2699,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"b0d591b3-bcd7-4d73-943e-985462939518","parentUUID":"c93a92f0-41e2-45c2-bd1f-b3e6cbadda81","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":2691,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"e3c89acf-0097-4628-b44b-e9170a10837f","parentUUID":"c93a92f0-41e2-45c2-bd1f-b3e6cbadda81","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0f4012da-9301-4000-93c6-a8446af86ca1","b0d591b3-bcd7-4d73-943e-985462939518","e3c89acf-0097-4628-b44b-e9170a10837f"],"pending":[],"skipped":[],"duration":8069,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c8e1cca8-a11b-40b2-a500-594d03c9e9ec","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":"579d831b-0dc4-4715-a980-018219631e0f","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":2771,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"998af433-fb20-401f-84d2-96e78c6c5c09","parentUUID":"579d831b-0dc4-4715-a980-018219631e0f","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":4076,"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: expected '' to include 'SubscriptionFlow - Dashboard'","estack":"AssertionError: Timed out retrying: 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":"351d5eb6-9f4e-45df-a613-aca43ca7b75d","parentUUID":"579d831b-0dc4-4715-a980-018219631e0f","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":4109,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{"message":"AssertionError: Timed out retrying: Expected to find content: 'Welcome' but never did.","estack":"AssertionError: Timed out retrying: 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":"b15b6deb-5157-4591-b3cf-f20d6ea6b708","parentUUID":"579d831b-0dc4-4715-a980-018219631e0f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["998af433-fb20-401f-84d2-96e78c6c5c09","351d5eb6-9f4e-45df-a613-aca43ca7b75d","b15b6deb-5157-4591-b3cf-f20d6ea6b708"],"pending":[],"skipped":[],"duration":10956,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2be3dfd6-1883-414c-a9b7-0ce295c7d216","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":"3eec338a-fa58-4787-9cf5-33b7c8818d60","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":3349,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"acc3a84d-6244-477c-8eaa-cb2d9abedfe8","parentUUID":"3eec338a-fa58-4787-9cf5-33b7c8818d60","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["acc3a84d-6244-477c-8eaa-cb2d9abedfe8"],"pending":[],"skipped":[],"duration":3349,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b7d6e56-ca25-4c83-9a64-ac78263b40ba","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":"f0d50c47-0686-4c65-9859-40a14406181d","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":2675,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"ba89aa8d-1c8e-44b0-9c25-3d98e3ce4231","parentUUID":"f0d50c47-0686-4c65-9859-40a14406181d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ba89aa8d-1c8e-44b0-9c25-3d98e3ce4231"],"pending":[],"skipped":[],"duration":2675,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3ede508f-6e42-4ab2-b191-f37d76e9ec3d","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":"7cfa7c1a-d93d-4b1f-a5ed-f2325b76874e","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":2743,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"4b661b2a-8efa-4373-b73e-b4239a4c12c6","parentUUID":"7cfa7c1a-d93d-4b1f-a5ed-f2325b76874e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b661b2a-8efa-4373-b73e-b4239a4c12c6"],"pending":[],"skipped":[],"duration":2743,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5292b0e0-0ee0-4864-8be7-a760fdc3daa3","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":"15a80b07-4b8d-4255-809e-2915f839b77a","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":2892,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"e805ccde-a28e-4051-ab83-d7a20b01934b","parentUUID":"15a80b07-4b8d-4255-809e-2915f839b77a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e805ccde-a28e-4051-ab83-d7a20b01934b"],"pending":[],"skipped":[],"duration":2892,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4f2c0db3-8997-42af-bcca-69fbbda5100e","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":"be536313-9006-4349-b30b-eda3895e7ab4","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":2650,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"9ebe8cab-96cb-42c1-9a15-9f24bf8b982b","parentUUID":"be536313-9006-4349-b30b-eda3895e7ab4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9ebe8cab-96cb-42c1-9a15-9f24bf8b982b"],"pending":[],"skipped":[],"duration":2650,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"24425c12-dce8-42ad-bd14-540789a8b25b","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":"3ee70643-dfd0-4233-8aef-4a71642bf16d","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":2756,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"58eec68b-760f-4a1d-a0f4-83590569c244","parentUUID":"3ee70643-dfd0-4233-8aef-4a71642bf16d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["58eec68b-760f-4a1d-a0f4-83590569c244"],"pending":[],"skipped":[],"duration":2756,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2744a367-49f8-487f-8fce-f362ef0cd9f8","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":"a6fd6c9c-5d58-4070-a521-47ab03491507","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":2803,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"bb53184b-1ad3-419d-b7ab-6c754bf79eb6","parentUUID":"a6fd6c9c-5d58-4070-a521-47ab03491507","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb53184b-1ad3-419d-b7ab-6c754bf79eb6"],"pending":[],"skipped":[],"duration":2803,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e4ef8d0d-a4f0-4f76-89c5-0fd84b4824ee","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":"f7122aaa-8a92-46a4-833e-f7d65bfbe8e6","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":2966,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\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:101:8)","diff":null},"uuid":"98eeb7de-1ba4-4676-91fb-9e6aa900fbce","parentUUID":"f7122aaa-8a92-46a4-833e-f7d65bfbe8e6","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":4081,"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: Expected to find element: `#navbarStandard`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"41caa6f5-533f-47aa-8c71-1f74e20f78b6","parentUUID":"f7122aaa-8a92-46a4-833e-f7d65bfbe8e6","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":4078,"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: Expected to find element: `.btn-secondary`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"65382c0f-ac85-4f2e-a06c-7e1eef943f61","parentUUID":"f7122aaa-8a92-46a4-833e-f7d65bfbe8e6","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":4110,"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: `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: `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:161375:22)\n at ensureScrollability (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:152950:21)\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Function.Promise.attempt.Promise.try (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:7858:29)\n at tryFn (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:165607:21)\n at whenStable (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:165645:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:165140:16\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8701:18)\n at Promise._fulfill (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8645:18)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10259: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":"e751c430-71ba-4967-aa90-a7ec0c00afb9","parentUUID":"f7122aaa-8a92-46a4-833e-f7d65bfbe8e6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98eeb7de-1ba4-4676-91fb-9e6aa900fbce","41caa6f5-533f-47aa-8c71-1f74e20f78b6","65382c0f-ac85-4f2e-a06c-7e1eef943f61","e751c430-71ba-4967-aa90-a7ec0c00afb9"],"pending":[],"skipped":[],"duration":15235,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"78a9d05a-692d-46ba-a1cc-78cc2f97b341","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":"8a16646c-d0ff-439d-a637-5a61fd2273b8","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":3300,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"16a962a8-23c9-4835-a53b-5b2551cacbe8","parentUUID":"8a16646c-d0ff-439d-a637-5a61fd2273b8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["16a962a8-23c9-4835-a53b-5b2551cacbe8"],"pending":[],"skipped":[],"duration":3300,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee84d16c-9ee0-4a53-bca8-933613812415","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":"a8a07e7b-00f9-49fb-90f4-1d3d0fbd99d4","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":2666,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"d8e0d11c-9be9-4b73-aa85-63d93204219f","parentUUID":"a8a07e7b-00f9-49fb-90f4-1d3d0fbd99d4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d8e0d11c-9be9-4b73-aa85-63d93204219f"],"pending":[],"skipped":[],"duration":2666,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55bb437f-2993-4ddf-ac5b-f6221e3a0104","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":"356bf4d7-3571-4865-a534-e795263679bf","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":2711,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"da1793f5-07d3-4f93-b346-465d2d6c7981","parentUUID":"356bf4d7-3571-4865-a534-e795263679bf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["da1793f5-07d3-4f93-b346-465d2d6c7981"],"pending":[],"skipped":[],"duration":2711,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a9ef477b-7b95-4e7e-b3f4-93312ea08ee2","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":"74912314-14c0-493b-bb40-3d6041f3a460","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":2729,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"f95d61bd-10b6-4a21-b8d2-2e5317b92d06","parentUUID":"74912314-14c0-493b-bb40-3d6041f3a460","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":2662,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:138:8)","diff":null},"uuid":"485d446c-e60a-42e9-abb4-f459fa38022f","parentUUID":"74912314-14c0-493b-bb40-3d6041f3a460","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":2646,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:170:8)","diff":null},"uuid":"b2c84c6a-ab17-4b5f-b755-fe7e89fa3cce","parentUUID":"74912314-14c0-493b-bb40-3d6041f3a460","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f95d61bd-10b6-4a21-b8d2-2e5317b92d06","485d446c-e60a-42e9-abb4-f459fa38022f","b2c84c6a-ab17-4b5f-b755-fe7e89fa3cce"],"pending":[],"skipped":[],"duration":8037,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c06f5096-04ad-49a1-aafc-eea34fd5c235","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":"5c5878d8-d5ba-4462-9f14-65d310b2755f","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":2661,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"ff59a646-eaae-472e-826d-3b76c04ff6e8","parentUUID":"5c5878d8-d5ba-4462-9f14-65d310b2755f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ff59a646-eaae-472e-826d-3b76c04ff6e8"],"pending":[],"skipped":[],"duration":2661,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"59df997b-c756-47dd-901f-fd47305c2ecf","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":"99f97f05-711b-4abe-9864-520651e81658","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":2661,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"393f0e26-87e0-4619-83f3-0670253397c2","parentUUID":"99f97f05-711b-4abe-9864-520651e81658","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["393f0e26-87e0-4619-83f3-0670253397c2"],"pending":[],"skipped":[],"duration":2661,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcb0a099-e091-46e7-a5f7-a99ebaca87aa","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":"4b2ef313-f973-4f3f-b9ed-728a066f3572","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":26725,"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":"AssertionError: Timed out retrying: Expected to find element: `tbody tr td input`, but never found it.","estack":"AssertionError: Timed out retrying: Expected to find element: `tbody tr td input`, but never found it.\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"33524023-e132-437e-b145-521ea39c1a65","parentUUID":"4b2ef313-f973-4f3f-b9ed-728a066f3572","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["33524023-e132-437e-b145-521ea39c1a65"],"pending":[],"skipped":[],"duration":26725,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"29206f29-fc6f-4228-bf1a-691a2e82db7a","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":"baea2890-4d25-4380-b07c-4932e0237ddf","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":25769,"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":"AssertionError: Timed out retrying: Expected to find element: `#listViewTableEl .check-all-records`, but never found it.","estack":"AssertionError: Timed out retrying: Expected to find element: `#listViewTableEl .check-all-records`, but never found it.\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"09faa729-da7b-412a-b21c-23701ecaa5aa","parentUUID":"baea2890-4d25-4380-b07c-4932e0237ddf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09faa729-da7b-412a-b21c-23701ecaa5aa"],"pending":[],"skipped":[],"duration":25769,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e63e2311-a05d-43c4-b2fe-03ca77f04637","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":"b600dd67-9686-4e54-adb4-3df999dc5eb7","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":3255,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"e956cf1f-0cbc-4691-a56d-b73f7f3692a8","parentUUID":"b600dd67-9686-4e54-adb4-3df999dc5eb7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e956cf1f-0cbc-4691-a56d-b73f7f3692a8"],"pending":[],"skipped":[],"duration":3255,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3c47b9ed-091a-4f16-93ee-99c7ee17a348","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":"f85a7e6c-b8d1-44c7-b18a-a81146fdabc9","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":2659,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"5815efb2-2e68-4a92-99bb-60ad818f4751","parentUUID":"f85a7e6c-b8d1-44c7-b18a-a81146fdabc9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5815efb2-2e68-4a92-99bb-60ad818f4751"],"pending":[],"skipped":[],"duration":2659,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"12ec60a9-53e2-477a-9890-bec1d1c0986d","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":"9dc7f951-40f5-4ab9-a00f-6ff1dcbf5b23","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":2625,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"bcf97edd-b4d3-4c17-a737-1b623dcbc0ed","parentUUID":"9dc7f951-40f5-4ab9-a00f-6ff1dcbf5b23","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bcf97edd-b4d3-4c17-a737-1b623dcbc0ed"],"pending":[],"skipped":[],"duration":2625,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2e645a5-1a56-4d79-9674-5b45dbd6c13a","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":"d335bb67-03c5-4f3c-97b7-6882bbb9cf67","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":2639,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:106:8)","diff":null},"uuid":"b856c883-fdb1-4861-bf8f-62eb3c197915","parentUUID":"d335bb67-03c5-4f3c-97b7-6882bbb9cf67","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b856c883-fdb1-4861-bf8f-62eb3c197915"],"pending":[],"skipped":[],"duration":2639,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88369b07-9c8b-450b-84c9-7f969f0f5b99","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":"b5f3bff4-d7b7-4b59-8a79-0b1b4b17c76c","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":2660,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:106:8)","diff":null},"uuid":"0a51da5e-49bc-4ae5-b8e3-c9611fd138bf","parentUUID":"b5f3bff4-d7b7-4b59-8a79-0b1b4b17c76c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0a51da5e-49bc-4ae5-b8e3-c9611fd138bf"],"pending":[],"skipped":[],"duration":2660,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"108454ef-b8e1-4f51-8844-d10df8574097","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":"92cd6719-1112-4af8-8e4e-f9d3437edbc2","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":2613,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"c5ba9e61-ea23-4512-82aa-e246d5eda59c","parentUUID":"92cd6719-1112-4af8-8e4e-f9d3437edbc2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5ba9e61-ea23-4512-82aa-e246d5eda59c"],"pending":[],"skipped":[],"duration":2613,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"059283a0-f7c7-491e-8900-b7e246bc8588","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":"704fdd01-9ae9-4ea2-9cbf-5939adca0e91","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":2696,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"bd493e80-d52b-4a11-b717-497baba41576","parentUUID":"704fdd01-9ae9-4ea2-9cbf-5939adca0e91","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bd493e80-d52b-4a11-b717-497baba41576"],"pending":[],"skipped":[],"duration":2696,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a415736e-ceba-45b5-a5c9-2949e03bad11","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":"9063f255-b1a0-4f76-821e-ea80c434e66b","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":2673,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:106:8)","diff":null},"uuid":"e1610029-13b2-4a9c-98d8-e2ce282f5b22","parentUUID":"9063f255-b1a0-4f76-821e-ea80c434e66b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e1610029-13b2-4a9c-98d8-e2ce282f5b22"],"pending":[],"skipped":[],"duration":2673,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1d94321c-de9e-4939-a9ea-766f28f15c24","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":"b11f9b8c-0d73-45ae-951e-b0b1178acd63","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":2662,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"12f16c60-1cb3-4060-89e5-fdf80ab6ca70","parentUUID":"b11f9b8c-0d73-45ae-951e-b0b1178acd63","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["12f16c60-1cb3-4060-89e5-fdf80ab6ca70"],"pending":[],"skipped":[],"duration":2662,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bdfa7cc7-823a-45fe-864d-ce857b267b7e","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":"bc2e99ea-547c-4a67-a348-717af00382ed","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":2647,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"54a03be3-ef97-4b29-85e2-9b920bb7b90e","parentUUID":"bc2e99ea-547c-4a67-a348-717af00382ed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["54a03be3-ef97-4b29-85e2-9b920bb7b90e"],"pending":[],"skipped":[],"duration":2647,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e084b659-5aff-4ffb-97ee-0f56c0beb542","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":"eda9b374-94eb-4ad1-aec8-356521ffa048","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":2642,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"13ba3ac1-7a8e-43bc-a0c3-a3418e868be7","parentUUID":"eda9b374-94eb-4ad1-aec8-356521ffa048","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["13ba3ac1-7a8e-43bc-a0c3-a3418e868be7"],"pending":[],"skipped":[],"duration":2642,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f6aa37cc-4bfd-4a4c-a7a0-812e8dd53f13","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":"97549bcf-fcca-4465-bc41-917e63c91aff","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":2687,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"52539a22-921d-418a-bcec-b36a39bd9b08","parentUUID":"97549bcf-fcca-4465-bc41-917e63c91aff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["52539a22-921d-418a-bcec-b36a39bd9b08"],"pending":[],"skipped":[],"duration":2687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"303adf80-ee56-4e0d-a32b-78aa0db07279","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":"66d28513-9014-4504-8390-18c4f15eaf00","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":2655,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"c550e38d-e551-4a4f-8835-3d591f95886a","parentUUID":"66d28513-9014-4504-8390-18c4f15eaf00","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c550e38d-e551-4a4f-8835-3d591f95886a"],"pending":[],"skipped":[],"duration":2655,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"46d085f6-afe1-4d27-85e2-288bcca4e727","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":"dcdacf4c-4255-4b24-8ff4-0c76fb80e86b","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":2625,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"0634456f-6f94-4731-81db-0ffe5ff8ab8f","parentUUID":"dcdacf4c-4255-4b24-8ff4-0c76fb80e86b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0634456f-6f94-4731-81db-0ffe5ff8ab8f"],"pending":[],"skipped":[],"duration":2625,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1bc308d8-30fb-4f97-9d93-dbe29436318a","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":"34c762de-fab6-46eb-a19d-114d6befd7d8","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":2732,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"af7c095b-a91a-4e4f-a260-77cf4f179672","parentUUID":"34c762de-fab6-46eb-a19d-114d6befd7d8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["af7c095b-a91a-4e4f-a260-77cf4f179672"],"pending":[],"skipped":[],"duration":2732,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f98b8e8-3078-4acd-9cad-e405a2aefd4b","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":"5ca0aafb-111f-49c6-9c59-b673fd91b5ee","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":2685,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"987375a4-3e0c-4031-8854-8093f6f642c4","parentUUID":"5ca0aafb-111f-49c6-9c59-b673fd91b5ee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["987375a4-3e0c-4031-8854-8093f6f642c4"],"pending":[],"skipped":[],"duration":2685,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fcec22a9-0fb6-40b2-b0be-4d0e2d485b76","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":"baf8a7db-14c8-408e-bcf7-e60a254d7e71","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":2674,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"21bdfc17-4281-450b-9c93-5579bccd9dfb","parentUUID":"baf8a7db-14c8-408e-bcf7-e60a254d7e71","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["21bdfc17-4281-450b-9c93-5579bccd9dfb"],"pending":[],"skipped":[],"duration":2674,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4362d32-bb14-4004-92f5-5ddb765e78d8","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":"0758cf28-407c-46c4-bba3-99f7d5e23dd0","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":2600,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"232d6a3a-69a5-44ac-9b75-6db73994e5e8","parentUUID":"0758cf28-407c-46c4-bba3-99f7d5e23dd0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["232d6a3a-69a5-44ac-9b75-6db73994e5e8"],"pending":[],"skipped":[],"duration":2600,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ddae9afd-9bac-4a28-a31c-cecbb384b50c","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":"fa03e0df-b765-403d-9d59-a6a9e03b0185","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":2694,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"662b1257-c9f5-4c3e-b4a3-96f79422c765","parentUUID":"fa03e0df-b765-403d-9d59-a6a9e03b0185","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["662b1257-c9f5-4c3e-b4a3-96f79422c765"],"pending":[],"skipped":[],"duration":2694,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"57639128-8e4f-4fb3-b014-f60e5266aa5d","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":"5070c228-d254-4576-ad34-8e9f61971d82","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":2677,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"60026ca1-1b4e-4919-afd3-31944dab0378","parentUUID":"5070c228-d254-4576-ad34-8e9f61971d82","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["60026ca1-1b4e-4919-afd3-31944dab0378"],"pending":[],"skipped":[],"duration":2677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f0ed020-80f4-40cc-bba5-2f7b58e461a1","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":"c605061d-6c4b-44fa-b8dd-0ec83a9af0eb","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":2629,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"0df8b6c9-3539-40a6-aff7-1583a5fbf7e0","parentUUID":"c605061d-6c4b-44fa-b8dd-0ec83a9af0eb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0df8b6c9-3539-40a6-aff7-1583a5fbf7e0"],"pending":[],"skipped":[],"duration":2629,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"83098180-24a4-4215-8ed1-c1759d3758cb","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":"38789517-ea6d-4eff-aa34-10afe72b1d6d","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":3105,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"6a48acef-07ef-47d5-884f-bd0c1f963d61","parentUUID":"38789517-ea6d-4eff-aa34-10afe72b1d6d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6a48acef-07ef-47d5-884f-bd0c1f963d61"],"pending":[],"skipped":[],"duration":3105,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e6e0427d-561c-42ed-b83c-f16cd4897f25","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":"981306c0-3fb6-408c-b7af-02f5533a5d34","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":2979,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"20c6683e-c80f-4709-a43f-f2432653b411","parentUUID":"981306c0-3fb6-408c-b7af-02f5533a5d34","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["20c6683e-c80f-4709-a43f-f2432653b411"],"pending":[],"skipped":[],"duration":2979,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"14005a3d-a68b-4dd0-b267-9271c246d8a3","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":"0d08e499-191d-4d27-b2bb-a6ae6ef0eb1a","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":3223,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"02a9884d-525d-4406-bf9f-dbcd7f3d7cbc","parentUUID":"0d08e499-191d-4d27-b2bb-a6ae6ef0eb1a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["02a9884d-525d-4406-bf9f-dbcd7f3d7cbc"],"pending":[],"skipped":[],"duration":3223,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"074f56c2-5026-4309-84b0-1ca4a906dfad","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":"c072846d-d666-46b3-8623-a939e3084713","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":2695,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"3f8aa5e6-56b6-428b-a7ac-67dc09b8d9f4","parentUUID":"c072846d-d666-46b3-8623-a939e3084713","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f8aa5e6-56b6-428b-a7ac-67dc09b8d9f4"],"pending":[],"skipped":[],"duration":2695,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8cc47d60-19be-4828-994e-1b46b30a831a","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":"71015f98-cb30-483d-ad63-8e55da56aad7","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":2705,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"805561fe-e714-4daa-be2f-95b93fa09fc7","parentUUID":"71015f98-cb30-483d-ad63-8e55da56aad7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["805561fe-e714-4daa-be2f-95b93fa09fc7"],"pending":[],"skipped":[],"duration":2705,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5db45c6-072d-47b1-b116-9a4e314817b5","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":"b67b0d70-d2af-4d45-947a-5560d76e8f19","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":2655,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"e14973c3-1a12-4a94-abae-89e36c50b8aa","parentUUID":"b67b0d70-d2af-4d45-947a-5560d76e8f19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e14973c3-1a12-4a94-abae-89e36c50b8aa"],"pending":[],"skipped":[],"duration":2655,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c59e828-0a9a-46ea-809f-b015e44abe27","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":"849b7123-97d9-4eac-a5db-85d0065cb104","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":2659,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"bdbcf0ef-e0eb-4996-9ae7-2f5edce9a0cb","parentUUID":"849b7123-97d9-4eac-a5db-85d0065cb104","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":12115,"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: Expected to find element: `.select2-selection.select2-selection--multiple`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"cb9b5ee0-6781-40e8-9523-309462afc751","parentUUID":"849b7123-97d9-4eac-a5db-85d0065cb104","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":4078,"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: expected 'blank' to include 'product-detail'","estack":"AssertionError: Timed out retrying: 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":"fd454af4-fb85-4528-a46a-cca094794299","parentUUID":"849b7123-97d9-4eac-a5db-85d0065cb104","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bdbcf0ef-e0eb-4996-9ae7-2f5edce9a0cb","cb9b5ee0-6781-40e8-9523-309462afc751","fd454af4-fb85-4528-a46a-cca094794299"],"pending":[],"skipped":[],"duration":18852,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cda5935c-4fb3-49d5-a8d3-5c8964e6c661","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":"25a2a5db-2726-4e9f-a652-3dd938aec340","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":3212,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"3ad7671d-f2e8-4d81-8c80-707932744fb2","parentUUID":"25a2a5db-2726-4e9f-a652-3dd938aec340","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ad7671d-f2e8-4d81-8c80-707932744fb2"],"pending":[],"skipped":[],"duration":3212,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8b5639ac-6ec6-4a0e-a381-e903d45093f1","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":"3ef7a93e-3ced-463e-afb0-5d331e400cef","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":2721,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:104:8)","diff":null},"uuid":"c3741ab9-4a39-4d3b-a1fd-f5c92a8f5ae9","parentUUID":"3ef7a93e-3ced-463e-afb0-5d331e400cef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c3741ab9-4a39-4d3b-a1fd-f5c92a8f5ae9"],"pending":[],"skipped":[],"duration":2721,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8822eacf-defb-4e71-89af-0a82d1f27cbd","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":"cbe87f9b-9129-4e59-9551-e250d8c3db1d","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":2637,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"5eec1d9f-bbd9-47c3-889d-97c925839dce","parentUUID":"cbe87f9b-9129-4e59-9551-e250d8c3db1d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5eec1d9f-bbd9-47c3-889d-97c925839dce"],"pending":[],"skipped":[],"duration":2637,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a2ed1ae5-ced3-4dd4-81fe-918425ed1e2c","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":"2532d7de-4107-4e09-a2e9-32fecaa03f83","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":2599,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"0bc34f60-c118-4839-9399-094f0e8accb2","parentUUID":"2532d7de-4107-4e09-a2e9-32fecaa03f83","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0bc34f60-c118-4839-9399-094f0e8accb2"],"pending":[],"skipped":[],"duration":2599,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f7a0aa1a-57cd-43d6-b56b-22892ae14773","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":"153010a1-ba73-4791-ab8a-ddc2be3deade","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":2619,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"d27f7b61-4a48-432f-80db-e868b64bac20","parentUUID":"153010a1-ba73-4791-ab8a-ddc2be3deade","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d27f7b61-4a48-432f-80db-e868b64bac20"],"pending":[],"skipped":[],"duration":2619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"69faa45e-29db-4022-8dac-4362e4b6445f","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":"5283703f-9b44-454f-9a26-5ca1703052c2","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":3282,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"7bc9a679-0adc-4e4e-8c49-271e69973326","parentUUID":"5283703f-9b44-454f-9a26-5ca1703052c2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7bc9a679-0adc-4e4e-8c49-271e69973326"],"pending":[],"skipped":[],"duration":3282,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43e5dfdf-64be-4054-94f8-c7286611479a","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":"ac652ffe-6710-4bcf-a1bd-621c762c4a19","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":2659,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"11cfa832-bdbc-4bcf-8c83-e5492dc3cd9a","parentUUID":"ac652ffe-6710-4bcf-a1bd-621c762c4a19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["11cfa832-bdbc-4bcf-8c83-e5492dc3cd9a"],"pending":[],"skipped":[],"duration":2659,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"caa2ea78-555e-4671-8aca-83db5d5e445c","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":"31562a42-e37c-41a3-a29d-b9275fc568e8","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":2662,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"045fc1ce-5df8-41a5-83d6-d72f99d634d2","parentUUID":"31562a42-e37c-41a3-a29d-b9275fc568e8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["045fc1ce-5df8-41a5-83d6-d72f99d634d2"],"pending":[],"skipped":[],"duration":2662,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3aeb93ff-6569-443f-96f6-aaa913d3865a","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":"a96788b8-fe41-46b0-9ea4-df99c80d24fd","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":2701,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"4b2a7cd0-d6c5-4128-84a8-ee33eae4eca3","parentUUID":"a96788b8-fe41-46b0-9ea4-df99c80d24fd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b2a7cd0-d6c5-4128-84a8-ee33eae4eca3"],"pending":[],"skipped":[],"duration":2701,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"872baac1-9e98-48ee-810e-170f524070ae","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":"1c8a06a1-0079-4f78-9586-428e16fb8a19","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":3224,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"1f49eee8-abee-457e-bbcb-3276a148be53","parentUUID":"1c8a06a1-0079-4f78-9586-428e16fb8a19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1f49eee8-abee-457e-bbcb-3276a148be53"],"pending":[],"skipped":[],"duration":3224,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4da1372b-06b9-4b9c-bf60-dcfe3ac600d8","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":"f64576f7-7008-49db-ac4d-745c73952d19","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":2704,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:101:8)","diff":null},"uuid":"04644ecd-ae61-4027-b00b-db9ab469084e","parentUUID":"f64576f7-7008-49db-ac4d-745c73952d19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["04644ecd-ae61-4027-b00b-db9ab469084e"],"pending":[],"skipped":[],"duration":2704,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce2bbb5d-95f8-47d3-ae5e-a152bc8f6cdd","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":"71c69215-5789-4d44-84d5-f0816340114d","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":2679,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"e5bdbd9e-751b-4b1d-a27f-fba3295680df","parentUUID":"71c69215-5789-4d44-84d5-f0816340114d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e5bdbd9e-751b-4b1d-a27f-fba3295680df"],"pending":[],"skipped":[],"duration":2679,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b277317-64c9-442c-82c3-b09dd180ab91","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":"c1078535-6480-43ad-adcd-23488ee73ad4","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":2682,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"75f14e25-4270-462d-97cd-b83df7bb75de","parentUUID":"c1078535-6480-43ad-adcd-23488ee73ad4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["75f14e25-4270-462d-97cd-b83df7bb75de"],"pending":[],"skipped":[],"duration":2682,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"895a3515-4918-4795-ac07-d3bde7c7cb56","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":"0c0c9375-3877-4f12-ae79-1de0f2492510","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":2658,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"c4374ab1-7ea5-4a11-84fd-3090ba09ab9e","parentUUID":"0c0c9375-3877-4f12-ae79-1de0f2492510","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c4374ab1-7ea5-4a11-84fd-3090ba09ab9e"],"pending":[],"skipped":[],"duration":2658,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b05902d6-1db2-498d-a3c7-d203852fe8a6","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":"20dd1719-4143-4e81-98a8-efad64490568","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":2625,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"f62dab90-6f49-4743-874a-d8bce48b3325","parentUUID":"20dd1719-4143-4e81-98a8-efad64490568","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f62dab90-6f49-4743-874a-d8bce48b3325"],"pending":[],"skipped":[],"duration":2625,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"18b79ade-9e68-4a4a-b0fc-d58b79bf3f23","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":"afb4b7f8-e316-433d-9020-c996c3ce7c55","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":3261,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"24a3e3dd-c20e-49b8-953d-ae1e5d68e0f2","parentUUID":"afb4b7f8-e316-433d-9020-c996c3ce7c55","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["24a3e3dd-c20e-49b8-953d-ae1e5d68e0f2"],"pending":[],"skipped":[],"duration":3261,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6847e204-6b8c-4a25-9dd9-7aa14a59ecd8","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":"235aa19e-45d5-4821-8bfc-e8ddcd6f93f9","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":2657,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"88f52faf-6c31-4b86-a876-90c19643f726","parentUUID":"235aa19e-45d5-4821-8bfc-e8ddcd6f93f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88f52faf-6c31-4b86-a876-90c19643f726"],"pending":[],"skipped":[],"duration":2657,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9dbf5b1f-57cd-4cf2-b1dd-0ec018322645","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2cb5044b-d08b-42bb-b1a3-533341011a20","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":1393,"state":"passed","speed":"fast","pass":true,"fail":false,"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');\n// 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":{},"uuid":"c2b4cf93-381c-4dc5-82e8-4789e306f085","parentUUID":"2cb5044b-d08b-42bb-b1a3-533341011a20","isHook":false,"skipped":false}],"suites":[],"passes":["c2b4cf93-381c-4dc5-82e8-4789e306f085"],"failures":[],"pending":[],"skipped":[],"duration":1393,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"54880f70-38b0-47d1-a162-03f4f47f3a5b","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"de444637-b79a-4cd5-a8f0-cf08f00d4f48","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":3298,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"8595d50c-f445-454d-9408-3381413c312b","parentUUID":"de444637-b79a-4cd5-a8f0-cf08f00d4f48","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":2681,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"4d58a750-56e7-4cb0-81b5-65a1f16855b0","parentUUID":"de444637-b79a-4cd5-a8f0-cf08f00d4f48","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":2806,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"83766bcc-b4ee-4884-ad7f-fa647e6a15df","parentUUID":"de444637-b79a-4cd5-a8f0-cf08f00d4f48","isHook":false,"skipped":false}],"suites":[],"passes":["8595d50c-f445-454d-9408-3381413c312b","4d58a750-56e7-4cb0-81b5-65a1f16855b0","83766bcc-b4ee-4884-ad7f-fa647e6a15df"],"failures":[],"pending":[],"skipped":[],"duration":8785,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5a08e627-ca85-46ad-8cc0-820ca83fe6f5","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b9f6fdbe-f23f-436a-bb6f-513b9a866db9","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":6295,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"24bcb155-4ef6-446a-aa85-ee2d49e0b4a4","parentUUID":"b9f6fdbe-f23f-436a-bb6f-513b9a866db9","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":5708,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"2ed2ef29-b469-4ce4-9f01-a23ae26b66e2","parentUUID":"b9f6fdbe-f23f-436a-bb6f-513b9a866db9","isHook":false,"skipped":false}],"suites":[],"passes":["24bcb155-4ef6-446a-aa85-ee2d49e0b4a4","2ed2ef29-b469-4ce4-9f01-a23ae26b66e2"],"failures":[],"pending":[],"skipped":[],"duration":12003,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"30218ee3-e492-4c5c-818c-e1e6fca9fcfa","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c452329f-8acc-472f-bb60-4b5cb10163a2","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":5505,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"94b1c27f-b790-4bcd-8e12-82e12a531f23","parentUUID":"c452329f-8acc-472f-bb60-4b5cb10163a2","isHook":false,"skipped":false}],"suites":[],"passes":["94b1c27f-b790-4bcd-8e12-82e12a531f23"],"failures":[],"pending":[],"skipped":[],"duration":5505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f8a69cd6-5f06-4819-8be5-b7aad56a18ab","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3b37ae38-ba46-4b70-a39a-baf6bea8425f","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":3725,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"227c2622-163f-4708-9cb0-6c268c573332","parentUUID":"3b37ae38-ba46-4b70-a39a-baf6bea8425f","isHook":false,"skipped":false}],"suites":[],"passes":["227c2622-163f-4708-9cb0-6c268c573332"],"failures":[],"pending":[],"skipped":[],"duration":3725,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7805201b-40e7-4842-b489-872ff88fb2d4","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"52bb6430-d746-4e92-9a3c-477ed96c7379","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":2856,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{"message":"CypressError: `cy.within()` can only be called on a single element. Your subject contained 2 elements. Narrow down your subject to a single element (using `.first()`, for example) before calling `.within()`.\n\nTo run `.within()` over multiple subjects, use `.each()`.\n\n `cy.get('div').each($div => {`\n ` cy.wrap($div).within(() => { ... })`\n `})`\n\nhttps://on.cypress.io/within","estack":"CypressError: `cy.within()` can only be called on a single element. Your subject contained 2 elements. Narrow down your subject to a single element (using `.first()`, for example) before calling `.within()`.\n\nTo run `.within()` over multiple subjects, use `.each()`.\n\n `cy.get('div').each($div => {`\n ` cy.wrap($div).within(() => { ... })`\n `})`\n\nhttps://on.cypress.io/within\n at <unknown> (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:132621:72)\n at __WEBPACK_DEFAULT_EXPORT__ (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:129790:10)\n at Context.within (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:132614:67)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138290:19)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/a-login/6-verify-forgot-password-works.js:6:23)","diff":null},"uuid":"00b201a8-436a-4f28-96d4-aee95cabad5f","parentUUID":"52bb6430-d746-4e92-9a3c-477ed96c7379","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["00b201a8-436a-4f28-96d4-aee95cabad5f"],"pending":[],"skipped":[],"duration":2856,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"77869f83-0c63-48d5-a9b8-ccec9c3f2050","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"18618882-5a7b-4011-ad9f-5a12d214ef51","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":2707,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"572bce35-9089-40fa-8694-25fcc54e1afe","parentUUID":"18618882-5a7b-4011-ad9f-5a12d214ef51","isHook":false,"skipped":false}],"suites":[],"passes":["572bce35-9089-40fa-8694-25fcc54e1afe"],"failures":[],"pending":[],"skipped":[],"duration":2707,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7517bfda-5501-4b97-99be-ca7b0f097606","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"061a59df-1460-4ec2-bd8d-9c1452f85669","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":5100,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"e47ec75a-cec0-4709-9610-74d5e318b6c2","parentUUID":"061a59df-1460-4ec2-bd8d-9c1452f85669","isHook":false,"skipped":false}],"suites":[],"passes":["e47ec75a-cec0-4709-9610-74d5e318b6c2"],"failures":[],"pending":[],"skipped":[],"duration":5100,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1c4ca563-0242-42b0-9452-aad94a002fd2","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c7dad481-c97d-4386-a5cd-f5d154178d3e","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":4853,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"ec8fa967-36fd-4854-a614-ff6fc5901abe","parentUUID":"c7dad481-c97d-4386-a5cd-f5d154178d3e","isHook":false,"skipped":false}],"suites":[],"passes":["ec8fa967-36fd-4854-a614-ff6fc5901abe"],"failures":[],"pending":[],"skipped":[],"duration":4853,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c015166a-49af-46d3-b502-2e8c45af9c54","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":"633c7a59-1510-4e78-b934-3a2047fd6078","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":2712,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"7825bf50-a849-43f7-a72b-5d9a2dada238","parentUUID":"633c7a59-1510-4e78-b934-3a2047fd6078","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7825bf50-a849-43f7-a72b-5d9a2dada238"],"pending":[],"skipped":[],"duration":2712,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"de327d07-9ec3-49b5-814d-fb8ab00f47ed","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a57a137b-c7e6-498c-8841-fb2b79b1986e","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":2124,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"2df63927-43f3-47bf-b2a7-801dbdde633b","parentUUID":"a57a137b-c7e6-498c-8841-fb2b79b1986e","isHook":false,"skipped":false}],"suites":[],"passes":["2df63927-43f3-47bf-b2a7-801dbdde633b"],"failures":[],"pending":[],"skipped":[],"duration":2124,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4659120-809c-42e2-bbfb-a0de50c57ee3","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4194b107-4125-4b42-9a38-1b092b539982","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"2ff42393-dd81-469e-9ef1-b1cf0d229178","parentUUID":"4194b107-4125-4b42-9a38-1b092b539982","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"e44dbd42-06f2-431f-8476-2313c2b35496","parentUUID":"4194b107-4125-4b42-9a38-1b092b539982","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{},"uuid":"df98eb46-8176-4f65-b048-57f7c6d8815d","parentUUID":"4194b107-4125-4b42-9a38-1b092b539982","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":[],"pending":["2ff42393-dd81-469e-9ef1-b1cf0d229178","e44dbd42-06f2-431f-8476-2313c2b35496","df98eb46-8176-4f65-b048-57f7c6d8815d"],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ee694e8-32c9-45f3-929e-7d38b1d0b49c","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":"3a7b436f-45fa-4241-9941-b00b00ae67a1","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":2692,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"a2a68bb6-325b-4e0c-bfd3-b333b7d0a841","parentUUID":"3a7b436f-45fa-4241-9941-b00b00ae67a1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a2a68bb6-325b-4e0c-bfd3-b333b7d0a841"],"pending":[],"skipped":[],"duration":2692,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"aef9265c-31ac-423c-84c5-7e740639dce9","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":"39a7e4c0-3b1a-4d2f-9c76-7a98640714f5","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":3209,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"0c20a04c-d179-4ca4-9c57-9c318842d742","parentUUID":"39a7e4c0-3b1a-4d2f-9c76-7a98640714f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0c20a04c-d179-4ca4-9c57-9c318842d742"],"pending":[],"skipped":[],"duration":3209,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5e2a6aa7-c82b-4610-8d0b-2950cbbdb658","title":"","fullFile":"cypress/e2e/p-portal/1-login/1-login_spec.js","file":"cypress/e2e/p-portal/1-login/1-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1ed9c84c-bce0-48b7-a519-23d6e44a3bc7","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":3491,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{},"uuid":"7bc6c190-0635-43c4-a8ed-2836dc6587c0","parentUUID":"1ed9c84c-bce0-48b7-a519-23d6e44a3bc7","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":4103,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/1-login/1-login_spec.js:7:7)","diff":null},"uuid":"3175f76a-d2d9-4606-8764-4302837f7fa3","parentUUID":"1ed9c84c-bce0-48b7-a519-23d6e44a3bc7","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4073,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/1-login/1-login_spec.js:10:7)","diff":null},"uuid":"ae190abe-d0c6-4e36-89f1-8c4ac1dbbf59","parentUUID":"1ed9c84c-bce0-48b7-a519-23d6e44a3bc7","isHook":false,"skipped":false}],"suites":[],"passes":["7bc6c190-0635-43c4-a8ed-2836dc6587c0"],"failures":["3175f76a-d2d9-4606-8764-4302837f7fa3","ae190abe-d0c6-4e36-89f1-8c4ac1dbbf59"],"pending":[],"skipped":[],"duration":11667,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"77bd485d-da23-4b2d-bf40-2c12c5e3a66a","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/1-subscription.spec.js","file":"cypress/e2e/p-portal/2-subscription/1-subscription.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"29749ee4-2b9d-4cc5-b8ea-a6d05fd36102","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":13186,"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(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(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((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(elm => {\n expect(elm.length).to.eq(1);\n});\ncy.get('.list-group-item').eq(1).then(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);\n ////////here\n cy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(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(elm => {\n expect(elm).to.eq(totalInv);\n });\n cy.get('.bg-info').first().then(amount => {\n expect(invAmt.text()).to.include(amount.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/1-subscription.spec.js:10:11)","diff":null},"uuid":"6e235f57-961e-40fa-8cb6-adfb2801b04f","parentUUID":"29749ee4-2b9d-4cc5-b8ea-a6d05fd36102","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6e235f57-961e-40fa-8cb6-adfb2801b04f"],"pending":[],"skipped":[],"duration":13186,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4c21afbf-dbac-4593-b238-afdb5b529756","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js","file":"cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2b6b5ec9-dbaf-4f65-bc34-ce6b550df2d3","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":13179,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var list_top;\nvar inv_price;\nvar user_name;\n//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(top => {\n list_top = top.text();\n});\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);\nlet selected_plan = 0;\nlet updatedSelected_plan = 0;\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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(elm => {\n selected_plan = elm.length;\n});\n//start\ncy.get('.card-title').each((element, index) => {\n if (element.text().includes('Volume')) {\n cy.get('[class=\"card-footer text-center\"] .row .col .lead').eq(index + 1).then(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(elm => {\n updatedSelected_plan = elm.length;\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(() => {\n expect(updatedSelected_plan).to.not.eq(selected_plan);\n}).then(() => {\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(elm => {\n let normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.gt(totalBefore);\n});\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(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(price2 => {\n expect(inv_price).to.equal(price2.text());\n});\ncy.get('[class=\"navbar-nav head-nav-right\"] [class=\"nav-item\"] p strong').then(name => {\n user_name = name.text();\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js:12:17)","diff":null},"uuid":"8046e0f5-cee5-41ca-8eb2-a34c36f676fe","parentUUID":"2b6b5ec9-dbaf-4f65-bc34-ce6b550df2d3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8046e0f5-cee5-41ca-8eb2-a34c36f676fe"],"pending":[],"skipped":[],"duration":13179,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"06e0de8b-1ed3-4e3a-aef3-4eda69921e3e","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js","file":"cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9957a9f2-10ff-4e69-aab3-7cfaccabc203","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":8168,"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);\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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($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(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(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(($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(() => {\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(elm => {\n let 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(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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js:6:17)","diff":null},"uuid":"3e5a2c0d-a598-46f8-ac38-1eafd4677e40","parentUUID":"9957a9f2-10ff-4e69-aab3-7cfaccabc203","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3e5a2c0d-a598-46f8-ac38-1eafd4677e40"],"pending":[],"skipped":[],"duration":8168,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bf353e5a-4a44-46ed-815f-e853b28547c5","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js","file":"cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bd5690a5-aa6c-48b4-8457-6340700eb6f5","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":13158,"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(elm => {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(elm => {\n expect(elm.text().trim()).to.eq('Suspended');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js:7:54)","diff":null},"uuid":"055bbe2d-e031-4707-a751-2503f9fbafe6","parentUUID":"bd5690a5-aa6c-48b4-8457-6340700eb6f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["055bbe2d-e031-4707-a751-2503f9fbafe6"],"pending":[],"skipped":[],"duration":13158,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7e2853e3-215f-41da-8135-d77317e8a430","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":"12c7f87b-29cc-4771-b31f-971560d33497","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":2696,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:101:8)","diff":null},"uuid":"b26aa689-d07b-43fd-974b-83cd91e66be7","parentUUID":"12c7f87b-29cc-4771-b31f-971560d33497","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b26aa689-d07b-43fd-974b-83cd91e66be7"],"pending":[],"skipped":[],"duration":2696,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"df4d4102-b219-494d-8af0-6fb600c578d9","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js","file":"cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a3fa81c2-9ef1-414e-84aa-65f67f2d1efe","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":13150,"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(elm => {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(elm => {\n expect(elm.text().trim()).to.eq('Active');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js:6:54)","diff":null},"uuid":"2f565d97-2a6e-4ead-b12a-86c31ec083dc","parentUUID":"a3fa81c2-9ef1-414e-84aa-65f67f2d1efe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2f565d97-2a6e-4ead-b12a-86c31ec083dc"],"pending":[],"skipped":[],"duration":13150,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e798dab-ee82-4595-b58a-22ae3047941a","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js","file":"cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fcc1bea9-0ac1-4714-8ed7-d6ace3913cab","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":8150,"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(elm => {\n expect(elm.text().trim()).to.eq('Cancelled');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js:5:54)","diff":null},"uuid":"33af51bb-a0f4-48d5-9128-1f01db83650e","parentUUID":"fcc1bea9-0ac1-4714-8ed7-d6ace3913cab","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["33af51bb-a0f4-48d5-9128-1f01db83650e"],"pending":[],"skipped":[],"duration":8150,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ebb4de60-f105-427f-a842-0dce674362e0","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js","file":"cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"dd03be72-2375-4125-8468-a40ec6a18619","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":8113,"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);\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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(($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');\n// 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(() => {\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(elm => {\n let normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.not.eq(totalBefore);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js:6:25)","diff":null},"uuid":"ea8534dc-2712-4823-b1d7-dbc5a941161a","parentUUID":"dd03be72-2375-4125-8468-a40ec6a18619","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea8534dc-2712-4823-b1d7-dbc5a941161a"],"pending":[],"skipped":[],"duration":8113,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a77d38fd-c40c-4534-b288-b3f0388504ed","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b3f5526a-4caa-49df-be70-e760cd78c334","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":2007,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:8:11)","diff":null},"uuid":"2326b3d2-cf68-499a-8ff4-0dd1c58887cc","parentUUID":"b3f5526a-4caa-49df-be70-e760cd78c334","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":12055,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:99:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:70:8)","diff":null},"uuid":"4e6324c8-55d5-4288-a27b-e9e5350fbb76","parentUUID":"b3f5526a-4caa-49df-be70-e760cd78c334","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":1444,"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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:74:11)","diff":null},"uuid":"42656b53-a8eb-42ea-8055-607e75b8882b","parentUUID":"b3f5526a-4caa-49df-be70-e760cd78c334","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2326b3d2-cf68-499a-8ff4-0dd1c58887cc","4e6324c8-55d5-4288-a27b-e9e5350fbb76","42656b53-a8eb-42ea-8055-607e75b8882b"],"pending":[],"skipped":[],"duration":15506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"34e6f117-e605-4382-92dd-aa201410f060","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b1fbf7b4-a0c3-4cec-9ca1-bb9f0fa5f46d","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":1999,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:13:11)","diff":null},"uuid":"6694b39c-2073-48f2-a562-50bd2a1a9e3a","parentUUID":"b1fbf7b4-a0c3-4cec-9ca1-bb9f0fa5f46d","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":12087,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:84:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:74:8)","diff":null},"uuid":"aabb6a68-f490-4e40-b1d6-333a97ea076a","parentUUID":"b1fbf7b4-a0c3-4cec-9ca1-bb9f0fa5f46d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6694b39c-2073-48f2-a562-50bd2a1a9e3a","aabb6a68-f490-4e40-b1d6-333a97ea076a"],"pending":[],"skipped":[],"duration":14086,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6fd293a5-af0f-43fe-84be-efc6b5e9c69f","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3e698e68-37a8-4093-8ac9-e4f407efab2a","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":1995,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:9:11)","diff":null},"uuid":"477cd501-4308-4ced-8551-c9f638a6d8f5","parentUUID":"3e698e68-37a8-4093-8ac9-e4f407efab2a","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":12056,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:89:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:79:8)","diff":null},"uuid":"a51357c3-9c87-4262-895d-38aaaee61009","parentUUID":"3e698e68-37a8-4093-8ac9-e4f407efab2a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["477cd501-4308-4ced-8551-c9f638a6d8f5","a51357c3-9c87-4262-895d-38aaaee61009"],"pending":[],"skipped":[],"duration":14051,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b35d7218-af3f-41f3-92bb-453a5033a3ac","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"09b4bc3f-4c0c-4d10-b8cf-91e31240cf1e","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":2021,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:8:11)","diff":null},"uuid":"939554ee-9172-48b2-8aca-1bfd59bff5ed","parentUUID":"09b4bc3f-4c0c-4d10-b8cf-91e31240cf1e","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":12101,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:79:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:69:8)","diff":null},"uuid":"1ddd2710-e61b-45f7-8bc1-7251994fb9b9","parentUUID":"09b4bc3f-4c0c-4d10-b8cf-91e31240cf1e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["939554ee-9172-48b2-8aca-1bfd59bff5ed","1ddd2710-e61b-45f7-8bc1-7251994fb9b9"],"pending":[],"skipped":[],"duration":14122,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"092c9925-5040-4e8b-8049-c66125923609","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"310ebc8d-54d1-4585-9a01-ce12b6b2838b","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":2006,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:8:11)","diff":null},"uuid":"69089729-1dae-4639-9b33-2e74f98aee05","parentUUID":"310ebc8d-54d1-4585-9a01-ce12b6b2838b","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":12054,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:78:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:68:8)","diff":null},"uuid":"2cbf6d0f-56f8-46c3-a010-a3ee0204b889","parentUUID":"310ebc8d-54d1-4585-9a01-ce12b6b2838b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["69089729-1dae-4639-9b33-2e74f98aee05","2cbf6d0f-56f8-46c3-a010-a3ee0204b889"],"pending":[],"skipped":[],"duration":14060,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c717b5a3-7bb1-463f-8dc1-98ab3f8a2f22","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"58831cca-9194-47e6-8617-eb2199920649","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":2006,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:8:11)","diff":null},"uuid":"00a70c14-ca48-4130-804c-912b0fc30ca3","parentUUID":"58831cca-9194-47e6-8617-eb2199920649","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":12051,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:80:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:70:8)","diff":null},"uuid":"eb807885-e49e-4701-b0d0-f731705a38d6","parentUUID":"58831cca-9194-47e6-8617-eb2199920649","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["00a70c14-ca48-4130-804c-912b0fc30ca3","eb807885-e49e-4701-b0d0-f731705a38d6"],"pending":[],"skipped":[],"duration":14057,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ec840dd3-e312-4336-bef9-8fd42f146bd0","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js","file":"cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c692e15e-c810-4d3f-b63d-3e03d5138b65","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":11165,"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($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(spans => {\n expect(spans.text()).to.eq('Due');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:7:17)","diff":null},"uuid":"b4d2e745-6c8f-4167-8e8b-f720f23d3f2d","parentUUID":"c692e15e-c810-4d3f-b63d-3e03d5138b65","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":10493,"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($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(spans => {\n expect(spans.text()).to.eq('Overdue');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:25:17)","diff":null},"uuid":"be17d461-ba30-4291-8f1a-0a0fc887f2fa","parentUUID":"c692e15e-c810-4d3f-b63d-3e03d5138b65","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":10540,"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($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(spans => {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:44:17)","diff":null},"uuid":"3f57d732-ed67-4ec7-8c07-0545d5c5e63b","parentUUID":"c692e15e-c810-4d3f-b63d-3e03d5138b65","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":10624,"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($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(spans => {\n expect(spans.text()).to.eq('Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:63:17)","diff":null},"uuid":"88e241c7-07a4-40b8-ad1d-54614d8af401","parentUUID":"c692e15e-c810-4d3f-b63d-3e03d5138b65","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":10635,"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($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(spans => {\n expect(spans.text()).to.eq('Bounced');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:82:17)","diff":null},"uuid":"2fef7624-0708-4a43-980d-fb9070098396","parentUUID":"c692e15e-c810-4d3f-b63d-3e03d5138b65","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":10649,"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($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(spans => {\n expect(spans.text()).to.eq('Void');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:101:17)","diff":null},"uuid":"1f169612-1d7b-43c5-b468-0aa9f4177806","parentUUID":"c692e15e-c810-4d3f-b63d-3e03d5138b65","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4d2e745-6c8f-4167-8e8b-f720f23d3f2d","be17d461-ba30-4291-8f1a-0a0fc887f2fa","3f57d732-ed67-4ec7-8c07-0545d5c5e63b","88e241c7-07a4-40b8-ad1d-54614d8af401","2fef7624-0708-4a43-980d-fb9070098396","1f169612-1d7b-43c5-b468-0aa9f4177806"],"pending":[],"skipped":[],"duration":64106,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2b50c0ed-ce83-46de-9c58-28ad896289c5","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":"939fc6ea-6786-4226-9294-26acd672d946","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":2634,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"45f86090-9f75-4046-87fd-b3390b255b6c","parentUUID":"939fc6ea-6786-4226-9294-26acd672d946","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["45f86090-9f75-4046-87fd-b3390b255b6c"],"pending":[],"skipped":[],"duration":2634,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cd7645e8-a469-4c02-b506-2d3910aa0ac3","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js","file":"cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3a052555-695f-426c-8bce-be774d93be61","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":2007,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:8:11)","diff":null},"uuid":"9ab780d8-fba7-4e42-aa60-32b45f067d19","parentUUID":"3a052555-695f-426c-8bce-be774d93be61","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":12037,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:143:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:71:8)","diff":null},"uuid":"eaff920c-60f1-4816-b9cd-44c78452c3e1","parentUUID":"3a052555-695f-426c-8bce-be774d93be61","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9ab780d8-fba7-4e42-aa60-32b45f067d19","eaff920c-60f1-4816-b9cd-44c78452c3e1"],"pending":[],"skipped":[],"duration":14044,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4b55f015-d02d-46fc-bc4d-3328fe5820b4","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","file":"cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d8af2805-eb6d-461b-bd05-e966184ba2e9","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":2014,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:8:11)","diff":null},"uuid":"1c3d134b-916f-4a6f-992d-a1183a82659d","parentUUID":"d8af2805-eb6d-461b-bd05-e966184ba2e9","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":12067,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:144:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:66:8)","diff":null},"uuid":"af8c2274-9def-4226-988b-33b697acdce1","parentUUID":"d8af2805-eb6d-461b-bd05-e966184ba2e9","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10507,"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);\n// Checking if second child \"row\" is found\ncy.get('[class=\"content\"] [class=\"container-fluid\"]').then(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(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(element => {\n if (element.find('.row').eq(1).length > 0) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(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(spans => {\n expect(spans.text()).to.eq('Partially Paid');\n });\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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:74:17)","diff":null},"uuid":"3495bae5-4e29-4105-b720-70b15b67ae0e","parentUUID":"d8af2805-eb6d-461b-bd05-e966184ba2e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1c3d134b-916f-4a6f-992d-a1183a82659d","af8c2274-9def-4226-988b-33b697acdce1","3495bae5-4e29-4105-b720-70b15b67ae0e"],"pending":[],"skipped":[],"duration":24588,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"abaaf054-05d0-40ee-8355-5f346cd96a1e","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","file":"cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6aa9d1ad-e126-4c7d-9cf4-4c2a961d5b3f","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":11078,"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(() => {\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(elm => {\n let 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(elm => {\n totalInvoiceAmount = parseInt(elm.text().replace(/[$,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').its('length').then(() => {\n setUnappliedAmount(totalInvoiceAmount);\n payInvoice(totalInvoiceAmount);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js:9:17)","diff":null},"uuid":"6601d102-fef8-40f3-bca3-368ee9759afb","parentUUID":"6aa9d1ad-e126-4c7d-9cf4-4c2a961d5b3f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6601d102-fef8-40f3-bca3-368ee9759afb"],"pending":[],"skipped":[],"duration":11078,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e3f1f294-bd1d-460b-aa46-f7d5ed7fa537","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","file":"cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"54b3a4f0-2178-4d21-b408-7de2ebbc6d70","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":1985,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n//Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:8:11)","diff":null},"uuid":"6174812e-3804-431d-b5b6-158c055cb259","parentUUID":"54b3a4f0-2178-4d21-b408-7de2ebbc6d70","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":11970,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:110:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:70:8)","diff":null},"uuid":"37f3d281-85d0-4677-8bf9-ed62aecad274","parentUUID":"54b3a4f0-2178-4d21-b408-7de2ebbc6d70","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10496,"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(() => {\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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:78:17)","diff":null},"uuid":"ae8c1288-07b4-4e05-8262-b6c661f4b7a1","parentUUID":"54b3a4f0-2178-4d21-b408-7de2ebbc6d70","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6174812e-3804-431d-b5b6-158c055cb259","37f3d281-85d0-4677-8bf9-ed62aecad274","ae8c1288-07b4-4e05-8262-b6c661f4b7a1"],"pending":[],"skipped":[],"duration":24451,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a73ce2e4-0aaf-48b2-9f93-2dd833bdf673","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","file":"cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c5c8102b-ef25-4f8d-8ee9-7b8787f754b0","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":1964,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:8:11)","diff":null},"uuid":"e18de9f6-09a4-4a60-ab50-ecd5769bbad4","parentUUID":"c5c8102b-ef25-4f8d-8ee9-7b8787f754b0","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":11984,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:120:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:63:8)","diff":null},"uuid":"fc9a092b-e73e-4cca-bccd-949364fdd4e1","parentUUID":"c5c8102b-ef25-4f8d-8ee9-7b8787f754b0","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10508,"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(() => {\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(status => {\n cy.log('text status: ' + status.text());\n cy.get('.basic-information .table tbody tr').eq(6).then(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(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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n });\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:71:17)","diff":null},"uuid":"7b33b82e-059c-41b3-94b0-f4252cf04d15","parentUUID":"c5c8102b-ef25-4f8d-8ee9-7b8787f754b0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e18de9f6-09a4-4a60-ab50-ecd5769bbad4","fc9a092b-e73e-4cca-bccd-949364fdd4e1","7b33b82e-059c-41b3-94b0-f4252cf04d15"],"pending":[],"skipped":[],"duration":24456,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9d8a5217-0955-4185-8ce5-e28e6627fc97","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","file":"cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f2739184-7f96-40a0-bc1e-71deef1e583f","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":2008,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:8:11)","diff":null},"uuid":"5e23a050-9c4f-4ca7-871b-bbe8bd15ca04","parentUUID":"f2739184-7f96-40a0-bc1e-71deef1e583f","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":15305,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:160:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:70:8)","diff":null},"uuid":"d0e17eaf-4bc1-4508-b078-d7f4b8f36ee5","parentUUID":"f2739184-7f96-40a0-bc1e-71deef1e583f","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10589,"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(() => {\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(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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);\n // 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((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(element => {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n var y;\n cy.get('#relatedList-bulk-action-Invoice_Customer th').each((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n y = 'dataTable__table-td-' + index;\n cy.get(y).first().then(element => {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:78:17)","diff":null},"uuid":"3e18a019-1ff5-4e0a-a93c-8666bee74326","parentUUID":"f2739184-7f96-40a0-bc1e-71deef1e583f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5e23a050-9c4f-4ca7-871b-bbe8bd15ca04","d0e17eaf-4bc1-4508-b078-d7f4b8f36ee5","3e18a019-1ff5-4e0a-a93c-8666bee74326"],"pending":[],"skipped":[],"duration":27902,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"47ddcba9-92f2-4aeb-b922-68a4d929abbf","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","file":"cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4d3f970e-8ebb-427e-8f0e-c7de905c9c18","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":2156,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:8:11)","diff":null},"uuid":"8082c1aa-cb64-43f1-ad90-1d715bd3d7bd","parentUUID":"4d3f970e-8ebb-427e-8f0e-c7de905c9c18","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":12399,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:131:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:70:8)","diff":null},"uuid":"027baddf-36f9-478c-91e0-088e4021d547","parentUUID":"4d3f970e-8ebb-427e-8f0e-c7de905c9c18","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10632,"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(() => {\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(() => {\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((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(element => {\n expect(element.text()).to.eq('Declined');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:78:17)","diff":null},"uuid":"8e0a31f3-2082-4bdd-b6ff-f65e43358b65","parentUUID":"4d3f970e-8ebb-427e-8f0e-c7de905c9c18","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8082c1aa-cb64-43f1-ad90-1d715bd3d7bd","027baddf-36f9-478c-91e0-088e4021d547","8e0a31f3-2082-4bdd-b6ff-f65e43358b65"],"pending":[],"skipped":[],"duration":25187,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"473277ae-210d-4202-9cf5-bc04e3133455","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","file":"cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"37ea7262-458a-420a-b3d7-d088b913c5f2","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":1945,"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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at createOrder (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:80:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:8:8)","diff":null},"uuid":"2c0d57fc-fefd-4fce-b164-7da537d969d1","parentUUID":"37ea7262-458a-420a-b3d7-d088b913c5f2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2c0d57fc-fefd-4fce-b164-7da537d969d1"],"pending":[],"skipped":[],"duration":1945,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c630f84-10cc-4df3-9960-71233588b93f","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"50f9a866-e74b-4486-a847-711cecb7993d","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":1948,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:63:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"7f466c75-1b92-4581-a207-2a33b9407645","parentUUID":"50f9a866-e74b-4486-a847-711cecb7993d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7f466c75-1b92-4581-a207-2a33b9407645"],"pending":[],"skipped":[],"duration":1948,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1cb595e9-86a8-48ea-997b-3746effb2727","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"f7c31552-2094-49f0-8903-bb53d7b78049","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":2007,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:64:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"31cb213e-1050-44af-bf69-a01c53e905a4","parentUUID":"f7c31552-2094-49f0-8903-bb53d7b78049","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31cb213e-1050-44af-bf69-a01c53e905a4"],"pending":[],"skipped":[],"duration":2007,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"59fd4ced-38ed-4e5f-af58-4dd4d940b66f","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":"6e937f81-f7b0-4757-b8f0-4a3d09d3f11a","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":2647,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"0b094dc0-ff5d-4650-a2ba-f9808d1f17f4","parentUUID":"6e937f81-f7b0-4757-b8f0-4a3d09d3f11a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0b094dc0-ff5d-4650-a2ba-f9808d1f17f4"],"pending":[],"skipped":[],"duration":2647,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"762ab13a-4bbe-4afa-93eb-23997098e512","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"61581a3e-5529-4053-975c-d53986354556","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":1966,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:61:7)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"73c8dcdf-c178-4b90-8d0c-5e929f56d5d9","parentUUID":"61581a3e-5529-4053-975c-d53986354556","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["73c8dcdf-c178-4b90-8d0c-5e929f56d5d9"],"pending":[],"skipped":[],"duration":1966,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b55affae-3a4c-486e-8399-e354745e5044","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","file":"cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"27f58173-2d01-4877-b6b2-7c4ced605d2a","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":1995,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:61:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:8:8)","diff":null},"uuid":"4ac29b55-125f-435f-961e-124114d5055f","parentUUID":"27f58173-2d01-4877-b6b2-7c4ced605d2a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4ac29b55-125f-435f-961e-124114d5055f"],"pending":[],"skipped":[],"duration":1995,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0d58324-0ce3-4192-8770-ba82fcebda4e","title":"","fullFile":"cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js","file":"cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a1e7f290-d808-4521-9f7e-5496e649edf6","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":11144,"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(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(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(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(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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:7:17)","diff":null},"uuid":"2d435d8b-5ea0-43fe-8ff9-6eb385216e49","parentUUID":"a1e7f290-d808-4521-9f7e-5496e649edf6","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":4096,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:38:11)","diff":null},"uuid":"641b9bf0-9a1a-4e11-82a8-6b3b283467b8","parentUUID":"a1e7f290-d808-4521-9f7e-5496e649edf6","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":2713,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test12312');","err":{},"uuid":"b2478406-dd51-482f-a529-0363897e04ea","parentUUID":"a1e7f290-d808-4521-9f7e-5496e649edf6","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":10555,"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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:50:17)","diff":null},"uuid":"36061985-880c-4206-b64c-29aea963c48d","parentUUID":"a1e7f290-d808-4521-9f7e-5496e649edf6","isHook":false,"skipped":false}],"suites":[],"passes":["b2478406-dd51-482f-a529-0363897e04ea"],"failures":["2d435d8b-5ea0-43fe-8ff9-6eb385216e49","641b9bf0-9a1a-4e11-82a8-6b3b283467b8","36061985-880c-4206-b64c-29aea963c48d"],"pending":[],"skipped":[],"duration":28508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3edc01ad-7dbb-4cc4-84ec-545aa315f69e","title":"","fullFile":"cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js","file":"cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ca251508-6a1e-4cce-aba1-9568613597e0","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":11144,"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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js:7:17)","diff":null},"uuid":"5553f450-fda0-4be8-80f0-7513d314d75a","parentUUID":"ca251508-6a1e-4cce-aba1-9568613597e0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5553f450-fda0-4be8-80f0-7513d314d75a"],"pending":[],"skipped":[],"duration":11144,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ba25c071-e76a-49af-a2fc-c90f3bc0bc4a","title":"","fullFile":"cypress/e2e/p-portal/8-logout/1-logout_spec.js","file":"cypress/e2e/p-portal/8-logout/1-logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3ca752fd-7f5a-4291-8169-c124ecb7e65b","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":3423,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{},"uuid":"9ba519fb-7551-41cd-9807-821747eac091","parentUUID":"3ca752fd-7f5a-4291-8169-c124ecb7e65b","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":4084,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:7:7)","diff":null},"uuid":"d82df72f-027e-4063-a72e-e52bdd58b556","parentUUID":"3ca752fd-7f5a-4291-8169-c124ecb7e65b","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4072,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:10:7)","diff":null},"uuid":"0546b73e-e744-45b1-a263-2966a9e666c8","parentUUID":"3ca752fd-7f5a-4291-8169-c124ecb7e65b","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":4085,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:14:7)","diff":null},"uuid":"71183a32-d2a5-4afe-afb2-0bfc075a9dc6","parentUUID":"3ca752fd-7f5a-4291-8169-c124ecb7e65b","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":13,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"d53c9328-0dda-48eb-9ac7-eadab2a1fb1f","parentUUID":"3ca752fd-7f5a-4291-8169-c124ecb7e65b","isHook":false,"skipped":false}],"suites":[],"passes":["9ba519fb-7551-41cd-9807-821747eac091","d53c9328-0dda-48eb-9ac7-eadab2a1fb1f"],"failures":["d82df72f-027e-4063-a72e-e52bdd58b556","0546b73e-e744-45b1-a263-2966a9e666c8","71183a32-d2a5-4afe-afb2-0bfc075a9dc6"],"pending":[],"skipped":[],"duration":15677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"02c90bf0-db17-4ec9-b7db-02bafd7e0598","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":"3c4c44d9-5baa-4dd2-815d-ed7cf0808782","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":2698,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"9f18ff02-5d0a-440f-a696-a5cd5ad64cee","parentUUID":"3c4c44d9-5baa-4dd2-815d-ed7cf0808782","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f18ff02-5d0a-440f-a696-a5cd5ad64cee"],"pending":[],"skipped":[],"duration":2698,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"024a37df-4047-466e-a46f-a6d68e5ed782","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"41fdd51d-fd12-4253-9fc7-fb8752008d46","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":2629,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"be8fbe39-d369-4e74-b16a-1f0762bc7e34","parentUUID":"41fdd51d-fd12-4253-9fc7-fb8752008d46","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["be8fbe39-d369-4e74-b16a-1f0762bc7e34"],"pending":[],"skipped":[],"duration":2629,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"21c685f4-bc20-4ab4-bfef-c31de5e26e40","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d9dbdca6-f3f8-4137-84a7-e77c2cdc4a65","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":2693,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"641e8cf4-d848-44a7-a1ed-8391f3cb81b3","parentUUID":"d9dbdca6-f3f8-4137-84a7-e77c2cdc4a65","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["641e8cf4-d848-44a7-a1ed-8391f3cb81b3"],"pending":[],"skipped":[],"duration":2693,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a70da0b5-f50d-4db8-a144-41aad237f3b1","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0ca9cca3-8f57-4abc-8259-e12d108bd7cb","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":2742,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:101:8)","diff":null},"uuid":"54cf8edc-39cb-4141-bcda-8cffc9a1bba3","parentUUID":"0ca9cca3-8f57-4abc-8259-e12d108bd7cb","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":2670,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/cancel-coupon.js:153:8)","diff":null},"uuid":"0f138568-427c-495e-a804-485470a7e08d","parentUUID":"0ca9cca3-8f57-4abc-8259-e12d108bd7cb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["54cf8edc-39cb-4141-bcda-8cffc9a1bba3","0f138568-427c-495e-a804-485470a7e08d"],"pending":[],"skipped":[],"duration":5412,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f3708ff-a439-48d9-990e-36813850e17a","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e0c10c11-0cca-4fbd-a4d7-2ea25110037f","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":2666,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"d3aed9df-8248-480f-bf96-3d13cc33e2e7","parentUUID":"e0c10c11-0cca-4fbd-a4d7-2ea25110037f","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":2682,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"bd468448-d093-4e9f-a2c7-d2063b663e85","parentUUID":"e0c10c11-0cca-4fbd-a4d7-2ea25110037f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d3aed9df-8248-480f-bf96-3d13cc33e2e7","bd468448-d093-4e9f-a2c7-d2063b663e85"],"pending":[],"skipped":[],"duration":5348,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22aa4d38-614b-4f0f-a4e2-f189c6070c47","title":"","fullFile":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8ebd38cc-05e1-49be-b3a4-ff4a81896adf","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":15840,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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(1000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.wait(2000);\ncy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(status => {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/en/settings/workflows' to include '/settings/payment-gateways'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/en/settings/workflows' to include '/settings/payment-gateways'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:13:17)","diff":null},"uuid":"c64111aa-793d-4d66-89a5-eb891889b958","parentUUID":"8ebd38cc-05e1-49be-b3a4-ff4a81896adf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c64111aa-793d-4d66-89a5-eb891889b958"],"pending":[],"skipped":[],"duration":15840,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c1ca7b4d-8b25-4f95-9700-1efd488fd6e4","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":"3d599169-ee87-44b1-aebc-244dccd94794","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":2677,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"9434a260-edd1-4578-8f36-07ffe728b2f7","parentUUID":"3d599169-ee87-44b1-aebc-244dccd94794","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":"ffc28c97-4790-4e6a-8330-9d20fa79ed4f","parentUUID":"3d599169-ee87-44b1-aebc-244dccd94794","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":"d8088225-9621-4d69-838a-e3b5979c561a","parentUUID":"3d599169-ee87-44b1-aebc-244dccd94794","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":"339e6141-24bd-442e-96d7-d592df8d8058","parentUUID":"3d599169-ee87-44b1-aebc-244dccd94794","isHook":false,"skipped":true}],"suites":[],"passes":[],"failures":["9434a260-edd1-4578-8f36-07ffe728b2f7"],"pending":[],"skipped":["ffc28c97-4790-4e6a-8330-9d20fa79ed4f","d8088225-9621-4d69-838a-e3b5979c561a","339e6141-24bd-442e-96d7-d592df8d8058"],"duration":2677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3a733db8-b51c-4783-9bd0-997faa3e3ee6","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":"fcf92523-39af-4dd3-b4e1-0ced2012728b","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":2688,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"f3660301-e54f-4142-a728-031d07df5ab1","parentUUID":"fcf92523-39af-4dd3-b4e1-0ced2012728b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f3660301-e54f-4142-a728-031d07df5ab1"],"pending":[],"skipped":[],"duration":2688,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8e874d6-f8f9-4c5c-b8f7-749ca120db5b","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":"9eb8f5fd-6b42-4e51-ac39-daa0f575533d","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":2652,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"09640d9a-694c-402e-a46b-2d419824d1bc","parentUUID":"9eb8f5fd-6b42-4e51-ac39-daa0f575533d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09640d9a-694c-402e-a46b-2d419824d1bc"],"pending":[],"skipped":[],"duration":2652,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d15ff57-34b2-4df7-b3ea-0c060088e110","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":"06c666de-417e-41d2-bd36-e4dea8214646","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":2788,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"47bc2c0f-b133-4f10-8ae1-157a7f12d4ad","parentUUID":"06c666de-417e-41d2-bd36-e4dea8214646","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["47bc2c0f-b133-4f10-8ae1-157a7f12d4ad"],"pending":[],"skipped":[],"duration":2788,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0011ea7b-851d-43c6-9a2e-71316baa7730","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cce43c98-3795-4cb2-8358-994fca6bd3ed","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":24728,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:63:19)","diff":null},"uuid":"e7f95dcb-d73d-4522-8fd7-eb89e1a6c7cd","parentUUID":"cce43c98-3795-4cb2-8358-994fca6bd3ed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e7f95dcb-d73d-4522-8fd7-eb89e1a6c7cd"],"pending":[],"skipped":[],"duration":24728,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"289938ff-e4a6-44a7-b8cf-c48bf35d455d","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7a24b51f-c89a-465f-b66d-01582ab5cdd9","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":33905,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:80:19)","diff":null},"uuid":"38493ddd-06da-48cf-bdd3-35a75c71102d","parentUUID":"7a24b51f-c89a-465f-b66d-01582ab5cdd9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["38493ddd-06da-48cf-bdd3-35a75c71102d"],"pending":[],"skipped":[],"duration":33905,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2893308f-0a17-494a-b0c0-46a2a0476f06","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8985f089-db77-458d-8b1d-42f954164abd","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":30352,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:63:19)","diff":null},"uuid":"424d7f30-4997-41df-aeeb-380a444ff3f3","parentUUID":"8985f089-db77-458d-8b1d-42f954164abd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["424d7f30-4997-41df-aeeb-380a444ff3f3"],"pending":[],"skipped":[],"duration":30352,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b7746839-1ce4-4aa4-8811-f1498313dc3b","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"32e28753-3a1e-459b-b4ef-14299a31bf0b","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":33632,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:81:19)","diff":null},"uuid":"199ae158-07a8-49ee-b16a-d58874cc8c06","parentUUID":"32e28753-3a1e-459b-b4ef-14299a31bf0b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["199ae158-07a8-49ee-b16a-d58874cc8c06"],"pending":[],"skipped":[],"duration":33632,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"35414609-3739-4b95-9a4d-fbfe26257687","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":"fd61637f-abda-45f7-8471-fd766f50fdaa","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":2663,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:102:8)","diff":null},"uuid":"87963a89-a681-4df4-9256-2441aa8071ba","parentUUID":"fd61637f-abda-45f7-8471-fd766f50fdaa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["87963a89-a681-4df4-9256-2441aa8071ba"],"pending":[],"skipped":[],"duration":2663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8263478d-5c2f-4bdc-ab54-85e83f98e463","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3b2f08e0-4b4d-49a7-86f9-ccb94c069a84","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe 3D Secure","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe 3D Secure","timedOut":null,"duration":33420,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js:83:19)","diff":null},"uuid":"5521b990-b58c-4c4f-9d70-e5a8ee4d9b06","parentUUID":"3b2f08e0-4b4d-49a7-86f9-ccb94c069a84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5521b990-b58c-4c4f-9d70-e5a8ee4d9b06"],"pending":[],"skipped":[],"duration":33420,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee69e4f9-6291-44bf-b71a-742622cad435","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":"1877f490-a086-4193-95aa-b608d9bbd524","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","timedOut":null,"duration":2692,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:102:8)","diff":null},"uuid":"36975528-cdcb-43dc-b8c6-ee3fa8dc5504","parentUUID":"1877f490-a086-4193-95aa-b608d9bbd524","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["36975528-cdcb-43dc-b8c6-ee3fa8dc5504"],"pending":[],"skipped":[],"duration":2692,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"19902724-eccf-4d80-b1c6-15315dde7169","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":"c146b2af-55e3-4ece-b7d6-ab855eccf4c3","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":2643,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:107:8)","diff":null},"uuid":"cd5e7f0e-4f0a-47ca-b062-d307c6503277","parentUUID":"c146b2af-55e3-4ece-b7d6-ab855eccf4c3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cd5e7f0e-4f0a-47ca-b062-d307c6503277"],"pending":[],"skipped":[],"duration":2643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a996b58d-feef-4520-b094-c18b08abf178","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":"44e79fdb-852f-4901-aaab-1d571940580f","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":2644,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:115:8)","diff":null},"uuid":"09f682e1-74d4-4f9a-b572-4d130560b1b4","parentUUID":"44e79fdb-852f-4901-aaab-1d571940580f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["09f682e1-74d4-4f9a-b572-4d130560b1b4"],"pending":[],"skipped":[],"duration":2644,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0043679e-47e2-4452-9c8a-a73b5ec07f4d","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":"9fa665a5-c5b5-4f42-8e29-b005344136b0","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":2638,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\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:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:115:8)","diff":null},"uuid":"1701bf65-f487-4d4f-998e-9984dc18cd5b","parentUUID":"9fa665a5-c5b5-4f42-8e29-b005344136b0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1701bf65-f487-4d4f-998e-9984dc18cd5b"],"pending":[],"skipped":[],"duration":2638,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1398d897-7336-4bde-bd37-18bd2dc732a1","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"775238bf-1295-4b05-a23e-8a73b16df109","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":20281,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js:20:19)","diff":null},"uuid":"5cdcfe05-8d4f-464b-8d8a-db3f70532bc0","parentUUID":"775238bf-1295-4b05-a23e-8a73b16df109","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5cdcfe05-8d4f-464b-8d8a-db3f70532bc0"],"pending":[],"skipped":[],"duration":20281,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42099493-79e3-4bcc-a170-99e5b541b63f","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0330b6f4-ba41-4718-8126-76eed76b9fca","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":55741,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(image => {\n cy.get('.row img').its('length').then(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(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(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible')","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#sc_pcp-chk-acc-info_lbl-acc-info`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#sc_pcp-chk-acc-info_lbl-acc-info`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js:68:11)","diff":null},"uuid":"db583efc-d250-485f-9fca-07918ad9452e","parentUUID":"0330b6f4-ba41-4718-8126-76eed76b9fca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["db583efc-d250-485f-9fca-07918ad9452e"],"pending":[],"skipped":[],"duration":55741,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b441f069-488b-45ec-b662-72ac730855d6","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"104fc327-3589-4b57-ab3d-7ebd591e5505","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":20056,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4000002760003184', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.row .text-right`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js:23:19)","diff":null},"uuid":"c21822d7-7e8e-4bf8-b61c-9639638a93c3","parentUUID":"104fc327-3589-4b57-ab3d-7ebd591e5505","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c21822d7-7e8e-4bf8-b61c-9639638a93c3"],"pending":[],"skipped":[],"duration":20056,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dea2efb6-80cd-4d1f-b252-e5fd4b5baabf","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":"e37085b1-217a-4664-afd5-ed7730cbe11a","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":2655,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"7c12575a-065f-4d28-9934-5e54bfd42c24","parentUUID":"e37085b1-217a-4664-afd5-ed7730cbe11a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7c12575a-065f-4d28-9934-5e54bfd42c24"],"pending":[],"skipped":[],"duration":2655,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"614924e9-702c-4fc6-a33d-294b7ee1b24f","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":"95a1339f-c948-46ef-8ea7-327f4665894e","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":2641,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"10d243fa-8d8e-4420-bfeb-12005c7c92b8","parentUUID":"95a1339f-c948-46ef-8ea7-327f4665894e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["10d243fa-8d8e-4420-bfeb-12005c7c92b8"],"pending":[],"skipped":[],"duration":2641,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c14b87f9-c513-4c01-97d1-602089568480","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":"ad2c679a-e1b9-4eb6-8b06-617fd261271e","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":2701,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"23bc1bb0-7c69-430f-b350-6685e15a2e73","parentUUID":"ad2c679a-e1b9-4eb6-8b06-617fd261271e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["23bc1bb0-7c69-430f-b350-6685e15a2e73"],"pending":[],"skipped":[],"duration":2701,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a888f7b2-5456-4543-81a5-119899c822ef","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":"d60f3c40-6862-4a7c-8767-790ffb0237f5","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":2619,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"64f4a8cf-72b0-4428-a336-ec7a618a40cb","parentUUID":"d60f3c40-6862-4a7c-8767-790ffb0237f5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["64f4a8cf-72b0-4428-a336-ec7a618a40cb"],"pending":[],"skipped":[],"duration":2619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e7d1150-1eb2-4525-8f95-4d695607d126","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":"be75826e-76ca-4f2a-9c8b-dc3468272311","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":2644,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"b9b53bea-b8db-4746-b630-a1f98169092f","parentUUID":"be75826e-76ca-4f2a-9c8b-dc3468272311","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b9b53bea-b8db-4746-b630-a1f98169092f"],"pending":[],"skipped":[],"duration":2644,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5bdb4532-71ff-4e77-bd0e-d6253e33f94d","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ed80bc63-ac50-4f95-ae19-8b768656cc08","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":5486,"state":"passed","speed":"medium","pass":true,"fail":false,"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');\n// 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":{},"uuid":"aaa4e940-cf41-426f-82cf-928b065a25ea","parentUUID":"ed80bc63-ac50-4f95-ae19-8b768656cc08","isHook":false,"skipped":false}],"suites":[],"passes":["aaa4e940-cf41-426f-82cf-928b065a25ea"],"failures":[],"pending":[],"skipped":[],"duration":5486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"02da5bc7-b551-48b1-87db-5042e3098f06","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"eacbd40e-7759-4dc5-9cb9-2abe4f5d3454","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":7871,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"42aea296-bd0c-4f5a-95d9-7a5d30c28550","parentUUID":"eacbd40e-7759-4dc5-9cb9-2abe4f5d3454","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":5828,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"6b7e71b0-7734-4cef-b8a8-23e0af6f171f","parentUUID":"eacbd40e-7759-4dc5-9cb9-2abe4f5d3454","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":6527,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"d2cc7829-1ec6-4ab7-8319-884d6ab24319","parentUUID":"eacbd40e-7759-4dc5-9cb9-2abe4f5d3454","isHook":false,"skipped":false}],"suites":[],"passes":["42aea296-bd0c-4f5a-95d9-7a5d30c28550","6b7e71b0-7734-4cef-b8a8-23e0af6f171f","d2cc7829-1ec6-4ab7-8319-884d6ab24319"],"failures":[],"pending":[],"skipped":[],"duration":20226,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"96c1661f-ad73-4158-8e81-b0367335fb08","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":"f83daeb3-dc92-4d1b-a9be-f5a74de29309","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":2717,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"f604af44-e39c-4e43-8407-5e52094be11a","parentUUID":"f83daeb3-dc92-4d1b-a9be-f5a74de29309","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f604af44-e39c-4e43-8407-5e52094be11a"],"pending":[],"skipped":[],"duration":2717,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6bd3fbc4-8062-4651-b13b-b8d2878ed729","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"332f6e7d-7580-4d20-99f2-d677742a4a4a","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":20446,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"e3cddc77-efbc-4b3a-bc92-214ec26f9c82","parentUUID":"332f6e7d-7580-4d20-99f2-d677742a4a4a","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":19637,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"eea5235a-ea66-4a23-893f-5507d39bd28a","parentUUID":"332f6e7d-7580-4d20-99f2-d677742a4a4a","isHook":false,"skipped":false}],"suites":[],"passes":["e3cddc77-efbc-4b3a-bc92-214ec26f9c82","eea5235a-ea66-4a23-893f-5507d39bd28a"],"failures":[],"pending":[],"skipped":[],"duration":40083,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"babc42c5-1b6c-4163-9e22-24300109c62e","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f592c40b-f754-42dc-949f-eddba4ab338a","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":10440,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"ef70b837-bb56-4d9f-8737-cbdc6e465646","parentUUID":"f592c40b-f754-42dc-949f-eddba4ab338a","isHook":false,"skipped":false}],"suites":[],"passes":["ef70b837-bb56-4d9f-8737-cbdc6e465646"],"failures":[],"pending":[],"skipped":[],"duration":10440,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcbd1ceb-962a-4947-8631-4e23ebd3bcdb","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ce2eb324-420d-492d-81a7-d0cf9aefe960","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":10188,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"370802ea-5b2e-429c-afb5-20567359191c","parentUUID":"ce2eb324-420d-492d-81a7-d0cf9aefe960","isHook":false,"skipped":false}],"suites":[],"passes":["370802ea-5b2e-429c-afb5-20567359191c"],"failures":[],"pending":[],"skipped":[],"duration":10188,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22ed97db-7c33-41b4-b88f-b724cb334c25","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5aa7ee14-f385-4845-b979-d1e6f3543c72","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":7044,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{},"uuid":"625ec0df-d790-44b6-914b-4389cc511bcd","parentUUID":"5aa7ee14-f385-4845-b979-d1e6f3543c72","isHook":false,"skipped":false}],"suites":[],"passes":["625ec0df-d790-44b6-914b-4389cc511bcd"],"failures":[],"pending":[],"skipped":[],"duration":7044,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"46105cf9-6e63-4060-9f4b-be872d5f6c56","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a2d01f29-c28a-4482-8de4-c6d72c098359","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":6241,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"34e0debd-d5a3-4384-8784-2dbd90b8dfd7","parentUUID":"a2d01f29-c28a-4482-8de4-c6d72c098359","isHook":false,"skipped":false}],"suites":[],"passes":["34e0debd-d5a3-4384-8784-2dbd90b8dfd7"],"failures":[],"pending":[],"skipped":[],"duration":6241,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7b765fe7-7696-4775-90f4-c044c951322a","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d4acea3c-d951-4bbb-b260-0ab888233ef6","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":16604,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"7c037c7e-c911-4dfc-bb65-4eb70329f326","parentUUID":"d4acea3c-d951-4bbb-b260-0ab888233ef6","isHook":false,"skipped":false}],"suites":[],"passes":["7c037c7e-c911-4dfc-bb65-4eb70329f326"],"failures":[],"pending":[],"skipped":[],"duration":16604,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6509a17e-b4b8-46de-b7e5-e130b816b84c","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9dc39e76-3436-477d-a622-ddd3c7537c97","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":11177,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"f5d4afec-3802-4765-8dfa-4a133195517e","parentUUID":"9dc39e76-3436-477d-a622-ddd3c7537c97","isHook":false,"skipped":false}],"suites":[],"passes":["f5d4afec-3802-4765-8dfa-4a133195517e"],"failures":[],"pending":[],"skipped":[],"duration":11177,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3dc59441-3459-4550-afbf-54700ef4206e","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"44eda600-f1f5-4e49-9e10-dee677e316a2","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":6606,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"3964f45b-17c3-40b2-a63a-85ef4bb9dc28","parentUUID":"44eda600-f1f5-4e49-9e10-dee677e316a2","isHook":false,"skipped":false}],"suites":[],"passes":["3964f45b-17c3-40b2-a63a-85ef4bb9dc28"],"failures":[],"pending":[],"skipped":[],"duration":6606,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6deadcad-d4b9-4cbf-b90c-e02fad36d800","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4a0aa145-707f-4098-a1db-d693957722e0","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"bd6b1ca5-483a-423a-8d0e-85eb9a641333","parentUUID":"4a0aa145-707f-4098-a1db-d693957722e0","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"20dbb47c-c800-4c6d-85f2-9b187619ba41","parentUUID":"4a0aa145-707f-4098-a1db-d693957722e0","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{},"uuid":"58152d79-580e-421b-be15-aba04a3d1d53","parentUUID":"4a0aa145-707f-4098-a1db-d693957722e0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":[],"pending":["bd6b1ca5-483a-423a-8d0e-85eb9a641333","20dbb47c-c800-4c6d-85f2-9b187619ba41","58152d79-580e-421b-be15-aba04a3d1d53"],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d8aa9d2b-8f70-49b7-9f8f-3869e00a7d08","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":"5839a618-5ee5-4cc7-9d9a-fbf28571a1e9","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":2718,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"2a075fa4-c87b-4936-b886-6c73bc6a4860","parentUUID":"5839a618-5ee5-4cc7-9d9a-fbf28571a1e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2a075fa4-c87b-4936-b886-6c73bc6a4860"],"pending":[],"skipped":[],"duration":2718,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e960e2e8-7aba-48c6-99f0-6cd083f12313","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":"c5305083-8c0d-46fb-98a8-05ccc45f204d","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":2630,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"536b2ef4-c239-4d68-b12c-1060c6fb30f4","parentUUID":"c5305083-8c0d-46fb-98a8-05ccc45f204d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["536b2ef4-c239-4d68-b12c-1060c6fb30f4"],"pending":[],"skipped":[],"duration":2630,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d8982490-2d95-4757-a4fe-161e666fa4da","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":"e5092bb8-de1c-4f78-8f8d-d6aa39c4900d","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":2645,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"68a6323f-0399-4993-a0c8-619c2c9218d2","parentUUID":"e5092bb8-de1c-4f78-8f8d-d6aa39c4900d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["68a6323f-0399-4993-a0c8-619c2c9218d2"],"pending":[],"skipped":[],"duration":2645,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"04c09074-9578-485e-aadb-71563e56f6cd","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":"ae6f4fef-894f-4c0a-8baf-341259ea0fa2","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":2699,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"fd59f458-27ab-4263-a42c-9c9fed51d7b6","parentUUID":"ae6f4fef-894f-4c0a-8baf-341259ea0fa2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fd59f458-27ab-4263-a42c-9c9fed51d7b6"],"pending":[],"skipped":[],"duration":2699,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"72ca583f-2653-4293-9eee-03e0f5e6d487","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":"ea054c2d-3a1e-485b-905c-242fb0d64204","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":2646,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"6e8e444d-780f-409e-8d5b-ecf192e36721","parentUUID":"ea054c2d-3a1e-485b-905c-242fb0d64204","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6e8e444d-780f-409e-8d5b-ecf192e36721"],"pending":[],"skipped":[],"duration":2646,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"422e7f03-ee7a-4001-a1d6-0b4ded58bb66","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"76337d1d-a485-484e-bad0-8c4f5a78a09e","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":196008,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"7d46b63c-499f-4023-8667-088b7106587d","parentUUID":"76337d1d-a485-484e-bad0-8c4f5a78a09e","isHook":false,"skipped":false}],"suites":[],"passes":["7d46b63c-499f-4023-8667-088b7106587d"],"failures":[],"pending":[],"skipped":[],"duration":196008,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ba3fed7b-5248-4e20-824a-a94254eb3025","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2b0b0ca6-2406-4d44-9c74-df552f70678d","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":183926,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Your subscription is confirmed' within the element: <h5.lead.m-0> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Your subscription is confirmed' within the element: <h5.lead.m-0> but never did.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:306:79)","diff":null},"uuid":"88a720dc-cd02-451e-9910-649d7a3fb637","parentUUID":"2b0b0ca6-2406-4d44-9c74-df552f70678d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["88a720dc-cd02-451e-9910-649d7a3fb637"],"pending":[],"skipped":[],"duration":183926,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6b818af4-4dcd-4640-996d-53e4ca80424e","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f1208696-a85f-474e-ba9e-c4e5272e189b","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":131290,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"c9b7e927-eccd-4809-bb61-a816760b1194","parentUUID":"f1208696-a85f-474e-ba9e-c4e5272e189b","isHook":false,"skipped":false}],"suites":[],"passes":["c9b7e927-eccd-4809-bb61-a816760b1194"],"failures":[],"pending":[],"skipped":[],"duration":131290,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"216ab16a-b97d-4cb4-b50c-df939a302450","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"601ab832-3883-4ae3-976a-d74c4b5930e3","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":147123,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"30bc2b65-8010-403d-bdf5-05d865a72f5c","parentUUID":"601ab832-3883-4ae3-976a-d74c4b5930e3","isHook":false,"skipped":false}],"suites":[],"passes":["30bc2b65-8010-403d-bdf5-05d865a72f5c"],"failures":[],"pending":[],"skipped":[],"duration":147123,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"10a9f40b-042e-4c80-a9a9-c7d94abd162a","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":"80e0ae24-8ee8-48fd-b2c4-3a76de177b86","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":2627,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:102:8)","diff":null},"uuid":"a3189e3d-947a-4a9d-b330-193056ca2abb","parentUUID":"80e0ae24-8ee8-48fd-b2c4-3a76de177b86","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a3189e3d-947a-4a9d-b330-193056ca2abb"],"pending":[],"skipped":[],"duration":2627,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"53c8987c-b344-475d-a5b3-26a711d0a213","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6e35eeb0-a15c-4424-a957-8b50b9435785","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe 3D Secure","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe 3D Secure","timedOut":null,"duration":173737,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"c7398346-d8fc-470c-9f35-352365457313","parentUUID":"6e35eeb0-a15c-4424-a957-8b50b9435785","isHook":false,"skipped":false}],"suites":[],"passes":["c7398346-d8fc-470c-9f35-352365457313"],"failures":[],"pending":[],"skipped":[],"duration":173737,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"74cfbfb1-68d6-439f-91ed-46694b59ac3f","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":"c639fcb9-8f0d-4cdc-969e-4d04e9aa4051","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":2619,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:102:8)","diff":null},"uuid":"86ecbe2a-7956-488a-b6ad-5139ad082b69","parentUUID":"c639fcb9-8f0d-4cdc-969e-4d04e9aa4051","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["86ecbe2a-7956-488a-b6ad-5139ad082b69"],"pending":[],"skipped":[],"duration":2619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"090f7439-3c3f-46e6-8c39-736c0d0c900d","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":"6b03e77c-49d3-469a-9eb3-eb2861d784a3","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":3208,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"d7811aaa-ef3c-49f6-bf08-bb49859b3ed2","parentUUID":"6b03e77c-49d3-469a-9eb3-eb2861d784a3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7811aaa-ef3c-49f6-bf08-bb49859b3ed2"],"pending":[],"skipped":[],"duration":3208,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b297a0c4-14c7-41ca-bda9-568188eb57ed","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":"76a5ce6c-c868-48c1-a13a-390e4741cb64","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":2643,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"f181d274-25a9-4f99-a70f-1fdc1fbbbe0f","parentUUID":"76a5ce6c-c868-48c1-a13a-390e4741cb64","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f181d274-25a9-4f99-a70f-1fdc1fbbbe0f"],"pending":[],"skipped":[],"duration":2643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4b9ad83d-0d1a-4154-ae60-40577dc61cb9","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":"4afc8a6a-213c-4d7b-918e-fb083b7884da","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":2664,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"2dcbeb12-cbf8-462e-bcc0-6f816b4a583f","parentUUID":"4afc8a6a-213c-4d7b-918e-fb083b7884da","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2dcbeb12-cbf8-462e-bcc0-6f816b4a583f"],"pending":[],"skipped":[],"duration":2664,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"00d149d6-98fc-482f-b127-f9873498c81b","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1520c2b2-39af-43d6-b123-f95819d86f95","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":107893,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{},"uuid":"f677595c-3816-4b39-8ec8-998b7b50d36e","parentUUID":"1520c2b2-39af-43d6-b123-f95819d86f95","isHook":false,"skipped":false}],"suites":[],"passes":["f677595c-3816-4b39-8ec8-998b7b50d36e"],"failures":[],"pending":[],"skipped":[],"duration":107893,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcfd9409-91bc-4d67-8529-6dc9d07f8c77","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"efe67361-88ec-4ff1-ad46-bf8f8b453fd1","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":110705,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(image => {\n cy.get('.row img').its('length').then(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(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(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible')","err":{},"uuid":"36849661-c389-4f30-97c1-d991ed837a44","parentUUID":"efe67361-88ec-4ff1-ad46-bf8f8b453fd1","isHook":false,"skipped":false}],"suites":[],"passes":["36849661-c389-4f30-97c1-d991ed837a44"],"failures":[],"pending":[],"skipped":[],"duration":110705,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7d94a33d-9306-48de-9315-56b8a21c10de","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ca409985-bef7-4e78-a8c4-ac70dad7ea3a","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":107175,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4000002760003184', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);","err":{},"uuid":"5503fe49-8006-432c-b9c9-79b1e1dc3302","parentUUID":"ca409985-bef7-4e78-a8c4-ac70dad7ea3a","isHook":false,"skipped":false}],"suites":[],"passes":["5503fe49-8006-432c-b9c9-79b1e1dc3302"],"failures":[],"pending":[],"skipped":[],"duration":107175,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"80a9ec28-1f85-4a3e-ae6b-800e7d870d08","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":"f869b966-a3b1-48d2-983f-13db87fa791d","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":2610,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"24549c6f-5896-4c4e-9517-f4f63ec7611c","parentUUID":"f869b966-a3b1-48d2-983f-13db87fa791d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["24549c6f-5896-4c4e-9517-f4f63ec7611c"],"pending":[],"skipped":[],"duration":2610,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"36b9f911-37b1-48cf-ae24-3c01ec2e7e5e","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":"5c07ea48-10f6-4ea2-b640-986966756958","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":2604,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"ca08c19b-3fe0-4ab5-a0fc-1640a455c92b","parentUUID":"5c07ea48-10f6-4ea2-b640-986966756958","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca08c19b-3fe0-4ab5-a0fc-1640a455c92b"],"pending":[],"skipped":[],"duration":2604,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f38b6f2d-c7df-4e9e-a684-bdc58cdffdf2","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":"de4953e7-80fa-4b3c-8378-d31a080a1ebf","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":2713,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"bee1c2d8-fe01-414b-b556-34389bc31ae5","parentUUID":"de4953e7-80fa-4b3c-8378-d31a080a1ebf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bee1c2d8-fe01-414b-b556-34389bc31ae5"],"pending":[],"skipped":[],"duration":2713,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"523c7900-c88a-47b0-b658-4d4c593f2205","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":"b7ffe625-a9ec-4060-a790-3f641769ad42","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":2594,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"0e36b8d1-dd19-4377-93e6-fcdeec326773","parentUUID":"b7ffe625-a9ec-4060-a790-3f641769ad42","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0e36b8d1-dd19-4377-93e6-fcdeec326773"],"pending":[],"skipped":[],"duration":2594,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"00743d67-992e-4aa1-8c79-a95691e63132","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":"16504d00-40d1-46c0-87ac-dbe5680ba393","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":2660,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"b73c9f88-54b4-426d-9d4a-058e062d2019","parentUUID":"16504d00-40d1-46c0-87ac-dbe5680ba393","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b73c9f88-54b4-426d-9d4a-058e062d2019"],"pending":[],"skipped":[],"duration":2660,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"09cf74b5-8b24-4346-8b1f-d5161808ba86","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":"bd0e9c3a-2d63-4bad-bef9-16725e63f048","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":2659,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"1e233ec4-a065-4659-9d6c-4bb84f5f9d48","parentUUID":"bd0e9c3a-2d63-4bad-bef9-16725e63f048","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1e233ec4-a065-4659-9d6c-4bb84f5f9d48"],"pending":[],"skipped":[],"duration":2659,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"004c7027-3517-42a6-81ec-41e12117a26d","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":"e6b641ef-e44b-4811-a456-49085c7e72cc","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":2671,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"1e09c389-7ec9-4904-813a-8e4b4a778198","parentUUID":"e6b641ef-e44b-4811-a456-49085c7e72cc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1e09c389-7ec9-4904-813a-8e4b4a778198"],"pending":[],"skipped":[],"duration":2671,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b03aa5f0-4b4c-43f3-8c96-3b9d1a582ff2","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":"e6caeeb7-fc13-4053-998c-b4eebe63890f","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":2640,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"27a3ab97-f942-4fba-92d2-159ccc1a4946","parentUUID":"e6caeeb7-fc13-4053-998c-b4eebe63890f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["27a3ab97-f942-4fba-92d2-159ccc1a4946"],"pending":[],"skipped":[],"duration":2640,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98fa2484-0a95-4faf-9fcf-bd93df85cd56","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":"69003fea-37d1-4cc0-b673-bf3bec4be553","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":2707,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"70803c3a-e5aa-4acb-8ca5-41e741a586e3","parentUUID":"69003fea-37d1-4cc0-b673-bf3bec4be553","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["70803c3a-e5aa-4acb-8ca5-41e741a586e3"],"pending":[],"skipped":[],"duration":2707,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a4b34b52-975d-48c0-8641-88ff445086d7","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":"1e844775-49be-4d90-be18-e720de7ef750","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":2656,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"8b9cee13-f340-4395-a525-3a8fbc94c5a9","parentUUID":"1e844775-49be-4d90-be18-e720de7ef750","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8b9cee13-f340-4395-a525-3a8fbc94c5a9"],"pending":[],"skipped":[],"duration":2656,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0f4a9242-3cd8-42ca-9b94-51997cc7459c","title":"","fullFile":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f9de3ea1-1157-41cf-98fe-82add4a8d396","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":61364,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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(1000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.wait(2000);\ncy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(status => {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/en/settings/workflows' to include '/settings/payment-gateways'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/en/settings/workflows' to include '/settings/payment-gateways'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:13:17)","diff":null},"uuid":"8ec11b9d-f6b0-41a6-885a-88f1cdf95e73","parentUUID":"f9de3ea1-1157-41cf-98fe-82add4a8d396","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8ec11b9d-f6b0-41a6-885a-88f1cdf95e73"],"pending":[],"skipped":[],"duration":61364,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"79bd55e1-fe38-436d-9d9a-13b5b72e3bfe","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":"04e8679b-adcd-401e-8f8b-087f24b12155","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":2694,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"34d47cee-4084-435c-b840-c534ba4c2f97","parentUUID":"04e8679b-adcd-401e-8f8b-087f24b12155","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["34d47cee-4084-435c-b840-c534ba4c2f97"],"pending":[],"skipped":[],"duration":2694,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"23ea1a6b-f28d-42a7-acfb-875e9b835d95","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":"d1d2500d-d8ac-4d07-b5ff-a68292cafacb","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":2692,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"7572b7e3-aed5-481d-a845-693964a12bcf","parentUUID":"d1d2500d-d8ac-4d07-b5ff-a68292cafacb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7572b7e3-aed5-481d-a845-693964a12bcf"],"pending":[],"skipped":[],"duration":2692,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"99256e81-df45-4a9c-adb9-2650e9ec05cf","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":"2eb22003-928d-45d9-9eb0-9f7358ebffab","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":2638,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"ef88d43f-09da-42a0-b78e-66875085701f","parentUUID":"2eb22003-928d-45d9-9eb0-9f7358ebffab","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ef88d43f-09da-42a0-b78e-66875085701f"],"pending":[],"skipped":[],"duration":2638,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a8ce4924-253b-42ef-8af5-d0ba92ecfe7b","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":"679b7e70-86ba-4ef1-a5ec-638262f88710","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":2613,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"5d2a4628-395e-451f-afcd-161070aeb8f6","parentUUID":"679b7e70-86ba-4ef1-a5ec-638262f88710","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5d2a4628-395e-451f-afcd-161070aeb8f6"],"pending":[],"skipped":[],"duration":2613,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"68c781e9-e130-4233-addd-1dbd2f18da56","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":"bbeef83d-fb6d-4ddd-96f9-d61a69f0e259","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":2614,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"3642e050-8a09-421c-9cbe-63c9afe8380f","parentUUID":"bbeef83d-fb6d-4ddd-96f9-d61a69f0e259","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3642e050-8a09-421c-9cbe-63c9afe8380f"],"pending":[],"skipped":[],"duration":2614,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a1f90254-4a38-49a3-bd81-8bd69c46c1b8","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":"8e537811-a9cc-470d-9aa7-c536585ff2d0","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":2684,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"8db80710-2e33-4b8a-a827-4883f706d74b","parentUUID":"8e537811-a9cc-470d-9aa7-c536585ff2d0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8db80710-2e33-4b8a-a827-4883f706d74b"],"pending":[],"skipped":[],"duration":2684,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d74e761-26f3-4239-b011-6bc76a574436","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"11cd40cf-2086-4820-86eb-195387b58188","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":5287,"state":"passed","speed":"medium","pass":true,"fail":false,"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');\n// 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":{},"uuid":"d4d42c14-ab2d-47b5-b84e-33ccd6c672fa","parentUUID":"11cd40cf-2086-4820-86eb-195387b58188","isHook":false,"skipped":false}],"suites":[],"passes":["d4d42c14-ab2d-47b5-b84e-33ccd6c672fa"],"failures":[],"pending":[],"skipped":[],"duration":5287,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2204c12-ec2a-4ecf-87b2-49df3d092eac","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"91ca4faf-e4ce-4dc4-af15-821697bae6b9","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":7680,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"c19efe1a-2fd4-49a5-b501-679397ed7977","parentUUID":"91ca4faf-e4ce-4dc4-af15-821697bae6b9","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":8735,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"33e38f99-9b48-47eb-92b0-257b1d48c821","parentUUID":"91ca4faf-e4ce-4dc4-af15-821697bae6b9","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":6451,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"b7713951-ec1f-430b-9286-b532e1144a8c","parentUUID":"91ca4faf-e4ce-4dc4-af15-821697bae6b9","isHook":false,"skipped":false}],"suites":[],"passes":["c19efe1a-2fd4-49a5-b501-679397ed7977","33e38f99-9b48-47eb-92b0-257b1d48c821","b7713951-ec1f-430b-9286-b532e1144a8c"],"failures":[],"pending":[],"skipped":[],"duration":22866,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"28d811ba-93c8-48c6-bb9b-ab49b4a8a75c","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6da95657-5bd9-4c15-ac67-7262c30ed79f","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":19775,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"a61defd3-4ce2-46f8-aad2-a447159388fc","parentUUID":"6da95657-5bd9-4c15-ac67-7262c30ed79f","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":19399,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"75442f27-7603-4d35-9784-e8cee0adc6d5","parentUUID":"6da95657-5bd9-4c15-ac67-7262c30ed79f","isHook":false,"skipped":false}],"suites":[],"passes":["a61defd3-4ce2-46f8-aad2-a447159388fc","75442f27-7603-4d35-9784-e8cee0adc6d5"],"failures":[],"pending":[],"skipped":[],"duration":39174,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8a11fb89-151a-415f-9ec6-266c4b6c4346","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":"9ba3e9d7-980e-438d-827a-11b442a4af63","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":2631,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"34e3aacf-e9e0-4edd-b8ed-53fa00b92903","parentUUID":"9ba3e9d7-980e-438d-827a-11b442a4af63","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["34e3aacf-e9e0-4edd-b8ed-53fa00b92903"],"pending":[],"skipped":[],"duration":2631,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae8bba58-09b6-43a4-9741-64f8bb98e32d","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4c05b06c-3cba-4f01-ae3a-8e954bb4910b","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":10842,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"172fc8b4-bf6b-45d9-a3c2-1d033a5d056b","parentUUID":"4c05b06c-3cba-4f01-ae3a-8e954bb4910b","isHook":false,"skipped":false}],"suites":[],"passes":["172fc8b4-bf6b-45d9-a3c2-1d033a5d056b"],"failures":[],"pending":[],"skipped":[],"duration":10842,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4054d059-f000-414f-a820-776c2262add8","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"12e5de30-c058-4252-847e-2518ad40806b","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":8586,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"03c67dd6-f242-4ba5-a05d-b94489b3efc7","parentUUID":"12e5de30-c058-4252-847e-2518ad40806b","isHook":false,"skipped":false}],"suites":[],"passes":["03c67dd6-f242-4ba5-a05d-b94489b3efc7"],"failures":[],"pending":[],"skipped":[],"duration":8586,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"94560187-b3e8-4591-9109-5bb707ec2a4d","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d8a6c7c2-3f61-445d-8056-5e81638f4083","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":7336,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{},"uuid":"a03c4de5-5b81-412c-aa51-29ab55b39def","parentUUID":"d8a6c7c2-3f61-445d-8056-5e81638f4083","isHook":false,"skipped":false}],"suites":[],"passes":["a03c4de5-5b81-412c-aa51-29ab55b39def"],"failures":[],"pending":[],"skipped":[],"duration":7336,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0a3f6f49-fadc-468b-a154-77d32d9d490a","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f19d7242-adfa-4baf-b5d1-47c0443a49b7","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":8553,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"0a0925ed-2fe2-4c9a-9365-1c968d66c6e0","parentUUID":"f19d7242-adfa-4baf-b5d1-47c0443a49b7","isHook":false,"skipped":false}],"suites":[],"passes":["0a0925ed-2fe2-4c9a-9365-1c968d66c6e0"],"failures":[],"pending":[],"skipped":[],"duration":8553,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1539545f-0cca-4e7c-b276-c428515cd50b","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ee5bd3c8-2408-4547-8179-3e9e31b0bdf0","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":14236,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"c0acd6a9-f8fc-45d6-8508-34fc45439e7c","parentUUID":"ee5bd3c8-2408-4547-8179-3e9e31b0bdf0","isHook":false,"skipped":false}],"suites":[],"passes":["c0acd6a9-f8fc-45d6-8508-34fc45439e7c"],"failures":[],"pending":[],"skipped":[],"duration":14236,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ab9450c-430d-489d-89bb-aafd403c1fd6","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f8f65723-93a8-46df-a49b-0c931ac9f0fe","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":11911,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"db289661-82e0-4450-8785-1d208d936621","parentUUID":"f8f65723-93a8-46df-a49b-0c931ac9f0fe","isHook":false,"skipped":false}],"suites":[],"passes":["db289661-82e0-4450-8785-1d208d936621"],"failures":[],"pending":[],"skipped":[],"duration":11911,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b2017029-c240-4816-84c2-6613e9f20e67","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"99914766-b857-4ab2-ab3b-0e3263ab87a7","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":10263,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"233bcbdd-c42c-4a38-b64c-3445f416a473","parentUUID":"99914766-b857-4ab2-ab3b-0e3263ab87a7","isHook":false,"skipped":false}],"suites":[],"passes":["233bcbdd-c42c-4a38-b64c-3445f416a473"],"failures":[],"pending":[],"skipped":[],"duration":10263,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"76370d20-69e0-40d1-a59d-2566528db2cf","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"16427fd9-4403-4229-90f8-f3507a675e91","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"95443bd1-1c50-43d6-87b4-fa3c035d0097","parentUUID":"16427fd9-4403-4229-90f8-f3507a675e91","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"18aa6e23-9cb0-4e36-9c45-6deba71ad31a","parentUUID":"16427fd9-4403-4229-90f8-f3507a675e91","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{},"uuid":"7fae5db3-c19b-4c4b-9e0b-13249a7f893d","parentUUID":"16427fd9-4403-4229-90f8-f3507a675e91","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":[],"pending":["95443bd1-1c50-43d6-87b4-fa3c035d0097","18aa6e23-9cb0-4e36-9c45-6deba71ad31a","7fae5db3-c19b-4c4b-9e0b-13249a7f893d"],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4ce4bec7-e305-4b86-b1ca-fa4f08a6c832","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":"de3ff433-8fbc-46e7-996c-74f8b4008137","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":2628,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"5e9bb66e-b121-4b9b-99f1-cf2eec194fc6","parentUUID":"de3ff433-8fbc-46e7-996c-74f8b4008137","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5e9bb66e-b121-4b9b-99f1-cf2eec194fc6"],"pending":[],"skipped":[],"duration":2628,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c36b1f6e-e450-4ef5-9c4f-2e13f93230ca","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":"2e9009a7-66b2-4768-be0d-feea7a03c2a5","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":2653,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"91eded78-c7cd-47a6-9383-8cadcd29fe81","parentUUID":"2e9009a7-66b2-4768-be0d-feea7a03c2a5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["91eded78-c7cd-47a6-9383-8cadcd29fe81"],"pending":[],"skipped":[],"duration":2653,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fed5eb9d-3e99-46ab-8aa5-16225099b5cd","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":"1c85cb70-f2d9-4f84-8b66-5bbb5ed71d5e","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":2687,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"29e662cb-0beb-478b-8208-61d81abd89ae","parentUUID":"1c85cb70-f2d9-4f84-8b66-5bbb5ed71d5e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["29e662cb-0beb-478b-8208-61d81abd89ae"],"pending":[],"skipped":[],"duration":2687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"573fd047-fd8c-49a6-8a2a-5d489441207a","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":"1a98310d-2117-4e7e-9612-932b30c98097","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":2594,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"271bf8db-2c05-403c-80f3-182b3e3731e6","parentUUID":"1a98310d-2117-4e7e-9612-932b30c98097","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["271bf8db-2c05-403c-80f3-182b3e3731e6"],"pending":[],"skipped":[],"duration":2594,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a0db5ca5-1293-427c-9cfd-7b5b89b8729f","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":"14151788-d0c7-404e-b0aa-ab3263133f23","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":2656,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"7a2dddf3-79d6-4236-bd2e-a06119fa7e44","parentUUID":"14151788-d0c7-404e-b0aa-ab3263133f23","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7a2dddf3-79d6-4236-bd2e-a06119fa7e44"],"pending":[],"skipped":[],"duration":2656,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1d2657b2-fd17-44d6-87f7-6304359cf731","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3c6105fd-1cf9-442f-8334-8cd5403aa9b9","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":202769,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"3dc2a01f-51d5-47f8-a3f9-7b453c697ab0","parentUUID":"3c6105fd-1cf9-442f-8334-8cd5403aa9b9","isHook":false,"skipped":false}],"suites":[],"passes":["3dc2a01f-51d5-47f8-a3f9-7b453c697ab0"],"failures":[],"pending":[],"skipped":[],"duration":202769,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9ea5b579-f483-4288-b391-c56b8a6a8eaf","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"38c60845-6ae4-4433-a620-0393673d7f7f","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":186622,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.lead`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.lead`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:306:23)","diff":null},"uuid":"06cf5704-f51f-4e3a-8b87-b8ddf971b82b","parentUUID":"38c60845-6ae4-4433-a620-0393673d7f7f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["06cf5704-f51f-4e3a-8b87-b8ddf971b82b"],"pending":[],"skipped":[],"duration":186622,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7ebe85e5-51bc-4034-9a43-71f8b4465365","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"34b5a0ae-9419-4173-83a5-967a4f0af09e","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":146753,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"84344f6c-a54c-4a3a-af68-450dc632824d","parentUUID":"34b5a0ae-9419-4173-83a5-967a4f0af09e","isHook":false,"skipped":false}],"suites":[],"passes":["84344f6c-a54c-4a3a-af68-450dc632824d"],"failures":[],"pending":[],"skipped":[],"duration":146753,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"095ecff4-8d96-4b25-b3a5-b3d1d12adec1","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"eae7e67d-8c0e-4974-8a05-7a5134ad90f4","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":126175,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"3a0a86d8-846d-4f42-859d-843436c7ac45","parentUUID":"eae7e67d-8c0e-4974-8a05-7a5134ad90f4","isHook":false,"skipped":false}],"suites":[],"passes":["3a0a86d8-846d-4f42-859d-843436c7ac45"],"failures":[],"pending":[],"skipped":[],"duration":126175,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b1281bfb-bc81-40e4-b486-aee402a122e4","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2fa3d4f0-3875-41b3-8e46-da29d0b953ea","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe 3D Secure","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe 3D Secure","timedOut":null,"duration":173238,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"2e509125-5eb5-446d-b191-06333ce83a1e","parentUUID":"2fa3d4f0-3875-41b3-8e46-da29d0b953ea","isHook":false,"skipped":false}],"suites":[],"passes":["2e509125-5eb5-446d-b191-06333ce83a1e"],"failures":[],"pending":[],"skipped":[],"duration":173238,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3039d9a5-6fae-464a-a340-c35028d54c5a","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":"c9e2be34-463e-44e6-bb7f-79efb0b1c88b","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":2688,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"a688b07d-6104-46a8-9dc0-60c6690b668f","parentUUID":"c9e2be34-463e-44e6-bb7f-79efb0b1c88b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a688b07d-6104-46a8-9dc0-60c6690b668f"],"pending":[],"skipped":[],"duration":2688,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8fb5a093-9e50-4c2c-8d3e-0f56b6472d56","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":"ced49a8d-b2a8-4f3a-8400-0aae3095026a","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":2657,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"d833216f-6db1-4678-9cb1-6c4f5fa4bc00","parentUUID":"ced49a8d-b2a8-4f3a-8400-0aae3095026a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d833216f-6db1-4678-9cb1-6c4f5fa4bc00"],"pending":[],"skipped":[],"duration":2657,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6a398754-c472-4108-a19a-03a5be275b93","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":"2b8c2ae8-678f-4214-b831-b49b18950f12","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":2658,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"eb22e3b1-e6c2-4e59-86d5-22ebae5216c8","parentUUID":"2b8c2ae8-678f-4214-b831-b49b18950f12","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eb22e3b1-e6c2-4e59-86d5-22ebae5216c8"],"pending":[],"skipped":[],"duration":2658,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"33ef8a3d-c7e8-49ca-85fd-6da5e62141e1","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":"bdafed7b-26aa-4d10-94bb-d38e3b39fd1b","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":2663,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"4b755e41-b26b-452e-bc8c-457208983099","parentUUID":"bdafed7b-26aa-4d10-94bb-d38e3b39fd1b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b755e41-b26b-452e-bc8c-457208983099"],"pending":[],"skipped":[],"duration":2663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"564ed44b-9e83-4fda-a720-c79da089642b","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":"d7347f57-2b87-4cd9-9282-f48dd4bea124","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":2633,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"9f325290-b47d-440e-a581-8aeda1ca44d8","parentUUID":"d7347f57-2b87-4cd9-9282-f48dd4bea124","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9f325290-b47d-440e-a581-8aeda1ca44d8"],"pending":[],"skipped":[],"duration":2633,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"799735c6-9069-48bc-8c5a-a69b8aa75a8d","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":"706795e6-75bb-4a93-8a81-6fa93dec09e9","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":2636,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"53a3fa37-e945-49fd-a3bc-9bc70ac3cb3f","parentUUID":"706795e6-75bb-4a93-8a81-6fa93dec09e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["53a3fa37-e945-49fd-a3bc-9bc70ac3cb3f"],"pending":[],"skipped":[],"duration":2636,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ca00ab37-387f-463d-8a69-1a043c907f9d","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ba956b07-13c3-499c-a243-e5919c595c09","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":105845,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{},"uuid":"1984e429-be4c-48be-91e9-0ffa5aadd047","parentUUID":"ba956b07-13c3-499c-a243-e5919c595c09","isHook":false,"skipped":false}],"suites":[],"passes":["1984e429-be4c-48be-91e9-0ffa5aadd047"],"failures":[],"pending":[],"skipped":[],"duration":105845,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"05acb6dc-900f-4d03-ad8c-175082cd548a","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2ebd45da-8cd5-424f-aa27-ab04bf58d78e","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":112496,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(image => {\n cy.get('.row img').its('length').then(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(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(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible')","err":{},"uuid":"11b5d92e-deed-4f53-a0ee-b3458c49f2cc","parentUUID":"2ebd45da-8cd5-424f-aa27-ab04bf58d78e","isHook":false,"skipped":false}],"suites":[],"passes":["11b5d92e-deed-4f53-a0ee-b3458c49f2cc"],"failures":[],"pending":[],"skipped":[],"duration":112496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a148a8a4-5a94-4a1d-b647-dfb26b2f57f3","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8a5a05d1-f2b7-4fbf-b8fb-5a7dd2b1173e","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":104987,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4000002760003184', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);","err":{},"uuid":"a1df42a1-a662-4de0-9864-170c4e44e7f0","parentUUID":"8a5a05d1-f2b7-4fbf-b8fb-5a7dd2b1173e","isHook":false,"skipped":false}],"suites":[],"passes":["a1df42a1-a662-4de0-9864-170c4e44e7f0"],"failures":[],"pending":[],"skipped":[],"duration":104987,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"77db651c-8506-4f52-b13c-52825cc9294b","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":"7dcbad19-7dc3-45c5-865f-8ff944c97b08","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":2621,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"94b96a35-4102-42ea-9257-a224b41fd370","parentUUID":"7dcbad19-7dc3-45c5-865f-8ff944c97b08","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["94b96a35-4102-42ea-9257-a224b41fd370"],"pending":[],"skipped":[],"duration":2621,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"93274dc5-142e-46fb-9405-3b8aaf31e9d8","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":"a9fc2bf4-6ae7-42b4-ae1f-37920d18eafc","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","timedOut":null,"duration":2646,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"c0044468-3c42-4a90-8ca8-3792b9a800ba","parentUUID":"a9fc2bf4-6ae7-42b4-ae1f-37920d18eafc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c0044468-3c42-4a90-8ca8-3792b9a800ba"],"pending":[],"skipped":[],"duration":2646,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2685a389-04ca-4b86-9883-79620efa06f2","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":"c67c183f-239b-4ca2-bbaf-b2fd86e30b7c","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":2630,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"7e5fd26a-481b-4807-9294-78afa4a2ef35","parentUUID":"c67c183f-239b-4ca2-bbaf-b2fd86e30b7c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7e5fd26a-481b-4807-9294-78afa4a2ef35"],"pending":[],"skipped":[],"duration":2630,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f3d7943-323c-4e79-a531-24ae63b6dff5","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":"ee1ed442-9a6f-4104-a4e8-20793912b970","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":2681,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"b220d6b7-5d9c-43a9-b0b8-69487ad596ed","parentUUID":"ee1ed442-9a6f-4104-a4e8-20793912b970","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b220d6b7-5d9c-43a9-b0b8-69487ad596ed"],"pending":[],"skipped":[],"duration":2681,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0494e9dd-2ee9-484f-a101-2b46d318ffd8","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":"3a05cce5-eef2-49aa-aa92-e3fe43133b73","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":2673,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"24ff09ac-b1e6-4ed4-82b8-0e88808e979c","parentUUID":"3a05cce5-eef2-49aa-aa92-e3fe43133b73","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["24ff09ac-b1e6-4ed4-82b8-0e88808e979c"],"pending":[],"skipped":[],"duration":2673,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"96e0cffb-9af4-4578-948c-acc1c9b1b8a4","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":"8e620572-6f4d-4f20-9c2f-899bfe8c7ae7","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":2661,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"86927e56-703e-436d-ab5b-469435940a58","parentUUID":"8e620572-6f4d-4f20-9c2f-899bfe8c7ae7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["86927e56-703e-436d-ab5b-469435940a58"],"pending":[],"skipped":[],"duration":2661,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9aa52076-7885-4c8c-9179-73262580da42","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":"0ac48c22-9b20-4eb3-b8e7-ff85b5d402b1","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":3225,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"feb6143f-6eb5-428a-9f1e-c5018bf1247b","parentUUID":"0ac48c22-9b20-4eb3-b8e7-ff85b5d402b1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["feb6143f-6eb5-428a-9f1e-c5018bf1247b"],"pending":[],"skipped":[],"duration":3225,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d766024-38f4-4413-ab23-11cd803fc4c0","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":"18dbecbd-0703-4be2-b8d4-4cd6d0f7010a","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","timedOut":null,"duration":2679,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"a7455431-1fc6-414f-b049-fe03a0f0d854","parentUUID":"18dbecbd-0703-4be2-b8d4-4cd6d0f7010a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a7455431-1fc6-414f-b049-fe03a0f0d854"],"pending":[],"skipped":[],"duration":2679,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7aa84a62-fd93-4135-a0fe-64067fd63ab6","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":"2987245f-48ef-48bc-b26e-496ec09a5cf7","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":2625,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"55f9bbeb-f870-49ed-924a-684870da2d9a","parentUUID":"2987245f-48ef-48bc-b26e-496ec09a5cf7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55f9bbeb-f870-49ed-924a-684870da2d9a"],"pending":[],"skipped":[],"duration":2625,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b733f1df-4b4c-4a83-b87c-e16029d9b3b3","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":"c64c6954-887d-4847-8301-9bb0553a66d7","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","timedOut":null,"duration":2679,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"832e311e-32ef-49bd-9b2c-3e685d257149","parentUUID":"c64c6954-887d-4847-8301-9bb0553a66d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["832e311e-32ef-49bd-9b2c-3e685d257149"],"pending":[],"skipped":[],"duration":2679,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"38870437-effb-43d8-b7f9-dae5b16e793d","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":"773a0955-666f-4b60-a27a-14623613f791","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":3204,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"68657c53-6816-42c6-949c-4a7f66a2b3c7","parentUUID":"773a0955-666f-4b60-a27a-14623613f791","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["68657c53-6816-42c6-949c-4a7f66a2b3c7"],"pending":[],"skipped":[],"duration":3204,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d25886ae-d4e2-4c23-994b-75e00699b9ce","title":"","fullFile":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3a1f14d1-5bf1-445a-bdaf-13c9b1f6f5cb","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":55765,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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(1000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.wait(2000);\ncy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(status => {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/en/settings/workflows' to include '/settings/payment-gateways'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/en/settings/workflows' to include '/settings/payment-gateways'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:13:17)","diff":null},"uuid":"5a791a0e-7476-4571-9bd5-7d8d0b50730e","parentUUID":"3a1f14d1-5bf1-445a-bdaf-13c9b1f6f5cb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5a791a0e-7476-4571-9bd5-7d8d0b50730e"],"pending":[],"skipped":[],"duration":55765,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"020d9e65-f659-4e86-b937-58f1c4e1a71d","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":"94524ff1-3b3d-4f29-8272-0dcf8a39444a","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":2728,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:102:8)","diff":null},"uuid":"3432b748-19b3-4afc-8329-f8bd899b8517","parentUUID":"94524ff1-3b3d-4f29-8272-0dcf8a39444a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3432b748-19b3-4afc-8329-f8bd899b8517"],"pending":[],"skipped":[],"duration":2728,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43b5d670-1ea8-4617-91cb-0b050e00c577","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":"331f5f29-dd7f-454f-9627-18c8f49dd0d2","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","timedOut":null,"duration":2684,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"3c7802ef-5dcd-4064-91cb-86537b3dcf0b","parentUUID":"331f5f29-dd7f-454f-9627-18c8f49dd0d2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3c7802ef-5dcd-4064-91cb-86537b3dcf0b"],"pending":[],"skipped":[],"duration":2684,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e3e17472-325e-4538-9ee3-f1584f1dcd19","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":"bd760938-dd0d-46a1-8025-b46f1dbe9348","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":2690,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"4d63cbd2-556f-41e1-a76e-a52d9708957e","parentUUID":"bd760938-dd0d-46a1-8025-b46f1dbe9348","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4d63cbd2-556f-41e1-a76e-a52d9708957e"],"pending":[],"skipped":[],"duration":2690,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e62a3fed-068c-437c-9228-0a3f360235e4","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":"dc9ed778-ad1f-4d2f-9d28-19a47a7328c4","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":2673,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"1462f9be-f10b-4541-b58a-f22fd7078265","parentUUID":"dc9ed778-ad1f-4d2f-9d28-19a47a7328c4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1462f9be-f10b-4541-b58a-f22fd7078265"],"pending":[],"skipped":[],"duration":2673,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6466fb2d-8b22-4718-bd2a-d059c65b5903","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":"13ae792e-ee48-485e-a48e-322891c7ea6d","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":2749,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"bb404e4c-5c6e-45bf-9963-cdcf6b3101cc","parentUUID":"13ae792e-ee48-485e-a48e-322891c7ea6d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb404e4c-5c6e-45bf-9963-cdcf6b3101cc"],"pending":[],"skipped":[],"duration":2749,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c8c6099-dcb3-4e9b-83e8-41f2dfa0b101","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":"5b583ee6-e904-43d5-84e2-79c047668fee","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":2663,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"a03efd18-be63-4b59-a90a-dfba6f353b5e","parentUUID":"5b583ee6-e904-43d5-84e2-79c047668fee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a03efd18-be63-4b59-a90a-dfba6f353b5e"],"pending":[],"skipped":[],"duration":2663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee9142c2-7eba-4f8c-8ed9-59a482983329","title":"","fullFile":"cypress\\e2e\\SF\\a-login\\1-login-page.js","file":"cypress\\e2e\\SF\\a-login\\1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e67d0368-d4b8-4a70-b7f9-114142dec40e","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":25342,"state":"passed","speed":"slow","pass":true,"fail":false,"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');\n// 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":{},"uuid":"82b3ef5f-a35e-440d-8a31-de0946f06d22","parentUUID":"e67d0368-d4b8-4a70-b7f9-114142dec40e","isHook":false,"skipped":false}],"suites":[],"passes":["82b3ef5f-a35e-440d-8a31-de0946f06d22"],"failures":[],"pending":[],"skipped":[],"duration":25342,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"606e317c-13b9-4e82-b284-91bcf22cf546","title":"","fullFile":"cypress\\e2e\\SF\\a-login\\2-login-using-incorrect-credentials.js","file":"cypress\\e2e\\SF\\a-login\\2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"84820540-0827-4c8f-9018-e4288ef2afd9","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":51681,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"8edfd0a2-2726-4821-8c31-de3f4ece33f5","parentUUID":"84820540-0827-4c8f-9018-e4288ef2afd9","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":8442,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"81ed4d56-70dc-4316-a22e-f0098874dbe3","parentUUID":"84820540-0827-4c8f-9018-e4288ef2afd9","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":5838,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"c97cb4c3-fe03-4667-9216-32d1e0e1e37a","parentUUID":"84820540-0827-4c8f-9018-e4288ef2afd9","isHook":false,"skipped":false}],"suites":[],"passes":["8edfd0a2-2726-4821-8c31-de3f4ece33f5","81ed4d56-70dc-4316-a22e-f0098874dbe3","c97cb4c3-fe03-4667-9216-32d1e0e1e37a"],"failures":[],"pending":[],"skipped":[],"duration":65961,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cd50fed2-aa77-4ae4-9eee-486621357832","title":"","fullFile":"cypress\\e2e\\SF\\a-login\\3-login_spec.js","file":"cypress\\e2e\\SF\\a-login\\3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"95cd82f2-18ec-44c4-8fb4-e243110fb452","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":126211,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"8d06b225-b707-483e-b1fa-80b8fdd587d7","parentUUID":"95cd82f2-18ec-44c4-8fb4-e243110fb452","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":78051,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"1b5fb844-ef0c-49d3-b2b0-06beddcda6d5","parentUUID":"95cd82f2-18ec-44c4-8fb4-e243110fb452","isHook":false,"skipped":false}],"suites":[],"passes":["8d06b225-b707-483e-b1fa-80b8fdd587d7","1b5fb844-ef0c-49d3-b2b0-06beddcda6d5"],"failures":[],"pending":[],"skipped":[],"duration":204262,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b07898f8-7019-4ca5-b6f9-0107960110a7","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":"4040239f-fb05-4002-b88c-31903db352b2","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":2707,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"b302ffe7-544e-4c41-8cb9-509f334c7554","parentUUID":"4040239f-fb05-4002-b88c-31903db352b2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b302ffe7-544e-4c41-8cb9-509f334c7554"],"pending":[],"skipped":[],"duration":2707,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8ca98b7-904c-4e25-8e4e-caf457f3d5f3","title":"","fullFile":"cypress\\e2e\\SF\\a-login\\4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress\\e2e\\SF\\a-login\\4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6f008199-3d09-4135-b46b-b0218a6e3768","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":24688,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"131c5a6c-10d9-4b03-a0c6-e43d2e0da554","parentUUID":"6f008199-3d09-4135-b46b-b0218a6e3768","isHook":false,"skipped":false}],"suites":[],"passes":["131c5a6c-10d9-4b03-a0c6-e43d2e0da554"],"failures":[],"pending":[],"skipped":[],"duration":24688,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ebaba6e3-e542-4ada-9537-0f9fb6642d47","title":"","fullFile":"cypress\\e2e\\SF\\a-login\\5-verify-privacy-policies-URL-is-functional.js","file":"cypress\\e2e\\SF\\a-login\\5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"124d19eb-8ebc-4c2e-846f-d4631f34c1d9","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":45381,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"e980f610-2147-4082-9ff6-99c82775c245","parentUUID":"124d19eb-8ebc-4c2e-846f-d4631f34c1d9","isHook":false,"skipped":false}],"suites":[],"passes":["e980f610-2147-4082-9ff6-99c82775c245"],"failures":[],"pending":[],"skipped":[],"duration":45381,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0164f5d-343f-496f-88a5-413487fc2938","title":"","fullFile":"cypress\\e2e\\SF\\a-login\\6-verify-forgot-password-works.js","file":"cypress\\e2e\\SF\\a-login\\6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3c5cb9dd-e108-4499-b464-46b92a407a97","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":47969,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{},"uuid":"10bb5f5c-3471-4e08-92b9-7e6f31741776","parentUUID":"3c5cb9dd-e108-4499-b464-46b92a407a97","isHook":false,"skipped":false}],"suites":[],"passes":["10bb5f5c-3471-4e08-92b9-7e6f31741776"],"failures":[],"pending":[],"skipped":[],"duration":47969,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c64b9c4-a7e3-42ff-9476-5ddeb942e50c","title":"","fullFile":"cypress\\e2e\\SF\\b-forgot-password\\1-forgot-password-page.js","file":"cypress\\e2e\\SF\\b-forgot-password\\1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8c0e04ba-d46e-4cc7-bd8f-da687c7e279c","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":18790,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"ea304229-2d83-4f88-bb7e-b0c3f89b3821","parentUUID":"8c0e04ba-d46e-4cc7-bd8f-da687c7e279c","isHook":false,"skipped":false}],"suites":[],"passes":["ea304229-2d83-4f88-bb7e-b0c3f89b3821"],"failures":[],"pending":[],"skipped":[],"duration":18790,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"01ff252c-4a78-4d67-8880-24227888b0b5","title":"","fullFile":"cypress\\e2e\\SF\\b-forgot-password\\2-forgot-password-with-correct-email.js","file":"cypress\\e2e\\SF\\b-forgot-password\\2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2add0416-4827-4b2d-929a-d323b5ed7389","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":27717,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"f90a008e-c45f-4e3a-9885-eca24e56ae8c","parentUUID":"2add0416-4827-4b2d-929a-d323b5ed7389","isHook":false,"skipped":false}],"suites":[],"passes":["f90a008e-c45f-4e3a-9885-eca24e56ae8c"],"failures":[],"pending":[],"skipped":[],"duration":27717,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"19c2931b-b98a-4f33-a153-d264579432e5","title":"","fullFile":"cypress\\e2e\\SF\\b-forgot-password\\3-forgot-password-with-incorrect-email.js","file":"cypress\\e2e\\SF\\b-forgot-password\\3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1d1838d5-2372-4679-a551-466651507e8a","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":16117,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"ec1d7e1e-3177-4d56-9832-017270567e51","parentUUID":"1d1838d5-2372-4679-a551-466651507e8a","isHook":false,"skipped":false}],"suites":[],"passes":["ec1d7e1e-3177-4d56-9832-017270567e51"],"failures":[],"pending":[],"skipped":[],"duration":16117,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c939cfe-76bb-4cbd-948c-6c971a2d14f4","title":"","fullFile":"cypress\\e2e\\SF\\b-forgot-password\\4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress\\e2e\\SF\\b-forgot-password\\4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c396aeb0-f374-4746-8143-4e0e921ae5a0","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":8679,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"df49a868-02cd-4e35-9116-122b0eea2adf","parentUUID":"c396aeb0-f374-4746-8143-4e0e921ae5a0","isHook":false,"skipped":false}],"suites":[],"passes":["df49a868-02cd-4e35-9116-122b0eea2adf"],"failures":[],"pending":[],"skipped":[],"duration":8679,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d8b744e2-c18e-400b-a138-f6ee677f9620","title":"","fullFile":"cypress\\e2e\\SF\\c-dashboard\\1-dashboard_view_spec.js","file":"cypress\\e2e\\SF\\c-dashboard\\1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"69158d77-8d17-4a7a-bd20-21aef83c262b","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":39665,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"aaa8f096-0e69-47b8-b40e-c246d673ed0e","parentUUID":"69158d77-8d17-4a7a-bd20-21aef83c262b","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":16049,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"4da269bd-837e-4adf-8e3f-1634c68b7987","parentUUID":"69158d77-8d17-4a7a-bd20-21aef83c262b","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":26831,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-outline-primary.rounded-capsule> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-outline-primary.rounded-capsule> but never did.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js:15:59)","diff":null},"uuid":"19ce73b1-f16f-465d-801a-72a7c6d00113","parentUUID":"69158d77-8d17-4a7a-bd20-21aef83c262b","isHook":false,"skipped":false}],"suites":[],"passes":["aaa8f096-0e69-47b8-b40e-c246d673ed0e","4da269bd-837e-4adf-8e3f-1634c68b7987"],"failures":["19ce73b1-f16f-465d-801a-72a7c6d00113"],"pending":[],"skipped":[],"duration":82545,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2b7f36d4-ce57-4178-bf9a-dc2d49501c51","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":"1d15c9ec-a72f-4c37-9ea2-a917dee5df18","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":2670,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"099ffb5e-4119-45a4-8ad5-9d866239329e","parentUUID":"1d15c9ec-a72f-4c37-9ea2-a917dee5df18","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["099ffb5e-4119-45a4-8ad5-9d866239329e"],"pending":[],"skipped":[],"duration":2670,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"86ecec8a-85fd-49f1-9f7d-bfcfaa47fcfa","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":"8dc2ee05-62ec-4c1e-b621-c752e537c73a","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":2663,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"4d20654b-e52a-49a6-b264-97aeb6124cf5","parentUUID":"8dc2ee05-62ec-4c1e-b621-c752e537c73a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4d20654b-e52a-49a6-b264-97aeb6124cf5"],"pending":[],"skipped":[],"duration":2663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7a3ce7f6-7996-4e94-b644-86eeb62b4908","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":"ef299885-83df-4f9d-b7b9-b348fb3c1313","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":2792,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"a613d64b-a34e-415b-82f2-5bfe04bb9f47","parentUUID":"ef299885-83df-4f9d-b7b9-b348fb3c1313","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a613d64b-a34e-415b-82f2-5bfe04bb9f47"],"pending":[],"skipped":[],"duration":2792,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce101f37-24bc-467b-bf64-c7dd1b97362c","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":"0b5da245-4e2a-434e-aaff-0960e0e2ef59","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":2716,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"544eb28d-0f4b-4fc2-af48-24d690a9b9e6","parentUUID":"0b5da245-4e2a-434e-aaff-0960e0e2ef59","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["544eb28d-0f4b-4fc2-af48-24d690a9b9e6"],"pending":[],"skipped":[],"duration":2716,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"79db9fc9-af27-49ec-947c-bbb7fbefac27","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":"57e5a962-c802-45fd-871a-718577888510","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":2741,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"77310d0c-eace-4227-8237-dd74e4c0e54e","parentUUID":"57e5a962-c802-45fd-871a-718577888510","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["77310d0c-eace-4227-8237-dd74e4c0e54e"],"pending":[],"skipped":[],"duration":2741,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"30ddb1cf-4759-40fc-bcf5-3040a88765d4","title":"","fullFile":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ea4ec647-fa91-43bf-8c44-0fa9eccf38a2","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":20502,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(element => {\n if (element.text().includes('US Dollar')) {\n if (element.text().includes('Make Default')) {\n cy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr td button').eq(x).click({\n force: true\n });\n cy.get('#detail-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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:7:11)","diff":null},"uuid":"27727cd0-60ad-4e83-b135-b1a1fc43dc5d","parentUUID":"ea4ec647-fa91-43bf-8c44-0fa9eccf38a2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["27727cd0-60ad-4e83-b135-b1a1fc43dc5d"],"pending":[],"skipped":[],"duration":20502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b16e6c15-e246-4732-a3ea-85c541d3ea9b","title":"","fullFile":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\08HPP_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b18d58e2-dd57-4bc5-a16d-0088641cef63","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":20332,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(9000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:8:11)","diff":null},"uuid":"dd5979b0-92dc-429e-ab42-62f54019c927","parentUUID":"b18d58e2-dd57-4bc5-a16d-0088641cef63","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd5979b0-92dc-429e-ab42-62f54019c927"],"pending":[],"skipped":[],"duration":20332,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a87065f3-0be5-4a17-a3ea-8feb7c464214","title":"","fullFile":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e9de3d94-3443-4e84-98e0-0b93abaaa651","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":21867,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:8:11)","diff":null},"uuid":"18c62cb7-9c00-4b20-87f4-258b06d96afb","parentUUID":"e9de3d94-3443-4e84-98e0-0b93abaaa651","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["18c62cb7-9c00-4b20-87f4-258b06d96afb"],"pending":[],"skipped":[],"duration":21867,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb28e2e5-b233-4826-af4e-d3edf0ae442b","title":"","fullFile":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\10HPP_BankTransfer_Stripe.spec.js","file":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fea21631-80f2-4036-8f1c-9cf12c578284","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":20810,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:8:11)","diff":null},"uuid":"5220dbe7-d7f4-464d-95be-731df6afaaf4","parentUUID":"fea21631-80f2-4036-8f1c-9cf12c578284","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5220dbe7-d7f4-464d-95be-731df6afaaf4"],"pending":[],"skipped":[],"duration":20810,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"225cebdb-ad04-4cf4-9bbe-bd2de732258e","title":"","fullFile":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\15HPP_CreditCard_Stripe_3DSecure.spec.js","file":"cypress\\e2e\\SF\\e-product\\HPP\\Hpp-Gift-Plan\\15HPP_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a4aab8e1-628e-4219-9d62-baaeff590daf","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe 3D Secure","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe 3D Secure","timedOut":null,"duration":21408,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js:11:11)","diff":null},"uuid":"c54d71ad-3f36-47a9-b695-260192553d5c","parentUUID":"a4aab8e1-628e-4219-9d62-baaeff590daf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c54d71ad-3f36-47a9-b695-260192553d5c"],"pending":[],"skipped":[],"duration":21408,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"87256896-1f75-4941-99f9-2e1a66af44f1","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":"645d6991-89b6-40a7-b3d1-a8c65050f497","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":2726,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"cb843539-fdeb-422f-8852-fa19012712ca","parentUUID":"645d6991-89b6-40a7-b3d1-a8c65050f497","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cb843539-fdeb-422f-8852-fa19012712ca"],"pending":[],"skipped":[],"duration":2726,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3602e8b7-04dc-435c-978e-f69d885a44d9","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":"2c328a25-bfe2-44a1-aa5e-2c6cb0d7a775","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":2792,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"1fe73662-38ff-425c-8c85-b9a8dbcb5d12","parentUUID":"2c328a25-bfe2-44a1-aa5e-2c6cb0d7a775","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1fe73662-38ff-425c-8c85-b9a8dbcb5d12"],"pending":[],"skipped":[],"duration":2792,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1799fa13-d097-4d9d-ad08-f7b9f142bbc1","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":"5b71d3b8-f8f1-4f3d-9f68-a6a6487cfa37","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":2803,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"cdd516c7-c028-41ff-9a98-16e05550afa4","parentUUID":"5b71d3b8-f8f1-4f3d-9f68-a6a6487cfa37","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cdd516c7-c028-41ff-9a98-16e05550afa4"],"pending":[],"skipped":[],"duration":2803,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"994f4448-28ab-4a40-adcd-7e106bf1177a","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":"c1b241b0-47af-4c9b-aa45-2eb33b699c36","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":2754,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"fa3ed6ec-06cf-43e8-b76f-2446857b89f6","parentUUID":"c1b241b0-47af-4c9b-aa45-2eb33b699c36","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fa3ed6ec-06cf-43e8-b76f-2446857b89f6"],"pending":[],"skipped":[],"duration":2754,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a97851b9-9f08-4e1f-95ef-1298b529fd38","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":"5357844f-1588-4046-92d0-4b3b2dff9628","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":2722,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"ebd2e6a7-613a-4196-971a-e9a9ed7e9efd","parentUUID":"5357844f-1588-4046-92d0-4b3b2dff9628","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ebd2e6a7-613a-4196-971a-e9a9ed7e9efd"],"pending":[],"skipped":[],"duration":2722,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88c24716-c700-41ab-a023-a531fe9faebf","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":"16521d56-4ccc-48e5-80fb-4e925f0a2fe3","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":2714,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"e604215f-21b5-4727-b031-c5477e1e0c2b","parentUUID":"16521d56-4ccc-48e5-80fb-4e925f0a2fe3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e604215f-21b5-4727-b031-c5477e1e0c2b"],"pending":[],"skipped":[],"duration":2714,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d1e361a-f39a-404a-90c4-7e7cadb1abc3","title":"","fullFile":"cypress\\e2e\\SF\\h-customer\\Customer Details Page\\Add Public Payment Method\\04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\h-customer\\Customer Details Page\\Add Public Payment Method\\04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0473cda2-6817-4cc3-a59c-bf9c0654c6cc","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":115036,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{},"uuid":"06142a9f-24df-4ba4-bb1d-557bf431bd20","parentUUID":"0473cda2-6817-4cc3-a59c-bf9c0654c6cc","isHook":false,"skipped":false}],"suites":[],"passes":["06142a9f-24df-4ba4-bb1d-557bf431bd20"],"failures":[],"pending":[],"skipped":[],"duration":115036,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5466b78-daec-41cc-bc69-3b4e8e8c1052","title":"","fullFile":"cypress\\e2e\\SF\\h-customer\\Customer Details Page\\Add Public Payment Method\\05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress\\e2e\\SF\\h-customer\\Customer Details Page\\Add Public Payment Method\\05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1ec01bf0-1d50-412a-a0a3-d065662ecf98","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":103339,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(image => {\n cy.get('.row img').its('length').then(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(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(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible')","err":{},"uuid":"3084427a-a69d-43ab-8612-d81b3fa8ba3a","parentUUID":"1ec01bf0-1d50-412a-a0a3-d065662ecf98","isHook":false,"skipped":false}],"suites":[],"passes":["3084427a-a69d-43ab-8612-d81b3fa8ba3a"],"failures":[],"pending":[],"skipped":[],"duration":103339,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a0b7737b-b3ac-4587-b408-580ab83e3e3c","title":"","fullFile":"cypress\\e2e\\SF\\h-customer\\Customer Details Page\\Add Public Payment Method\\08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","file":"cypress\\e2e\\SF\\h-customer\\Customer Details Page\\Add Public Payment Method\\08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a8c54951-b87c-4894-890c-31ca91007ec2","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":105496,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4000002760003184', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);","err":{},"uuid":"07a47e57-bd3b-456d-adbe-7d95b99a0552","parentUUID":"a8c54951-b87c-4894-890c-31ca91007ec2","isHook":false,"skipped":false}],"suites":[],"passes":["07a47e57-bd3b-456d-adbe-7d95b99a0552"],"failures":[],"pending":[],"skipped":[],"duration":105496,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3e1f7de7-c01f-40c9-a538-fcf733794f61","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":"6dffac3b-1e57-4253-ac88-481f205b90c6","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":2804,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"b036afdb-1ade-4e42-a907-6d69734d5760","parentUUID":"6dffac3b-1e57-4253-ac88-481f205b90c6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b036afdb-1ade-4e42-a907-6d69734d5760"],"pending":[],"skipped":[],"duration":2804,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98fa6da0-0906-4657-8091-c4742831c1a9","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":"d003c9b9-041e-428f-81bc-67a50b3aabc1","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":2694,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"6641bad0-2697-4200-b28c-9ab5735c4285","parentUUID":"d003c9b9-041e-428f-81bc-67a50b3aabc1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6641bad0-2697-4200-b28c-9ab5735c4285"],"pending":[],"skipped":[],"duration":2694,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5eaa79e6-2a37-4563-a3af-b7b09967d41a","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":"cef69fcf-69bc-4e19-a52e-d422ff5e9247","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":2694,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"31764245-96af-4ddb-99a7-8039b1d96315","parentUUID":"cef69fcf-69bc-4e19-a52e-d422ff5e9247","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31764245-96af-4ddb-99a7-8039b1d96315"],"pending":[],"skipped":[],"duration":2694,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"207a028f-387b-4bba-bf38-da995bc55388","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":"56497355-a129-429f-a423-d939da0705b7","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":2735,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"7735e671-8761-426f-bea5-4a90fc2493ed","parentUUID":"56497355-a129-429f-a423-d939da0705b7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7735e671-8761-426f-bea5-4a90fc2493ed"],"pending":[],"skipped":[],"duration":2735,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"733e6bdf-1d0b-44a7-92b5-060cd47e76be","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":"8f264f3e-ddf4-4e6b-b497-d7d223d4a050","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":2756,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"31ee604f-50fa-42f8-b21b-f0859c77f984","parentUUID":"8f264f3e-ddf4-4e6b-b497-d7d223d4a050","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31ee604f-50fa-42f8-b21b-f0859c77f984"],"pending":[],"skipped":[],"duration":2756,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ff8eaba7-7684-44e3-82ec-8f63387671c7","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":"7b21235d-80d8-41bc-9678-7efc389035cf","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":2681,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"e7baf394-1085-4134-8087-413359418b90","parentUUID":"7b21235d-80d8-41bc-9678-7efc389035cf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e7baf394-1085-4134-8087-413359418b90"],"pending":[],"skipped":[],"duration":2681,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e3add5c2-1cde-49c3-8f5f-9357ffa59ee0","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":"7a5b7fa1-e462-4f3d-b261-37952da584bd","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":2660,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"151e07fe-fbdb-4c58-ad26-d0583a21cba1","parentUUID":"7a5b7fa1-e462-4f3d-b261-37952da584bd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["151e07fe-fbdb-4c58-ad26-d0583a21cba1"],"pending":[],"skipped":[],"duration":2660,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fe12acb7-bed9-4c66-bbbb-859a1ee69324","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":"46abf738-aa04-4dd3-823f-cfe5b82fc20b","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":2654,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"73edcc44-8095-4fcb-b93d-91b9838802ef","parentUUID":"46abf738-aa04-4dd3-823f-cfe5b82fc20b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["73edcc44-8095-4fcb-b93d-91b9838802ef"],"pending":[],"skipped":[],"duration":2654,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5dc14eaa-b1b9-418b-97cd-09b82ccb023a","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":"6cd99fcd-c6cb-418b-8ab7-77a8669ac76c","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":2715,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"9c9f11c3-394c-4a4c-8e97-4721000967dc","parentUUID":"6cd99fcd-c6cb-418b-8ab7-77a8669ac76c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9c9f11c3-394c-4a4c-8e97-4721000967dc"],"pending":[],"skipped":[],"duration":2715,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c50acaca-2a12-46fc-adbf-e2e39f886b62","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":"a76d1a19-0296-43c2-a82f-9f723b31fdb7","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":2648,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"196d205c-240d-403a-ac9b-9cb2786304b1","parentUUID":"a76d1a19-0296-43c2-a82f-9f723b31fdb7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["196d205c-240d-403a-ac9b-9cb2786304b1"],"pending":[],"skipped":[],"duration":2648,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"08b19804-81b5-4b2b-99ae-3ebd2ab71ab8","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":"10984e60-dfa5-44e1-948e-670bb3d04567","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":2634,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"61e7d7b9-06f6-4d49-9cbe-107ea3c2cfca","parentUUID":"10984e60-dfa5-44e1-948e-670bb3d04567","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["61e7d7b9-06f6-4d49-9cbe-107ea3c2cfca"],"pending":[],"skipped":[],"duration":2634,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"475a682a-3e02-4a6c-847f-1c6be4c46762","title":"","fullFile":"cypress\\e2e\\SF\\j-invoices\\Public Checkout\\06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\j-invoices\\Public Checkout\\06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8076a7e6-a6a2-4301-8fca-95150b2cdbe9","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":179620,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(1000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.wait(2000);\ncy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(status => {\n // expect(status.text()).to.eq('Paid ')\n // })\n });\n});","err":{},"uuid":"de729761-6397-4428-a13e-b108e8ca1530","parentUUID":"8076a7e6-a6a2-4301-8fca-95150b2cdbe9","isHook":false,"skipped":false}],"suites":[],"passes":["de729761-6397-4428-a13e-b108e8ca1530"],"failures":[],"pending":[],"skipped":[],"duration":179620,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"25d8139a-f495-4838-81af-4070e55d0a8d","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":"fc0b0119-9e9d-4d1b-b6ba-9af381115194","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":2721,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"9c18cf9d-5069-4868-a7a0-24732a863b22","parentUUID":"fc0b0119-9e9d-4d1b-b6ba-9af381115194","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9c18cf9d-5069-4868-a7a0-24732a863b22"],"pending":[],"skipped":[],"duration":2721,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ea975991-b39b-4243-9a9b-d5a69b356863","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":"438dbd67-dcd3-4f9b-b164-70130a6fbbc2","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":3343,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"b8382012-7754-4107-a890-ae801eaf2bf1","parentUUID":"438dbd67-dcd3-4f9b-b164-70130a6fbbc2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b8382012-7754-4107-a890-ae801eaf2bf1"],"pending":[],"skipped":[],"duration":3343,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4668b259-d6ae-46a6-a981-ec5236a96dfb","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":"b588e7f0-a15a-41da-a88d-a1d190accec8","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":4158,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"cb0d128a-f2dd-4638-827a-b788ebc0c66d","parentUUID":"b588e7f0-a15a-41da-a88d-a1d190accec8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cb0d128a-f2dd-4638-827a-b788ebc0c66d"],"pending":[],"skipped":[],"duration":4158,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"225b9852-731a-46f5-bee8-8c516c34b1b3","title":"","fullFile":"cypress\\e2e\\SF\\payment-methods\\bank-transfer\\01HPP_BankTransfer_Stripe.spec.js","file":"cypress\\e2e\\SF\\payment-methods\\bank-transfer\\01HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c21b93f2-00dd-4d54-8c9b-a21732bf11ff","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":70313,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/products');\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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.get(j).first().then(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"f7852003-6be1-43c8-9d2e-b5b7573ba834","parentUUID":"c21b93f2-00dd-4d54-8c9b-a21732bf11ff","isHook":false,"skipped":false}],"suites":[],"passes":["f7852003-6be1-43c8-9d2e-b5b7573ba834"],"failures":[],"pending":[],"skipped":[],"duration":70313,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e8dca0b0-6be4-4ff9-ab30-38427cd7196d","title":"","fullFile":"cypress\\e2e\\SF\\payment-methods\\bank-transfer\\02Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress\\e2e\\SF\\payment-methods\\bank-transfer\\02Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3828b5e4-7e29-4cca-90e2-efba36d966d4","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":88279,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/customers');\ncy.wait(1000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible')","err":{},"uuid":"f5afb325-7eee-40bc-a2e4-d469e050253e","parentUUID":"3828b5e4-7e29-4cca-90e2-efba36d966d4","isHook":false,"skipped":false}],"suites":[],"passes":["f5afb325-7eee-40bc-a2e4-d469e050253e"],"failures":[],"pending":[],"skipped":[],"duration":88279,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f73ba28b-0201-4474-bcca-1ec7378fe805","title":"","fullFile":"cypress\\e2e\\SF\\payment-methods\\stripe\\01HPP_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\payment-methods\\stripe\\01HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"18616069-fcf4-4e4a-ba8c-eb52b52013d7","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":165709,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/products');\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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.get(j).first().then(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<table#relatedViewTableEl.fs--1.table.table-hover.table-sm.theme-revamp-table.m-0>' to contain 'IIDqynxKyt'","estack":"AssertionError: Timed out retrying after 4000ms: expected '<table#relatedViewTableEl.fs--1.table.table-hover.table-sm.theme-revamp-table.m-0>' to contain 'IIDqynxKyt'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/payment-methods/stripe/01HPP_CreditCard_Stripe.spec.js:230:50)","diff":null},"uuid":"53bb7da6-cd23-48dc-a21f-5a147054075b","parentUUID":"18616069-fcf4-4e4a-ba8c-eb52b52013d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["53bb7da6-cd23-48dc-a21f-5a147054075b"],"pending":[],"skipped":[],"duration":165709,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eef10247-57b9-43fa-8a2c-78b714d76248","title":"","fullFile":"cypress\\e2e\\SF\\payment-methods\\stripe\\02Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\payment-methods\\stripe\\02Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"578b9e8d-7eb3-4d1d-845a-bdefc8656cd6","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":78008,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/customers\");\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{},"uuid":"00a49f24-5c05-474a-a601-447ee0913ae3","parentUUID":"578b9e8d-7eb3-4d1d-845a-bdefc8656cd6","isHook":false,"skipped":false}],"suites":[],"passes":["00a49f24-5c05-474a-a601-447ee0913ae3"],"failures":[],"pending":[],"skipped":[],"duration":78008,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5731340d-9003-443f-82a5-e18996184697","title":"","fullFile":"cypress\\e2e\\SF\\payment-methods\\stripe\\03Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress\\e2e\\SF\\payment-methods\\stripe\\03Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"15095af2-e888-4dd9-a93a-fff5ddbe8480","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":0,"state":"skipped","speed":null,"pass":false,"fail":false,"pending":false,"context":null,"code":"cy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(status => {\n // expect(status.text()).to.eq('Paid ')\n // })\n });\n});","err":{},"uuid":"a48357ad-1a70-4b9b-917f-a5e727bf3d1c","parentUUID":"15095af2-e888-4dd9-a93a-fff5ddbe8480","isHook":false,"skipped":true}],"suites":[],"passes":[],"failures":[],"pending":[],"skipped":["a48357ad-1a70-4b9b-917f-a5e727bf3d1c"],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4e158a6c-f45c-4406-b8e4-4f40351e4edd","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":"efa59cfc-133e-441c-ae15-b91ce7346c4b","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":2808,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:105:8)","diff":null},"uuid":"b0a1419f-2c12-4c21-b4ef-9fc099f3c72b","parentUUID":"efa59cfc-133e-441c-ae15-b91ce7346c4b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b0a1419f-2c12-4c21-b4ef-9fc099f3c72b"],"pending":[],"skipped":[],"duration":2808,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0046761-ff88-4bac-9496-c9b9b8f34274","title":"","fullFile":"cypress\\e2e\\commerce\\checkout-with-credit-card.js","file":"cypress\\e2e\\commerce\\checkout-with-credit-card.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8a4359c7-b14f-4c34-87a1-51e5766b5ea9","title":"checkout page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"It will go to checkout page with credit card","fullTitle":"checkout page It will go to checkout page with credit card","timedOut":null,"duration":57365,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/shop');\ncy.get('.col-lg-6:first .product_img_height img').click();\ncy.get('a.btn-danger').contains('Buy Now').click();\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_hpp-chk-acc-info_lbl-acc-info').should('exist');\ncy.get('#sc_hpp-chk-billing-addr_lbl-billing-addr').should('exist');\ncy.get('#sc_hpp-chk-payment_lbl-payment-info').should('exist');\ncy.wait(8000);\nvar name = userID_Alpha_Numeric();\ncy.get('#sc_hpp-chk-acc-info_inp-fname-el').type('Stephanie');\ncy.get('#sc_hpp-chk-acc-info_inp-lname-el').type(name);\ncy.get('#sc_hpp-chk-acc-info_inp-email-el').type(name);\ncy.get('#sc_hpp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_hpp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_hpp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_hpp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_hpp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_hpp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_hpp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_hpp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_hpp-chk-payment_credit-card-tab').click({\n force: true\n});\ncy.wait(10000);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement iframe').then($iframe => {\n const $body = $iframe.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_hpp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_hpp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#sc_hpp-chk-acc-info_inp-email-el').type('test@mail.com');\ncy.get('#sc_hpp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(15000);\ncy.get('.lead').contains('Your subscription is confirmed').should('be.visible');","err":{},"uuid":"1defe78c-a0c1-4d04-9b23-15c88ef465c3","parentUUID":"8a4359c7-b14f-4c34-87a1-51e5766b5ea9","isHook":false,"skipped":false}],"suites":[],"passes":["1defe78c-a0c1-4d04-9b23-15c88ef465c3"],"failures":[],"pending":[],"skipped":[],"duration":57365,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"61f6740b-a8c7-42cb-819e-f8cace4a1fb3","title":"","fullFile":"cypress\\e2e\\commerce\\checkout-with-go-cardless.js","file":"cypress\\e2e\\commerce\\checkout-with-go-cardless.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cae1207f-525f-483a-a731-e683c20049cf","title":"checkout page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"It will go to checkout page with go cardless","fullTitle":"checkout page It will go to checkout page with go cardless","timedOut":null,"duration":66261,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/shop');\ncy.get('.col-lg-6:first .product_img_height img').click();\ncy.get('a.btn-danger').contains('Buy Now').click();\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_hpp-chk-acc-info_lbl-acc-info').should('exist');\ncy.get('#sc_hpp-chk-billing-addr_lbl-billing-addr').should('exist');\ncy.get('#sc_hpp-chk-payment_lbl-payment-info').should('exist');\ncy.wait(8000);\nvar name = userID_Alpha_Numeric();\ncy.get('#sc_hpp-chk-acc-info_inp-fname-el').type('Stephanie');\ncy.get('#sc_hpp-chk-acc-info_inp-lname-el').type(name);\ncy.get('#sc_hpp-chk-acc-info_inp-email-el').type(name);\ncy.get('#sc_hpp-chk-acc-info_inp-notes-el').type('This is the description');\ncy.get('#select2-sc_hpp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_hpp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_hpp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_hpp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_hpp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_hpp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_hpp-chk-billing-addr-inp-addrline2-el').type('street 1');\ncy.get('#sc_hpp-chk-payment_gocardless-tab').click({\n force: true\n});\ncy.get('#sc_hpp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(5000);\ncy.get('#sc_hpp-chk-acc-info_inp-email-el').type('test@mail.com');\ncy.wait(5000);\ncy.get('#sc_hpp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(15000);\ncy.url().should('match', /https:\\/\\/pay-sandbox\\.gocardless\\.com\\/.*/);\ncy.contains('Continue').click({\n force: true\n});\ncy.wait(5000);\ncy.get('input[data-testid=\"bank_code\"]').type('026073150');\ncy.get('input[data-testid=\"account_number\"]').type('2715500356');\ncy.get('select[name=\"account_type\"]').select('checking');\ncy.contains('Continue').click({\n force: true\n});\ncy.wait(5000);\ncy.get('button[data-testid=\"billing-request.bank-confirm.direct-debit-cta-button\"]').click({\n force: true\n});\ncy.wait(5000);\ncy.get('.lead').contains('Your payment method is successfully approved.').should('be.visible');","err":{},"uuid":"cbcfca77-4ff6-43e4-902f-86e73e308a96","parentUUID":"cae1207f-525f-483a-a731-e683c20049cf","isHook":false,"skipped":false}],"suites":[],"passes":["cbcfca77-4ff6-43e4-902f-86e73e308a96"],"failures":[],"pending":[],"skipped":[],"duration":66261,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6555b959-f22f-4fbc-84cc-44f117c4a827","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":"9ba6ea7b-dbdd-4bce-b393-c40b3484cec8","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":2740,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/01-create_order.spec.js:101:8)","diff":null},"uuid":"913699a4-e499-431c-8b53-a395067d355d","parentUUID":"9ba6ea7b-dbdd-4bce-b393-c40b3484cec8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["913699a4-e499-431c-8b53-a395067d355d"],"pending":[],"skipped":[],"duration":2740,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"be81dcc7-a52b-4a79-99ea-0998d46f7515","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":"fb08c621-0229-462b-9c0d-b0e55868f706","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":2663,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/02-create-evergreen-order.spec.js:101:8)","diff":null},"uuid":"49e5443b-1912-40f4-9242-fb244320b393","parentUUID":"fb08c621-0229-462b-9c0d-b0e55868f706","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["49e5443b-1912-40f4-9242-fb244320b393"],"pending":[],"skipped":[],"duration":2663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"73e99ce5-6b74-4599-a31b-cb70489b8751","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":"206525b8-65bc-4d71-a08e-9225a288d0ec","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":2644,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/03-create-trial-order.spec.js:101:8)","diff":null},"uuid":"4fd80404-a783-4f8a-8dbd-b966fbc7f87a","parentUUID":"206525b8-65bc-4d71-a08e-9225a288d0ec","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4fd80404-a783-4f8a-8dbd-b966fbc7f87a"],"pending":[],"skipped":[],"duration":2644,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"73a792b2-98c9-402a-9459-5f64ea572913","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":"fa4a2741-791f-4bed-8f88-bba9ac0d50af","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":2663,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/04-giftsubs.spec.js:101:8)","diff":null},"uuid":"5d79eb57-4ad1-4fc9-9163-8647c7e498ed","parentUUID":"fa4a2741-791f-4bed-8f88-bba9ac0d50af","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5d79eb57-4ad1-4fc9-9163-8647c7e498ed"],"pending":[],"skipped":[],"duration":2663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d14b66eb-f297-4ce2-a12c-8f03392759a7","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":"ffbfb5de-82cb-4864-8842-c7a6d0fdff68","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":2637,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/05-modify-existing-subs.spec.js:101:8)","diff":null},"uuid":"029469b8-00c6-4330-839c-0866e7757d02","parentUUID":"ffbfb5de-82cb-4864-8842-c7a6d0fdff68","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["029469b8-00c6-4330-839c-0866e7757d02"],"pending":[],"skipped":[],"duration":2637,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"531bac20-8483-4273-b06a-a6fc8776be9f","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":"b8fec8fc-2ace-448c-86c7-dadd57866ae8","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":2890,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/06-increase-quantity.spec.js:104:8)","diff":null},"uuid":"85486cc5-9fcf-46de-90b2-2c63515780e5","parentUUID":"b8fec8fc-2ace-448c-86c7-dadd57866ae8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["85486cc5-9fcf-46de-90b2-2c63515780e5"],"pending":[],"skipped":[],"duration":2890,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c0b9253a-1ec7-4d59-9c83-84e02bd8792f","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":"cc6a3488-01a6-4871-84ac-cd435be7f5d0","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":2737,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/07-decrease-quantity.spec.js:104:8)","diff":null},"uuid":"58fd1344-e636-4269-82ac-90773159eb90","parentUUID":"cc6a3488-01a6-4871-84ac-cd435be7f5d0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["58fd1344-e636-4269-82ac-90773159eb90"],"pending":[],"skipped":[],"duration":2737,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"57d60b17-aef2-4f21-9282-871a5faf1bc3","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":"9c9d2714-866f-4c0c-a825-f3dea96f5fa0","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":2687,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/08-increase-price.spec.js:104:8)","diff":null},"uuid":"948fb840-4c03-49db-8133-7d66d560d2ca","parentUUID":"9c9d2714-866f-4c0c-a825-f3dea96f5fa0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["948fb840-4c03-49db-8133-7d66d560d2ca"],"pending":[],"skipped":[],"duration":2687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3d91e281-f014-4c12-b5f9-56fb1c169770","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":"e134201c-1047-4cd7-a6e9-fc12022cd929","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":2668,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/09-decrease-price.spec.js:104:8)","diff":null},"uuid":"e2f997ca-e506-4408-bcf8-c49477cecfbb","parentUUID":"e134201c-1047-4cd7-a6e9-fc12022cd929","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e2f997ca-e506-4408-bcf8-c49477cecfbb"],"pending":[],"skipped":[],"duration":2668,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"12f9159f-01b4-4830-a55d-462bcafd1778","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":"04bc9b57-a222-4d7b-99b4-fc127d6d1235","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":2686,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/10-change-plan-downgrade.spec.js:104:8)","diff":null},"uuid":"f500b82c-ebfc-4186-9994-dffb326a2388","parentUUID":"04bc9b57-a222-4d7b-99b4-fc127d6d1235","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f500b82c-ebfc-4186-9994-dffb326a2388"],"pending":[],"skipped":[],"duration":2686,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c065862-d5e4-40ed-a191-4a260900888f","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":"07ef0228-0bf4-48a3-a170-bedd92a62486","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":2732,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/11-change-plan-upgrade.spec.js:104:8)","diff":null},"uuid":"c1685857-5039-4328-8f0d-3f082330333f","parentUUID":"07ef0228-0bf4-48a3-a170-bedd92a62486","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c1685857-5039-4328-8f0d-3f082330333f"],"pending":[],"skipped":[],"duration":2732,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9624dd68-ebba-4c10-a5a2-f0509903f45d","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":"3ff2e82d-f976-48b5-a200-6f32888c1b96","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":2672,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/12-change-product-upgrade.spec.js:104:8)","diff":null},"uuid":"66d90898-e26c-4d83-8797-3b59cd0fca6c","parentUUID":"3ff2e82d-f976-48b5-a200-6f32888c1b96","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["66d90898-e26c-4d83-8797-3b59cd0fca6c"],"pending":[],"skipped":[],"duration":2672,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"33786343-40ce-4a10-a3e7-4969be6d413e","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":"7588fde6-ae3b-44ea-b9dc-b03a68fe583e","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":2629,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/13-change-product-downgrade.spec.js:104:8)","diff":null},"uuid":"451163dd-7531-4a1c-9bb8-53ba923e93ed","parentUUID":"7588fde6-ae3b-44ea-b9dc-b03a68fe583e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["451163dd-7531-4a1c-9bb8-53ba923e93ed"],"pending":[],"skipped":[],"duration":2629,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a4746a0b-6240-45ae-a062-d6dc01ffc6d1","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":"88a60d43-70d1-4783-80ac-3047a8c0bc80","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":2644,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/14-add-line-item.spec.js:104:8)","diff":null},"uuid":"a209eb21-e276-4553-a579-35e8e40c81c9","parentUUID":"88a60d43-70d1-4783-80ac-3047a8c0bc80","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a209eb21-e276-4553-a579-35e8e40c81c9"],"pending":[],"skipped":[],"duration":2644,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4b6642b0-aee3-4165-9f21-e454000343e9","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":"983f2ef2-980d-48a2-b3ff-b44944b0e9f1","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":2646,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"ba902959-d658-45cd-8370-4509be20e9c8","parentUUID":"983f2ef2-980d-48a2-b3ff-b44944b0e9f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ba902959-d658-45cd-8370-4509be20e9c8"],"pending":[],"skipped":[],"duration":2646,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"abff00b4-ea15-4b4a-8dbf-7ae05779d6e3","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":"32a7ed83-d369-40dc-8280-76d16d17d64d","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":2615,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"86fda3fe-e7b1-4a3b-9023-93f044350b85","parentUUID":"32a7ed83-d369-40dc-8280-76d16d17d64d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["86fda3fe-e7b1-4a3b-9023-93f044350b85"],"pending":[],"skipped":[],"duration":2615,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"347b9c9b-6959-4b34-98a5-bb7732f14f57","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":"d69a41ed-b671-408a-978f-816ea0d92a8b","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":2643,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"80660e6c-0b23-415c-811a-ca3efe48be95","parentUUID":"d69a41ed-b671-408a-978f-816ea0d92a8b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80660e6c-0b23-415c-811a-ca3efe48be95"],"pending":[],"skipped":[],"duration":2643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8f9a2cf0-ae7b-400a-9949-845bb590331b","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":"0d186d1f-07d0-4f04-a7f6-4d5d876abc28","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":2701,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"18853930-6489-44c0-a56d-92f049f56b1d","parentUUID":"0d186d1f-07d0-4f04-a7f6-4d5d876abc28","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["18853930-6489-44c0-a56d-92f049f56b1d"],"pending":[],"skipped":[],"duration":2701,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b1ce3f5f-487a-46e1-b60e-4a9ba08064e2","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":"ecd207c0-448b-40fb-a952-7bc216216699","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":2687,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"589099b6-76a0-42fd-a5ae-d28aa090cca9","parentUUID":"ecd207c0-448b-40fb-a952-7bc216216699","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["589099b6-76a0-42fd-a5ae-d28aa090cca9"],"pending":[],"skipped":[],"duration":2687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c598a882-c942-4859-891d-44896e9c9242","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":"642855e8-9a7f-4037-8755-bb8477b1875b","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":2679,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"3f09d540-4665-4b53-bf3d-8e8b40055daf","parentUUID":"642855e8-9a7f-4037-8755-bb8477b1875b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f09d540-4665-4b53-bf3d-8e8b40055daf"],"pending":[],"skipped":[],"duration":2679,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b9517b65-1de3-4fdc-853f-76f14e340a0d","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":"6109bcbe-b683-41d2-a62d-2f3e54bdb7db","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":2641,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"988f90a6-e398-43d4-ad7d-4a1a01c2a327","parentUUID":"6109bcbe-b683-41d2-a62d-2f3e54bdb7db","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["988f90a6-e398-43d4-ad7d-4a1a01c2a327"],"pending":[],"skipped":[],"duration":2641,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"19446124-2d24-403c-91a9-7c81b86c4263","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":"a76aa6fc-737d-4d2d-996f-b078acb6c5b6","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":2611,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"53094680-c596-4892-af38-065a62f56e7a","parentUUID":"a76aa6fc-737d-4d2d-996f-b078acb6c5b6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["53094680-c596-4892-af38-065a62f56e7a"],"pending":[],"skipped":[],"duration":2611,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"43cf18e5-e803-459c-b45c-aeaa14f10add","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":"311cf7e9-29a8-4ea7-9c4e-59419ca52c48","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":2641,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"212224b0-9fbd-4c06-b511-4ca8ff8d85d4","parentUUID":"311cf7e9-29a8-4ea7-9c4e-59419ca52c48","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["212224b0-9fbd-4c06-b511-4ca8ff8d85d4"],"pending":[],"skipped":[],"duration":2641,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"83591f06-80a2-47f4-a875-2442a154cfde","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":"7a823391-20b2-403c-a709-cac6d67cef7e","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":2641,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"66313176-55a9-430a-bc14-320b11f6f0af","parentUUID":"7a823391-20b2-403c-a709-cac6d67cef7e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["66313176-55a9-430a-bc14-320b11f6f0af"],"pending":[],"skipped":[],"duration":2641,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6451ec98-592c-4857-b916-b8f8db3e111e","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":"aedb511d-0f15-4318-8282-6593bf6fafd9","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":2626,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"5057a4f7-dfbc-435e-ba71-2188364f374e","parentUUID":"aedb511d-0f15-4318-8282-6593bf6fafd9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5057a4f7-dfbc-435e-ba71-2188364f374e"],"pending":[],"skipped":[],"duration":2626,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f5a5427c-b30c-4a20-ab2a-0388f0ca7547","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":"51ddfc81-8323-4c02-9cc5-57ca041fedec","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":2658,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"89c2f9ec-66e8-4e71-b9c2-dd8b498ce7bf","parentUUID":"51ddfc81-8323-4c02-9cc5-57ca041fedec","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["89c2f9ec-66e8-4e71-b9c2-dd8b498ce7bf"],"pending":[],"skipped":[],"duration":2658,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dae015e6-0a15-43d7-931d-456857c32bf7","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":"03dd3282-9095-4259-a184-85858681d263","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":2628,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"078120b4-a9fa-4351-b051-a71247a1811b","parentUUID":"03dd3282-9095-4259-a184-85858681d263","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["078120b4-a9fa-4351-b051-a71247a1811b"],"pending":[],"skipped":[],"duration":2628,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8f0c0c86-4c5c-44cd-a430-646a417afeca","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":"92a4d437-00c4-43f2-b32b-e6b9ef20b248","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":2626,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"80cf8445-f5c3-4d61-9d3a-a7082fb6a91b","parentUUID":"92a4d437-00c4-43f2-b32b-e6b9ef20b248","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80cf8445-f5c3-4d61-9d3a-a7082fb6a91b"],"pending":[],"skipped":[],"duration":2626,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"951ccb57-a52d-4998-ba63-a660c670d74b","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":"f1137ba1-f808-4953-bae7-2b27f5af4653","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":2676,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"393725bf-99b5-49cb-b81e-cbfedc7da73d","parentUUID":"f1137ba1-f808-4953-bae7-2b27f5af4653","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["393725bf-99b5-49cb-b81e-cbfedc7da73d"],"pending":[],"skipped":[],"duration":2676,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9629d8b9-e582-41d4-ad06-0c5b4cc166b1","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":"2f5335e3-604e-4487-b23d-eb74dc790bb7","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":2712,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"8713be4a-c7e1-4200-866a-ff89fce2501a","parentUUID":"2f5335e3-604e-4487-b23d-eb74dc790bb7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8713be4a-c7e1-4200-866a-ff89fce2501a"],"pending":[],"skipped":[],"duration":2712,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2bc6094e-6e91-4a06-ad9f-ca9fa0ab7c93","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":"4afbceeb-a049-4529-99dd-824486461e27","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":2626,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"d7ce2c7a-df0c-47d8-b0ba-6b963b4cb813","parentUUID":"4afbceeb-a049-4529-99dd-824486461e27","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d7ce2c7a-df0c-47d8-b0ba-6b963b4cb813"],"pending":[],"skipped":[],"duration":2626,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88b381cc-370d-49cf-8053-18cd3f485ded","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":"babf6012-ab4e-4eab-b677-81340298bbd6","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":2749,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"71e08f9f-09e2-4fa0-b08e-36c2388e22bf","parentUUID":"babf6012-ab4e-4eab-b677-81340298bbd6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["71e08f9f-09e2-4fa0-b08e-36c2388e22bf"],"pending":[],"skipped":[],"duration":2749,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"838a82ad-7576-4a9d-b1ad-2f0be0d688fb","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":"ba473f45-2144-4087-a888-eec5d6bfb989","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":25242,"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":"AssertionError: Timed out retrying: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.","estack":"AssertionError: Timed out retrying: Expected to find element: `.d-flex > .actions-dropdown > .btn-group > .btn`, but never found it.\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:104:8)","diff":null},"uuid":"37071c3e-dce9-4b76-8375-bc3841e5b10c","parentUUID":"ba473f45-2144-4087-a888-eec5d6bfb989","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["37071c3e-dce9-4b76-8375-bc3841e5b10c"],"pending":[],"skipped":[],"duration":25242,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f623584c-cb85-4c76-8875-a2729b4f704d","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":"684768d4-310f-4234-8f50-6a3a10030c5b","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":15556,"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: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.","estack":"AssertionError: Timed out retrying: Expected to find element: `[data-sfuniqueid=\"navbar__admin-settings\"] > .nav-link > .svg-inline--fa > path`, but never found it.\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:103:8)","diff":null},"uuid":"304941f9-2c5f-4815-ae8b-5404d0df7cdc","parentUUID":"684768d4-310f-4234-8f50-6a3a10030c5b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["304941f9-2c5f-4815-ae8b-5404d0df7cdc"],"pending":[],"skipped":[],"duration":15556,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"528cc2eb-b332-40ee-b8cd-740772d5ec47","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":"6b6e01ea-8d9f-447d-af3d-914eb2672b52","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":3234,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"ee9d691b-f55e-4fad-a874-9407ca1d4fb8","parentUUID":"6b6e01ea-8d9f-447d-af3d-914eb2672b52","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ee9d691b-f55e-4fad-a874-9407ca1d4fb8"],"pending":[],"skipped":[],"duration":3234,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d7c13b0d-b56f-472c-9143-707c0087fefc","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":"76f8b951-3d8c-40b9-a99d-04b092357dac","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":2620,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"4e343919-90d0-4c13-946a-5904b0ff767b","parentUUID":"76f8b951-3d8c-40b9-a99d-04b092357dac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4e343919-90d0-4c13-946a-5904b0ff767b"],"pending":[],"skipped":[],"duration":2620,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4376627c-d973-4837-af81-eab5cb8a6296","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":"7901c8e7-8ed3-4404-8f26-c249287dac16","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":2656,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"ae169fd0-c102-45de-857e-202ba8670512","parentUUID":"7901c8e7-8ed3-4404-8f26-c249287dac16","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae169fd0-c102-45de-857e-202ba8670512"],"pending":[],"skipped":[],"duration":2656,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"704a7058-0096-4cf7-a680-4a6df8fbf84c","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":"0c697e66-741e-4bb4-ab27-6786cb60045c","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":2678,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (eval at <anonymous> (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:176341:16), <anonymous>:101:8)","diff":null},"uuid":"faad581c-980a-439a-8251-c693d3be7f25","parentUUID":"0c697e66-741e-4bb4-ab27-6786cb60045c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["faad581c-980a-439a-8251-c693d3be7f25"],"pending":[],"skipped":[],"duration":2678,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c3113469-3ec7-480c-9b79-b26f031ba676","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":"0e19eef4-9daa-406f-a2c6-5e01102b35b0","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":2633,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"13c84538-d118-4b86-809e-60672722cae9","parentUUID":"0e19eef4-9daa-406f-a2c6-5e01102b35b0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["13c84538-d118-4b86-809e-60672722cae9"],"pending":[],"skipped":[],"duration":2633,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"929ae520-2071-4f7a-8544-5664484c2d50","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":"ec15cc13-b4c8-4294-97d0-60f2ba2e3531","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":2657,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"a6d1a84d-1b27-475c-aa59-080c583cc3dc","parentUUID":"ec15cc13-b4c8-4294-97d0-60f2ba2e3531","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a6d1a84d-1b27-475c-aa59-080c583cc3dc"],"pending":[],"skipped":[],"duration":2657,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0b29110c-3242-44de-a9d3-12f634f88c57","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":"7c5d07c2-9071-47ac-b9ac-22d38b4ddc83","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":2687,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"77dde709-9b30-4b8e-aff4-69d26591f49c","parentUUID":"7c5d07c2-9071-47ac-b9ac-22d38b4ddc83","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["77dde709-9b30-4b8e-aff4-69d26591f49c"],"pending":[],"skipped":[],"duration":2687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"21ae26c0-4c0d-46df-92a4-8183606a527e","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":"d1d10996-5625-4509-a51a-3a85aad98fbf","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":2643,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"61179b5f-ac76-41ce-8143-a181d66a63c0","parentUUID":"d1d10996-5625-4509-a51a-3a85aad98fbf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["61179b5f-ac76-41ce-8143-a181d66a63c0"],"pending":[],"skipped":[],"duration":2643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"485d8c10-40d0-4a04-9099-8b323f75f532","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":"87cf7c27-2017-4e05-bcad-334f17c05918","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":2686,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"6e546693-23aa-472c-9793-86d4fcf47da5","parentUUID":"87cf7c27-2017-4e05-bcad-334f17c05918","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6e546693-23aa-472c-9793-86d4fcf47da5"],"pending":[],"skipped":[],"duration":2686,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dbcc0e53-940e-4b93-a0bb-3deaf09c75cb","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":"e94364e5-df5e-4990-bf78-a3314f338607","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":2692,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"754b90cc-15e0-4b99-98fc-54c96de427d0","parentUUID":"e94364e5-df5e-4990-bf78-a3314f338607","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["754b90cc-15e0-4b99-98fc-54c96de427d0"],"pending":[],"skipped":[],"duration":2692,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f7e06ef1-d24a-45dd-bbc3-03c2cdd330ce","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":"c7d7eab1-9d87-4639-8a60-d753b245e5af","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":2659,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"19c4e845-3416-4011-8159-3a42fd19c9f6","parentUUID":"c7d7eab1-9d87-4639-8a60-d753b245e5af","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["19c4e845-3416-4011-8159-3a42fd19c9f6"],"pending":[],"skipped":[],"duration":2659,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2d36f7a-c87a-4560-93bd-21645ba0874f","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":"e5fef67e-bd27-418c-9cb5-cc3c1054c0ca","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","timedOut":null,"duration":2730,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"c1af4aca-f106-4ac6-8f9a-a038a304a15a","parentUUID":"e5fef67e-bd27-418c-9cb5-cc3c1054c0ca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c1af4aca-f106-4ac6-8f9a-a038a304a15a"],"pending":[],"skipped":[],"duration":2730,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eea909f8-68f8-4578-a7d4-6a4a2e18499d","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":"92550d54-e1a0-4bd9-a0cd-f148a59fbdfd","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":2668,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"9a9d3e4f-f2e3-4d87-bd1a-b4148c4f6a06","parentUUID":"92550d54-e1a0-4bd9-a0cd-f148a59fbdfd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9a9d3e4f-f2e3-4d87-bd1a-b4148c4f6a06"],"pending":[],"skipped":[],"duration":2668,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b88ba2a7-f3c2-4680-bfb8-cb95f122b58c","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":"aac8328c-9ff0-4fac-b391-7662242d31d0","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":2704,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"5676f06b-6287-4692-8b77-3a3b9385f50a","parentUUID":"aac8328c-9ff0-4fac-b391-7662242d31d0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5676f06b-6287-4692-8b77-3a3b9385f50a"],"pending":[],"skipped":[],"duration":2704,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"691ff74f-d3e2-422c-9f79-8c6f5e9a757e","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":"62e6be91-f528-42ab-9548-1923e2813d48","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":2652,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"3cdba845-7231-4a40-b64a-af2801098a8d","parentUUID":"62e6be91-f528-42ab-9548-1923e2813d48","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3cdba845-7231-4a40-b64a-af2801098a8d"],"pending":[],"skipped":[],"duration":2652,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"26bdcf9f-f859-4356-a928-c8aa5eadb423","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":"9314dce1-199b-435a-9403-692e1f3f5418","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":2638,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"9e54db7f-eb28-4bbf-b548-c16d48c433a0","parentUUID":"9314dce1-199b-435a-9403-692e1f3f5418","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9e54db7f-eb28-4bbf-b548-c16d48c433a0"],"pending":[],"skipped":[],"duration":2638,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1fa5c1bf-8813-4696-b101-494edd8746d4","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":"17f59e17-9948-4ac1-b0ef-0119e0fd12d3","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":2647,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"70138e56-c8f4-4f2a-b2c9-beb5ead7bef6","parentUUID":"17f59e17-9948-4ac1-b0ef-0119e0fd12d3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["70138e56-c8f4-4f2a-b2c9-beb5ead7bef6"],"pending":[],"skipped":[],"duration":2647,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ec08e494-6daa-4cb0-aff3-9f68b2d09f98","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":"7d683a6b-3095-4234-b1af-e0a328ff7a1a","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":2687,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"68f38307-6220-427d-9d94-1d2afafbc5bb","parentUUID":"7d683a6b-3095-4234-b1af-e0a328ff7a1a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["68f38307-6220-427d-9d94-1d2afafbc5bb"],"pending":[],"skipped":[],"duration":2687,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"73b69ebb-e4cf-4c0a-a23a-b48d1f92ff7d","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":"13ae6aa0-2c78-496e-8672-de3e2f03588a","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":2660,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"9fef4ce8-2b14-4eeb-bbe4-04dc9da13243","parentUUID":"13ae6aa0-2c78-496e-8672-de3e2f03588a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9fef4ce8-2b14-4eeb-bbe4-04dc9da13243"],"pending":[],"skipped":[],"duration":2660,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eeeab9c6-280b-4343-9b45-cd11adb4e434","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":"453e3cbd-a88a-4c4c-8817-2c524f485145","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":2655,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"9d4ed64b-ef29-4117-b540-4010a9d2c4f5","parentUUID":"453e3cbd-a88a-4c4c-8817-2c524f485145","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9d4ed64b-ef29-4117-b540-4010a9d2c4f5"],"pending":[],"skipped":[],"duration":2655,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b416cab2-dc7f-4b22-9da5-dd8995202c58","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":"b9f9980d-ab6d-4d27-bb39-9454e729c8da","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":2660,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"8dc38343-d50e-429c-82ba-92a45cc5f455","parentUUID":"b9f9980d-ab6d-4d27-bb39-9454e729c8da","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8dc38343-d50e-429c-82ba-92a45cc5f455"],"pending":[],"skipped":[],"duration":2660,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f063a1b-68be-43ec-83b4-5944bdb89b82","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":"168396e1-1888-4cd5-8550-87652179f9a6","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":2784,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"5d26e13c-6e0e-4173-a63e-60f659eaf78a","parentUUID":"168396e1-1888-4cd5-8550-87652179f9a6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5d26e13c-6e0e-4173-a63e-60f659eaf78a"],"pending":[],"skipped":[],"duration":2784,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd0a77a1-7023-4fac-b1d9-c97af8b8d376","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":"e12033e3-c25c-427f-84b8-3ec46a4c2a46","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":2680,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"d03f0b4c-4a5b-4d3c-bfae-efecb94d7ba3","parentUUID":"e12033e3-c25c-427f-84b8-3ec46a4c2a46","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d03f0b4c-4a5b-4d3c-bfae-efecb94d7ba3"],"pending":[],"skipped":[],"duration":2680,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"14bc9fd4-5c9a-4a38-bcd9-ec732d4705e4","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":"a55a79f5-4daa-4bed-b0c8-22b84ce3b691","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":2597,"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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/en/customers\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170: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":"07e59e98-ed42-46e6-8a90-db356657f4dd","parentUUID":"a55a79f5-4daa-4bed-b0c8-22b84ce3b691","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07e59e98-ed42-46e6-8a90-db356657f4dd"],"pending":[],"skipped":[],"duration":2597,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c78dbfb-c793-42f1-85b7-ddfcdd8c490d","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":"846ebb92-1e4a-4a3b-9a10-e5138e15ad86","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":2707,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:105:8)","diff":null},"uuid":"df34bdac-439d-4f16-9082-d60cbec28f2b","parentUUID":"846ebb92-1e4a-4a3b-9a10-e5138e15ad86","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df34bdac-439d-4f16-9082-d60cbec28f2b"],"pending":[],"skipped":[],"duration":2707,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cabe18cb-ce86-48fc-88a7-f37d3710e25a","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":"3e26a303-4f5b-4c21-8ad4-0c1c46b37c02","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":2671,"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":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\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:104:8)","diff":null},"uuid":"17a4dd72-4470-4bbe-931a-724f07b6d4d8","parentUUID":"3e26a303-4f5b-4c21-8ad4-0c1c46b37c02","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["17a4dd72-4470-4bbe-931a-724f07b6d4d8"],"pending":[],"skipped":[],"duration":2671,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c8e4d02-74ad-42d1-80bd-191107096571","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b7aa153f-7f26-48e1-a180-24b2f6e718bf","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":2593,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{"message":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`","estack":"CypressError: `cy.visit()` failed trying to load:\n\nhttps://awais.subscriptionflow.com/\n\nThe response we received from your web server was:\n\n > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157813:25\n at visitFailedByErr (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157189:12)\n at https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:157793:13\n at tryCatcher (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:10584:23)\n at Promise._settlePromiseFromHandler (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8519:31)\n at Promise._settlePromise (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8576:18)\n at Promise._settlePromise0 (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8621:10)\n at Promise._settlePromises (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:8697:18)\n at _drainQueueStep (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5291:12)\n at _drainQueue (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5284:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5300:5)\n at Async.drainQueues (https://awais.subscriptionflow.com/__cypress/runner/cypress_runner.js:5170:14)\nFrom Your Spec Code:\n at Context.eval (https://awais.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/z-logout/logout_spec.js:101:8)","diff":null},"uuid":"9a9824bc-7775-4159-a459-a06ec737e6d3","parentUUID":"b7aa153f-7f26-48e1-a180-24b2f6e718bf","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":4129,"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: Expected to find element: `.navbar-nav.ml-auto > li:last-child`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"9b76f26d-ced0-4134-89a4-901f25adeff5","parentUUID":"b7aa153f-7f26-48e1-a180-24b2f6e718bf","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":4079,"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: Expected to find element: `.text-danger`, but never found it.","estack":"AssertionError: Timed out retrying: 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":"bdf58079-901d-4c76-82d9-becd631c566f","parentUUID":"b7aa153f-7f26-48e1-a180-24b2f6e718bf","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":109,"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":"73c946ba-7986-45e5-8038-aaa59a46f0b3","parentUUID":"b7aa153f-7f26-48e1-a180-24b2f6e718bf","isHook":false,"skipped":false}],"suites":[],"passes":["73c946ba-7986-45e5-8038-aaa59a46f0b3"],"failures":["9a9824bc-7775-4159-a459-a06ec737e6d3","9b76f26d-ced0-4134-89a4-901f25adeff5","bdf58079-901d-4c76-82d9-becd631c566f"],"pending":[],"skipped":[],"duration":10910,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0b5c9856-2e36-476f-b1b1-cd5f15d1c8cb","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d1da524e-6c50-45f3-81c2-97e8e79b6be2","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":6915,"state":"passed","speed":"medium","pass":true,"fail":false,"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');\n// 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":{},"uuid":"3394467c-db21-4bc7-903f-db7c62c04cd4","parentUUID":"d1da524e-6c50-45f3-81c2-97e8e79b6be2","isHook":false,"skipped":false}],"suites":[],"passes":["3394467c-db21-4bc7-903f-db7c62c04cd4"],"failures":[],"pending":[],"skipped":[],"duration":6915,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f7a9efd2-772e-4dad-b005-8d8afa493ba5","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0001e9d2-dfc1-45c8-805b-4f981b997907","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":8523,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"8f017b6b-16b7-41f9-a926-9f2e14e12208","parentUUID":"0001e9d2-dfc1-45c8-805b-4f981b997907","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":5421,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"500a0603-fde2-48a8-b5c0-0e04a24e57fe","parentUUID":"0001e9d2-dfc1-45c8-805b-4f981b997907","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":6158,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"ed234437-f6c2-420e-a758-ae2c281640c7","parentUUID":"0001e9d2-dfc1-45c8-805b-4f981b997907","isHook":false,"skipped":false}],"suites":[],"passes":["8f017b6b-16b7-41f9-a926-9f2e14e12208","500a0603-fde2-48a8-b5c0-0e04a24e57fe","ed234437-f6c2-420e-a758-ae2c281640c7"],"failures":[],"pending":[],"skipped":[],"duration":20102,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a3d73cd0-8d9d-4e28-8233-95a8cf24ca6c","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d036afe9-6413-4866-83ce-dc16f5cd9a06","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":36296,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"f45fac2d-9797-4a11-a937-38c9a8f4fb91","parentUUID":"d036afe9-6413-4866-83ce-dc16f5cd9a06","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":23190,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"bd0a19eb-bb2c-47e1-8c22-5f9ad3534389","parentUUID":"d036afe9-6413-4866-83ce-dc16f5cd9a06","isHook":false,"skipped":false}],"suites":[],"passes":["f45fac2d-9797-4a11-a937-38c9a8f4fb91","bd0a19eb-bb2c-47e1-8c22-5f9ad3534389"],"failures":[],"pending":[],"skipped":[],"duration":59486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a2dd161-a22a-4e23-9600-13998e5e87f9","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f311e329-d902-4aa6-9636-d9843663d7dc","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":14950,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"606c0c5b-82da-4085-930e-91e4b57c5ba4","parentUUID":"f311e329-d902-4aa6-9636-d9843663d7dc","isHook":false,"skipped":false}],"suites":[],"passes":["606c0c5b-82da-4085-930e-91e4b57c5ba4"],"failures":[],"pending":[],"skipped":[],"duration":14950,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"38d661a3-11df-401f-9e02-aeed552f9349","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b319785b-7cbe-4dcf-968a-fec28536ee14","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":11234,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"9ce56cb6-939d-4866-b98b-0d8490bc4e4c","parentUUID":"b319785b-7cbe-4dcf-968a-fec28536ee14","isHook":false,"skipped":false}],"suites":[],"passes":["9ce56cb6-939d-4866-b98b-0d8490bc4e4c"],"failures":[],"pending":[],"skipped":[],"duration":11234,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67dee428-430c-4c63-b784-1b019515a821","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f68e6252-87ed-458b-9f1a-1635f7181434","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":31191,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{},"uuid":"4c981ed8-a15b-41a2-bdaf-c3945b3017f5","parentUUID":"f68e6252-87ed-458b-9f1a-1635f7181434","isHook":false,"skipped":false}],"suites":[],"passes":["4c981ed8-a15b-41a2-bdaf-c3945b3017f5"],"failures":[],"pending":[],"skipped":[],"duration":31191,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e2ec7214-0a06-48d5-a7c3-3865e94086ca","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9555d9da-269d-4264-a21d-b5a4059c9041","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":44095,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"818deb5d-a145-490b-b43f-953baae3c307","parentUUID":"9555d9da-269d-4264-a21d-b5a4059c9041","isHook":false,"skipped":false}],"suites":[],"passes":["818deb5d-a145-490b-b43f-953baae3c307"],"failures":[],"pending":[],"skipped":[],"duration":44095,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"582a06a1-d79a-49f4-9263-577eedfd6607","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"dc55d45f-931b-48f9-b964-c27efe95d510","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":35350,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"b6687eef-91df-4255-8341-60babe9316c4","parentUUID":"dc55d45f-931b-48f9-b964-c27efe95d510","isHook":false,"skipped":false}],"suites":[],"passes":["b6687eef-91df-4255-8341-60babe9316c4"],"failures":[],"pending":[],"skipped":[],"duration":35350,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4a01fc38-d95e-4866-9f31-9a0ffe28a2ec","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d18720eb-2386-4539-b55c-45780bcdad93","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":50468,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"d971cf07-5dae-4aff-9b11-62cb16846f64","parentUUID":"d18720eb-2386-4539-b55c-45780bcdad93","isHook":false,"skipped":false}],"suites":[],"passes":["d971cf07-5dae-4aff-9b11-62cb16846f64"],"failures":[],"pending":[],"skipped":[],"duration":50468,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2125c256-2fc9-45fe-90a9-dd6580983bbe","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"479c9e28-886f-45d0-ad25-8cf3167e851e","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":16079,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"46ce39b9-654a-441d-a895-405351eb571b","parentUUID":"479c9e28-886f-45d0-ad25-8cf3167e851e","isHook":false,"skipped":false}],"suites":[],"passes":["46ce39b9-654a-441d-a895-405351eb571b"],"failures":[],"pending":[],"skipped":[],"duration":16079,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"717d703b-a214-448f-8e8a-dc26a2909930","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d8a8221c-319e-40a6-b643-77882fdd1805","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":46825,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"c2d38c6e-93db-4f9a-ae24-baef67b5ae5f","parentUUID":"d8a8221c-319e-40a6-b643-77882fdd1805","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":16136,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"359d20c1-fd5e-45eb-bca8-f208d7d37ba5","parentUUID":"d8a8221c-319e-40a6-b643-77882fdd1805","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":15664,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{},"uuid":"65bdb0d4-ad14-4b23-a86f-cd127aba6777","parentUUID":"d8a8221c-319e-40a6-b643-77882fdd1805","isHook":false,"skipped":false}],"suites":[],"passes":["c2d38c6e-93db-4f9a-ae24-baef67b5ae5f","359d20c1-fd5e-45eb-bca8-f208d7d37ba5","65bdb0d4-ad14-4b23-a86f-cd127aba6777"],"failures":[],"pending":[],"skipped":[],"duration":78625,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0d00acb8-65ca-4ed4-a59d-bc177d95e9ce","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/01cancel_contact.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/01cancel_contact.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5f0fefc5-e3b5-44fd-b2f4-d4c13d7f8aff","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":27671,"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');\n// 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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/01cancel_contact.spec.js:4:7)","diff":null},"uuid":"3db3f097-9bc6-47a6-ae50-5e07f57cba49","parentUUID":"5f0fefc5-e3b5-44fd-b2f4-d4c13d7f8aff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3db3f097-9bc6-47a6-ae50-5e07f57cba49"],"pending":[],"skipped":[],"duration":27671,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7aeacadb-44b9-4bd7-8b6c-09763a7b0c5b","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/02create_contact.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/02create_contact.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"60494703-4924-4b75-9ac7-4ffb97d229ef","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":5391,"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');\n// 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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/02create_contact.spec.js:4:11)","diff":null},"uuid":"408ef4bf-8b7a-4368-8596-d976a82c6a55","parentUUID":"60494703-4924-4b75-9ac7-4ffb97d229ef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["408ef4bf-8b7a-4368-8596-d976a82c6a55"],"pending":[],"skipped":[],"duration":5391,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fcf2b7d3-cd6c-4ef5-812c-9659ec851cb0","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/03contact_page.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/03contact_page.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c5a9e8f8-212b-4b44-9ea7-634349ed990a","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":8760,"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(() => {\n cy.get('#multiselect_rightAll').click({\n force: true\n }).then(() => {\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(() => {\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(() => {\n cy.contains('Actions').click({\n force: true\n }).then(() => {\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');\n//.contains('Create View')\ncy.get('.mx-2 > .svg-inline--fa').should('be.visible');","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/03contact_page.spec.js:5:11)","diff":null},"uuid":"07f17438-7f45-4c81-9222-06126856df00","parentUUID":"c5a9e8f8-212b-4b44-9ea7-634349ed990a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07f17438-7f45-4c81-9222-06126856df00"],"pending":[],"skipped":[],"duration":8760,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"55f7a238-fc07-41ba-a2db-1ff6806900b3","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1200ee6d-1276-455d-9a4d-37a2ac3d321a","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":5214,"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(() => {\n cy.wait(10000);\n var k = -2;\n var j;\n cy.get('#listViewTableEl thead th').each(element => {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\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 } else {\n cy.get(j).its('length').then($length => {\n for (var i = 0; i < $length - 1; i++) {\n cy.get(j).eq(i).then($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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js:8:11)","diff":null},"uuid":"e6a4a1cc-0c32-40fb-b2c2-e1fb36b7b288","parentUUID":"1200ee6d-1276-455d-9a4d-37a2ac3d321a","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":3755,"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(() => {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(element => {\n if (element.text().includes(\"First Name\")) {\n n = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\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 } else {\n cy.get(n).its('length').then($length => {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then($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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js:56:11)","diff":null},"uuid":"211bae8c-8748-440e-bfed-06350858b476","parentUUID":"1200ee6d-1276-455d-9a4d-37a2ac3d321a","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":3341,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(() => {\n cy.wait(10000);\n var m = -2;\n var n;\n cy.get('#listViewTableEl thead th').each(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(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($length => {\n for (var z = 0; z < $length - 1; z++) {\n cy.get(n).eq(z).then($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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/04search_contacts.spec.js:98:11)","diff":null},"uuid":"67c12a6d-8888-41a9-bb5f-29a1c98db4e6","parentUUID":"1200ee6d-1276-455d-9a4d-37a2ac3d321a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e6a4a1cc-0c32-40fb-b2c2-e1fb36b7b288","211bae8c-8748-440e-bfed-06350858b476","67c12a6d-8888-41a9-bb5f-29a1c98db4e6"],"pending":[],"skipped":[],"duration":12310,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2221445-fd86-4e0e-9db5-f62ad967f76b","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/05delete_contacts.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/05delete_contacts.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6a2e2e16-a242-4c98-8ed8-1d0c8c655ad0","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":6282,"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(tEBefore1 => {\n // var tEBefore = tEBefore1.text()\n cy.get('#listViewTableEl thead th').each(element => {\n if (element.text().includes('Last Name')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + m + \"]\";\n cy.get(j).eq(5).then(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', () => true).then(() => {\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($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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/05delete_contacts.spec.js:4:11)","diff":null},"uuid":"0e81d15c-7056-47a5-a49f-1c8727f0e8e5","parentUUID":"6a2e2e16-a242-4c98-8ed8-1d0c8c655ad0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0e81d15c-7056-47a5-a49f-1c8727f0e8e5"],"pending":[],"skipped":[],"duration":6282,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"348ddd58-730c-415f-92d4-a2332d9e1a5b","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/06edit_contact.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/06edit_contact.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"13df6c11-a345-4826-831d-33daddc0e3b5","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":9218,"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(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($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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/06edit_contact.spec.js:5:11)","diff":null},"uuid":"5304b60c-a073-44e8-b2da-3020465a8370","parentUUID":"13df6c11-a345-4826-831d-33daddc0e3b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5304b60c-a073-44e8-b2da-3020465a8370"],"pending":[],"skipped":[],"duration":9218,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66af9a05-7f16-4308-b6d2-4fc87573d29f","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/07bulk_update.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/07bulk_update.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5da3a84c-fd36-48e7-aa2a-9ce71a957b81","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":10840,"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(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(() => {\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(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(element => {\n expect(element.text()).to.include('03003673767');\n });\n }\n } else {\n m = m + 1;\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/07bulk_update.spec.js:6:11)","diff":null},"uuid":"039469cd-573b-4217-b9fe-de117202a1b1","parentUUID":"5da3a84c-fd36-48e7-aa2a-9ce71a957b81","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["039469cd-573b-4217-b9fe-de117202a1b1"],"pending":[],"skipped":[],"duration":10840,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fa34e71e-212f-425d-a2f0-854cde9cbf3c","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/08clear_selection.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/08clear_selection.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8182d1c5-7f6b-4bd9-b9ea-a7c760b17e82","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":7060,"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($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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/08clear_selection.spec.js:7:11)","diff":null},"uuid":"5f5f5eed-becb-4c4c-ace8-0af104ff8864","parentUUID":"8182d1c5-7f6b-4bd9-b9ea-a7c760b17e82","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5f5f5eed-becb-4c4c-ace8-0af104ff8864"],"pending":[],"skipped":[],"duration":7060,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"09f03dc7-e1d0-44a9-b87e-c82e254ccd1e","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/09edit_columns.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/09edit_columns.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f0661e39-96b5-4cfe-9ad7-11b3673d889c","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":44486,"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(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/09edit_columns.spec.js:5:11)","diff":null},"uuid":"624da865-ad22-4190-8183-522d1eee5276","parentUUID":"f0661e39-96b5-4cfe-9ad7-11b3673d889c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["624da865-ad22-4190-8183-522d1eee5276"],"pending":[],"skipped":[],"duration":44486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dc507e48-c944-411e-8750-ab0719ab4afe","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/01filter_by_salutation.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/01filter_by_salutation.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"39aa0f6c-49fd-4c39-b97c-2f6bfc02f812","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":5197,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes(\"No Records Found\")) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/01filter_by_salutation.spec.js:6:11)","diff":null},"uuid":"9491917c-e36a-45fa-8a3d-c23864aba3d2","parentUUID":"39aa0f6c-49fd-4c39-b97c-2f6bfc02f812","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9491917c-e36a-45fa-8a3d-c23864aba3d2"],"pending":[],"skipped":[],"duration":5197,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bda3a593-5993-4209-9957-ff2f2c25cf39","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/02filter_by_customer.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/02filter_by_customer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fb2f2b9f-3e7c-43ef-a68c-2b19b31709d5","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":10799,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000);\n// 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(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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/02filter_by_customer.spec.js:6:11)","diff":null},"uuid":"4954d4cb-fd21-47a9-8296-d0ccb101b8a7","parentUUID":"fb2f2b9f-3e7c-43ef-a68c-2b19b31709d5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4954d4cb-fd21-47a9-8296-d0ccb101b8a7"],"pending":[],"skipped":[],"duration":10799,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4dc596e8-7a4c-41ff-9dc9-791047955c10","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/03filter_by_first_name.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/03filter_by_first_name.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"95a92315-292d-44a4-ae5c-3a3a19f3fb18","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":8093,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(5000);\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(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(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);\n // cy.wait(5000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('ab');\n //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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('ab');\n // 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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var reg = /^ab/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n //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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var reg = /ot$/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n expect(normalizedelement).to.match(reg);\n // 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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(50000)\n cy.get('td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/03filter_by_first_name.spec.js:8:11)","diff":null},"uuid":"ed388511-75d9-4eb5-a011-d966585e559f","parentUUID":"95a92315-292d-44a4-ae5c-3a3a19f3fb18","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ed388511-75d9-4eb5-a011-d966585e559f"],"pending":[],"skipped":[],"duration":8093,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b312f90f-349a-4405-b1bd-539520ef2a13","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/04filter_by_last_name.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/04filter_by_last_name.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5f0d76b2-a0de-4296-a77f-ed8007cdff63","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":5588,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\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(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(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 });\n // cy.wait(30000)\n cy.wait(20000);\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(30000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(30000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.include('jo');\n //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);\n // cy.wait(30000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var normalizedelement = normalizeText(elements.text());\n expect(normalizedelement).to.not.include('jo');\n // 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);\n // cy.wait(30000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n var reg = /^jo/;\n var normalizedelement = elements.text().trim();\n normalizedelement = normalizeText(normalizedelement);\n //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);\n // cy.wait(30000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(50000)\n cy.get('tbody td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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);\n // cy.wait(50000)\n cy.get('td').then(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/04filter_by_last_name.spec.js:8:11)","diff":null},"uuid":"7a3d4e0f-3b84-48fa-b5c1-9e904ae7cce0","parentUUID":"5f0d76b2-a0de-4296-a77f-ed8007cdff63","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7a3d4e0f-3b84-48fa-b5c1-9e904ae7cce0"],"pending":[],"skipped":[],"duration":5588,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c55d5bc0-b956-4f8e-99f9-08b3d642a8d4","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/05filter_by_workphone.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/05filter_by_workphone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"897f7b4b-14e2-42ed-a384-d347992bac84","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":34652,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/05filter_by_workphone.spec.js:6:11)","diff":null},"uuid":"fbe418fd-5c93-443d-9de3-82ab3e75bd57","parentUUID":"897f7b4b-14e2-42ed-a384-d347992bac84","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fbe418fd-5c93-443d-9de3-82ab3e75bd57"],"pending":[],"skipped":[],"duration":34652,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ac769fa4-9c4e-482c-9f0c-c84db54d87f0","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/06filter_by_personal_phone.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/06filter_by_personal_phone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d365fbaf-653d-422e-b98d-ccd6d07e0011","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":9603,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/06filter_by_personal_phone.spec.js:6:11)","diff":null},"uuid":"87de310d-f6b1-47b5-83ea-14bb3745d699","parentUUID":"d365fbaf-653d-422e-b98d-ccd6d07e0011","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["87de310d-f6b1-47b5-83ea-14bb3745d699"],"pending":[],"skipped":[],"duration":9603,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a7942194-d238-491a-b3a2-99d5fda346a9","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/07filter_by_email.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/07filter_by_email.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9b5b9605-16e9-4348-ae99-830730703067","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":17138,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/07filter_by_email.spec.js:8:11)","diff":null},"uuid":"c2a3fa0c-35b9-4fc6-ad2b-6229c6618454","parentUUID":"9b5b9605-16e9-4348-ae99-830730703067","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c2a3fa0c-35b9-4fc6-ad2b-6229c6618454"],"pending":[],"skipped":[],"duration":17138,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98897d0a-c662-4c03-9f8e-203b45a86b45","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/08filter_by_other_phone.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/08filter_by_other_phone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4741cdea-5e1a-4b81-8d9f-73ccc7ce4515","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":7991,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(element => {\n if (element.text().includes('Other Phone')) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"]\";\n // 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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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 });\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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(element => {\n expect(element.text()).to.not.eq(' \\n 03009765278\\n ');\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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(element => {\n expect(element.text()).to.include('9');\n });\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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/08filter_by_other_phone.spec.js:6:11)","diff":null},"uuid":"3334f91d-2ff0-4e2e-978d-f9cfcbc078c6","parentUUID":"4741cdea-5e1a-4b81-8d9f-73ccc7ce4515","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3334f91d-2ff0-4e2e-978d-f9cfcbc078c6"],"pending":[],"skipped":[],"duration":7991,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce37dbfe-28a8-4004-88cd-9fd43af1df91","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/09filter_by_home_phone.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/09filter_by_home_phone.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6ec6d1a8-6723-44b3-9847-c7ba0f6be5fe","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":59986,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/09filter_by_home_phone.spec.js:6:11)","diff":null},"uuid":"2c110d5a-cca6-41cc-bbc4-9048f14fb9d5","parentUUID":"6ec6d1a8-6723-44b3-9847-c7ba0f6be5fe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2c110d5a-cca6-41cc-bbc4-9048f14fb9d5"],"pending":[],"skipped":[],"duration":59986,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"132290f7-067f-4e16-ba6b-0118aec92f4b","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/10filter_by_fax.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/10filter_by_fax.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7ed79ae8-da5b-4251-ba89-eef5ac361418","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":6266,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/10filter_by_fax.spec.js:6:11)","diff":null},"uuid":"63a3149d-a6d8-42bd-b27a-2e90d2240330","parentUUID":"7ed79ae8-da5b-4251-ba89-eef5ac361418","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["63a3149d-a6d8-42bd-b27a-2e90d2240330"],"pending":[],"skipped":[],"duration":6266,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"79755cb4-4a18-4c21-a538-4621b7554304","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/11filter_by_PrimaryAddress1.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/11filter_by_PrimaryAddress1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a32a9394-9bd3-44cd-bf2e-34989d297cc6","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":21308,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/11filter_by_PrimaryAddress1.spec.js:6:11)","diff":null},"uuid":"922c16d4-6372-4755-9ba5-6ccced121b8b","parentUUID":"a32a9394-9bd3-44cd-bf2e-34989d297cc6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["922c16d4-6372-4755-9ba5-6ccced121b8b"],"pending":[],"skipped":[],"duration":21308,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"405fef2f-8884-43cc-8896-9082bd81cce9","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/12filter_by_PrimaryAddress2.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/12filter_by_PrimaryAddress2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"818f6314-32c7-4da3-b073-0fc7204754a3","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":7753,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/12filter_by_PrimaryAddress2.spec.js:6:11)","diff":null},"uuid":"3b2a98ad-c7b6-4f29-a614-9de5d75b6145","parentUUID":"818f6314-32c7-4da3-b073-0fc7204754a3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3b2a98ad-c7b6-4f29-a614-9de5d75b6145"],"pending":[],"skipped":[],"duration":7753,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"694b1f10-54d7-4034-959d-db1600b0f4f2","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/13filter_by_primaryCountry.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/13filter_by_primaryCountry.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"49f733f5-6719-4b06-b0fe-0bd171829803","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":7429,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/13filter_by_primaryCountry.spec.js:6:11)","diff":null},"uuid":"1491d3f9-0afe-45ea-99d8-7b6b0c19faee","parentUUID":"49f733f5-6719-4b06-b0fe-0bd171829803","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1491d3f9-0afe-45ea-99d8-7b6b0c19faee"],"pending":[],"skipped":[],"duration":7429,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9b6e5336-7f81-465d-814a-19478806aafa","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/14filter_by_primaryState.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/14filter_by_primaryState.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b1dae927-3364-459c-9d12-ef9f08ed28b9","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":8493,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/14filter_by_primaryState.spec.js:6:11)","diff":null},"uuid":"5d8e6adc-31c7-4c92-be87-c6d26139e921","parentUUID":"b1dae927-3364-459c-9d12-ef9f08ed28b9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5d8e6adc-31c7-4c92-be87-c6d26139e921"],"pending":[],"skipped":[],"duration":8493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d7cd013e-72a9-4fed-8f76-76752838a8a4","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/15filter_by_primaryCity.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/15filter_by_primaryCity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0fcedb85-c451-4df3-872f-a7198656d1c7","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":32757,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/15filter_by_primaryCity.spec.js:6:11)","diff":null},"uuid":"01e04901-0d73-477f-81ee-0f280ed5649d","parentUUID":"0fcedb85-c451-4df3-872f-a7198656d1c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["01e04901-0d73-477f-81ee-0f280ed5649d"],"pending":[],"skipped":[],"duration":32757,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed418425-63ff-4897-945b-bcb67e92eed8","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/16filter_by_primaryPostalCode.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/16filter_by_primaryPostalCode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bebaa9d0-0012-402d-a3da-a71c95c0bf2b","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":7004,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/16filter_by_primaryPostalCode.spec.js:6:11)","diff":null},"uuid":"6925190b-f110-4edd-9edb-00dd57d0f0cf","parentUUID":"bebaa9d0-0012-402d-a3da-a71c95c0bf2b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6925190b-f110-4edd-9edb-00dd57d0f0cf"],"pending":[],"skipped":[],"duration":7004,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b29588b8-aee7-4a50-8659-6e72b8295ead","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/17filter_by_secondaryAddress1.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/17filter_by_secondaryAddress1.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"78c968e5-04c6-4a63-8c8f-a5f07a0c54a9","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":5769,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/17filter_by_secondaryAddress1.spec.js:6:11)","diff":null},"uuid":"0c724a19-e54f-4bca-bd86-b33c7ff6932c","parentUUID":"78c968e5-04c6-4a63-8c8f-a5f07a0c54a9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0c724a19-e54f-4bca-bd86-b33c7ff6932c"],"pending":[],"skipped":[],"duration":5769,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"47a21ab1-1e89-45bd-8603-b2420f5b6a89","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/18filter_by_secondaryAdress2.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/18filter_by_secondaryAdress2.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"277b2e5e-4eda-4813-ae18-f3eb57e8f87e","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":8316,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/18filter_by_secondaryAdress2.spec.js:6:11)","diff":null},"uuid":"52c96d5c-e9c8-45b7-9493-7b0db2732042","parentUUID":"277b2e5e-4eda-4813-ae18-f3eb57e8f87e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["52c96d5c-e9c8-45b7-9493-7b0db2732042"],"pending":[],"skipped":[],"duration":8316,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6b43e8a5-4894-40de-a346-0a7b1ebf2489","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/19filter_by_secondaryCountry.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/19filter_by_secondaryCountry.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"68d5508c-e851-4217-8088-7275f68cb793","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":4840,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/19filter_by_secondaryCountry.spec.js:6:11)","diff":null},"uuid":"221f7dcc-3560-477e-85b6-57bbe0a778ba","parentUUID":"68d5508c-e851-4217-8088-7275f68cb793","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["221f7dcc-3560-477e-85b6-57bbe0a778ba"],"pending":[],"skipped":[],"duration":4840,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7c34ddfd-46f3-4eb4-81cc-4e4891fd1f42","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/20filter_by_secondaryState.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/20filter_by_secondaryState.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"81eb571e-06cf-4bcc-bd84-3bac9ceb3f10","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":12217,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/20filter_by_secondaryState.spec.js:6:11)","diff":null},"uuid":"556edae8-e33e-4698-a954-7db87aabc9ba","parentUUID":"81eb571e-06cf-4bcc-bd84-3bac9ceb3f10","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["556edae8-e33e-4698-a954-7db87aabc9ba"],"pending":[],"skipped":[],"duration":12217,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2a1cfdbe-1c10-465c-9977-984f403ae9f1","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/21filter_by_secondaryCity.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/21filter_by_secondaryCity.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"eee2241c-82f3-4f81-ab78-63ee4e5e1ff3","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":4800,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/21filter_by_secondaryCity.spec.js:6:11)","diff":null},"uuid":"054fa3c1-842b-4ec6-9e0c-0fbc6545363b","parentUUID":"eee2241c-82f3-4f81-ab78-63ee4e5e1ff3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["054fa3c1-842b-4ec6-9e0c-0fbc6545363b"],"pending":[],"skipped":[],"duration":4800,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"83cffecc-aa5a-4c76-9ad9-2559a9b89688","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/22filter_by_secondaryPostalCode.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/22filter_by_secondaryPostalCode.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5882df4d-9b8f-488d-a497-8af1b61772ab","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":10649,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(spans => {\n var text = spans.text().trim();\n // 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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/22filter_by_secondaryPostalCode.spec.js:6:11)","diff":null},"uuid":"ca798f96-3e5b-48ad-a828-4a901a593a29","parentUUID":"5882df4d-9b8f-488d-a497-8af1b61772ab","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca798f96-3e5b-48ad-a828-4a901a593a29"],"pending":[],"skipped":[],"duration":10649,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d9a892ae-946f-4f2e-af48-cad19ec4ebc3","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/23filer_by_CreatedBy.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/23filer_by_CreatedBy.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"963b1f12-94c6-4f92-9563-e51d11ff1b2f","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":4786,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/23filer_by_CreatedBy.spec.js:6:11)","diff":null},"uuid":"11036b94-4925-4d39-a747-31d95d0ff558","parentUUID":"963b1f12-94c6-4f92-9563-e51d11ff1b2f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["11036b94-4925-4d39-a747-31d95d0ff558"],"pending":[],"skipped":[],"duration":4786,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"627e7a0d-de51-4f18-b4fb-4da07b1c9cea","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/24filter_by_CreatedAt.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/24filter_by_CreatedAt.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5fd418dc-2d99-41aa-9c66-a016729090c8","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":9911,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n const date = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM/DD/yyyy');\n expect(date).equal('02/02/2021');\n //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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n const year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n const yearInt = parseInt(year);\n const month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n const monthInt = parseInt(month);\n const date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n const 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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n const year = Cypress.moment(dateString, 'MM/DD/yyyy').format('yyyy');\n const yearInt = parseInt(year);\n const month = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n const monthInt = parseInt(month);\n const date = Cypress.moment(dateString, 'MM/DD/yyyy').format('DD');\n const 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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const Todaydate = Cypress.moment().format('MM/DD/yyyy');\n const dateString = Cypress.moment(elements.text(), 'MM/DD/yyyy');\n const 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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const 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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString);\n //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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var datetxt = new Date(dateString);\n //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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth);\n //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 }\n // if(parseInt(dateMonth) < 10){\n // dateMonth = '0'+dateMonth\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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(elements => {\n const dateString = Cypress.moment(elements.text()).format('MM/DD/yyyy');\n var dateMonth = Cypress.moment(dateString, 'MM/DD/yyyy').format('MM');\n dateMonth = parseInt(dateMonth);\n //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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/24filter_by_CreatedAt.spec.js:6:11)","diff":null},"uuid":"0aa6c342-b52b-4e98-b650-d5bfddf4e76c","parentUUID":"5fd418dc-2d99-41aa-9c66-a016729090c8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0aa6c342-b52b-4e98-b650-d5bfddf4e76c"],"pending":[],"skipped":[],"duration":9911,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f48c9e81-72ca-4d1a-994d-e353440a9582","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/25filter_by_isPrimary.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/25filter_by_isPrimary.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b21df093-dfe4-4c26-adc5-ee6eb2db0c1f","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":4831,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/25filter_by_isPrimary.spec.js:7:11)","diff":null},"uuid":"7cb5711d-e65f-4eff-b998-fab41cf74c65","parentUUID":"b21df093-dfe4-4c26-adc5-ee6eb2db0c1f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7cb5711d-e65f-4eff-b998-fab41cf74c65"],"pending":[],"skipped":[],"duration":4831,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0400af3-af00-4dbd-9f21-c5daa0481ebd","title":"","fullFile":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/26filter_by_dataSource.spec.js","file":"cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/26filter_by_dataSource.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8aa2d8ee-b6a1-463f-bc67-ab158384a469","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":9362,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\n// 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(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(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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(rows => {\n if (rows.text().includes('No Records Found')) {\n expect(rows.text()).to.include('No Records Found');\n } else {\n cy.get(j).each(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/d-contacts/Contacts Listing Page/Contacts Filter/26filter_by_dataSource.spec.js:6:11)","diff":null},"uuid":"6cf08921-25ab-4935-86a8-163f3bd65b8a","parentUUID":"8aa2d8ee-b6a1-463f-bc67-ab158384a469","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6cf08921-25ab-4935-86a8-163f3bd65b8a"],"pending":[],"skipped":[],"duration":9362,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ad81806e-74a8-4488-aca8-46774a2a20ec","title":"","fullFile":"cypress/e2e/SF/e-product/01-create_product_spec.js","file":"cypress/e2e/SF/e-product/01-create_product_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"06cc99c0-a691-441f-ab44-199210e5ef3d","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":4758,"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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/01-create_product_spec.js:6:7)","diff":null},"uuid":"57ef2cd7-1336-4c65-9eb6-40e26186a4bc","parentUUID":"06cc99c0-a691-441f-ab44-199210e5ef3d","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":257,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"const todaysDate = Cypress.moment().format('MM/DD/YYYY');\nconst addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nconst 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":"TypeError: Cypress.moment is not a function","estack":"TypeError: Cypress.moment is not a function\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/01-create_product_spec.js:12:31)","diff":null},"uuid":"a6788e8c-3cec-420f-8641-315a06c1edbe","parentUUID":"06cc99c0-a691-441f-ab44-199210e5ef3d","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":4215,"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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/01-create_product_spec.js:31:28)","diff":null},"uuid":"00a89218-88f1-402e-a619-ce8c8d1c492f","parentUUID":"06cc99c0-a691-441f-ab44-199210e5ef3d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["57ef2cd7-1336-4c65-9eb6-40e26186a4bc","a6788e8c-3cec-420f-8641-315a06c1edbe","00a89218-88f1-402e-a619-ce8c8d1c492f"],"pending":[],"skipped":[],"duration":9230,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0a24e600-a50c-485d-a3f5-a05245802ef0","title":"","fullFile":"cypress/e2e/SF/e-product/02-add_product_plan_spec.js","file":"cypress/e2e/SF/e-product/02-add_product_plan_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f09e4501-2066-4dd9-a541-6e8340b5c573","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":15392,"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(() => {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(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(element => {\n if (!element.text().includes('No Plans Added Yet')) {\n cy.get('.badge').then(Plan1 => {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('.badge').then(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(Plan2 => {\n var count = 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/02-add_product_plan_spec.js:6:9)","diff":null},"uuid":"d0d90736-8f47-42c4-9423-3fe606d5e1d2","parentUUID":"f09e4501-2066-4dd9-a541-6e8340b5c573","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d0d90736-8f47-42c4-9423-3fe606d5e1d2"],"pending":[],"skipped":[],"duration":15392,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0727125e-9753-4972-9a9e-30171d94c4e2","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"74397181-011f-4525-a08f-443f71504c45","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":7156,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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('/');\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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:7:11)","diff":null},"uuid":"488b13a1-4a73-4fd4-8578-54786eb4eb56","parentUUID":"74397181-011f-4525-a08f-443f71504c45","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["488b13a1-4a73-4fd4-8578-54786eb4eb56"],"pending":[],"skipped":[],"duration":7156,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a096e7e4-df66-4517-a4ee-ad0799420aef","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"310a4706-a03b-4fc0-bf3a-0149979d0aa5","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":11685,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:4:11)","diff":null},"uuid":"b3f28f27-1665-46b4-9676-7f3784839bc0","parentUUID":"310a4706-a03b-4fc0-bf3a-0149979d0aa5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b3f28f27-1665-46b4-9676-7f3784839bc0"],"pending":[],"skipped":[],"duration":11685,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"25ead9e7-e913-4969-9c95-6558cc92281b","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1bf841a2-39bc-45cf-8a3b-1c2381b751de","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":9402,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:4:11)","diff":null},"uuid":"2cd400da-458a-469b-9ac7-8a06827e22fa","parentUUID":"1bf841a2-39bc-45cf-8a3b-1c2381b751de","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2cd400da-458a-469b-9ac7-8a06827e22fa"],"pending":[],"skipped":[],"duration":9402,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4584254c-485a-4ab6-adda-de58f283cc55","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fdef788d-a5a5-4291-8b91-83f72e284f98","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":10494,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:4:11)","diff":null},"uuid":"492dfe0f-69b5-4574-84aa-8c54b2aaf892","parentUUID":"fdef788d-a5a5-4291-8b91-83f72e284f98","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["492dfe0f-69b5-4574-84aa-8c54b2aaf892"],"pending":[],"skipped":[],"duration":10494,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f484b6fe-4f26-4477-a870-cbfb7e85f565","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5861c8ab-4149-4108-9450-507dbf06dc7f","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":302102,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#subscriptionflow-apps-settings-section .card-body a[href*=\"/apps/paymentsflow\"]').contains('PaymentsFlow').click({\n force: true\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get(\"#hppsubmenu\").should(\"be.visible\");\ncy.get(\"#hppsubmenu\").within(() => {\n cy.contains('Rules & Configurations').click({\n force: true\n });\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"cef5f404-b9dc-4b59-8191-5b36b34ae8db","parentUUID":"5861c8ab-4149-4108-9450-507dbf06dc7f","isHook":false,"skipped":false}],"suites":[],"passes":["cef5f404-b9dc-4b59-8191-5b36b34ae8db"],"failures":[],"pending":[],"skipped":[],"duration":302102,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c5218a1-c03d-4856-b113-3b10b6810e3c","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8e7ebbe6-97be-4d31-b1e8-b4d41ca3a4a2","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":210667,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#subscriptionflow-apps-settings-section .card-body a[href*=\"/apps/paymentsflow\"]').contains('PaymentsFlow').click({\n force: true\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get(\"#hppsubmenu\").should(\"be.visible\");\ncy.get(\"#hppsubmenu\").within(() => {\n cy.contains('Rules & Configurations').click({\n force: true\n });\n});\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(4000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Your subscription is confirmed' within the element: <h5.lead.m-0> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Your subscription is confirmed' within the element: <h5.lead.m-0> but never did.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:308:79)","diff":null},"uuid":"bf322d09-39ac-46cc-a5e9-887a45f45bd2","parentUUID":"8e7ebbe6-97be-4d31-b1e8-b4d41ca3a4a2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bf322d09-39ac-46cc-a5e9-887a45f45bd2"],"pending":[],"skipped":[],"duration":210667,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef724e26-54ff-48c9-bbd6-5d23c4417720","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e7e9147e-3acb-4e61-84e0-134097ff71c3","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":193609,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#subscriptionflow-apps-settings-section .card-body a[href*=\"/apps/paymentsflow\"]').contains('PaymentsFlow').click({\n force: true\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get(\"#hppsubmenu\").should(\"be.visible\");\ncy.get(\"#hppsubmenu\").within(() => {\n cy.contains('Rules & Configurations').click({\n force: true\n });\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"4d30c8ac-be3b-4b02-afdd-ae53f48783d1","parentUUID":"e7e9147e-3acb-4e61-84e0-134097ff71c3","isHook":false,"skipped":false}],"suites":[],"passes":["4d30c8ac-be3b-4b02-afdd-ae53f48783d1"],"failures":[],"pending":[],"skipped":[],"duration":193609,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0e0a336-e108-44a2-b83a-77d24b724a37","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"38430094-8351-46d0-a24c-7be1ab6e3587","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":252690,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#subscriptionflow-apps-settings-section .card-body a[href*=\"/apps/paymentsflow\"]').contains('PaymentsFlow').click({\n force: true\n});\ncy.get('.ni-planet').click({\n force: true\n});\ncy.get(\"#hppsubmenu\").should(\"be.visible\");\ncy.get(\"#hppsubmenu\").within(() => {\n cy.contains('Rules & Configurations').click({\n force: true\n });\n});\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(7000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{},"uuid":"8dca49eb-6376-468e-9022-8a840e053324","parentUUID":"38430094-8351-46d0-a24c-7be1ab6e3587","isHook":false,"skipped":false}],"suites":[],"passes":["8dca49eb-6376-468e-9022-8a840e053324"],"failures":[],"pending":[],"skipped":[],"duration":252690,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"90d7fe6b-95a9-460e-94f7-7f1ae090e963","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"1cb730d2-999a-4730-af12-59953dbb4784","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":6994,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:4:11)","diff":null},"uuid":"6696f54a-ef37-496e-a7df-bd3ccc3c832e","parentUUID":"1cb730d2-999a-4730-af12-59953dbb4784","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6696f54a-ef37-496e-a7df-bd3ccc3c832e"],"pending":[],"skipped":[],"duration":6994,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"89427712-a72b-4bdc-939b-3f87dfe1aaae","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2b3a226f-46ae-4ae0-9dd3-17e0d5df7a92","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":8906,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:4:11)","diff":null},"uuid":"d91c25fc-0b0b-4518-847c-8ca20b333595","parentUUID":"2b3a226f-46ae-4ae0-9dd3-17e0d5df7a92","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d91c25fc-0b0b-4518-847c-8ca20b333595"],"pending":[],"skipped":[],"duration":8906,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e188e58-4b9f-4964-97d1-b4a0bebded5d","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cd4f17f1-9436-4f7e-952d-48dd65c43011","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":8929,"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(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(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:5:11)","diff":null},"uuid":"5df534ab-6d05-48c7-8796-ac92ba7d8dd0","parentUUID":"cd4f17f1-9436-4f7e-952d-48dd65c43011","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5df534ab-6d05-48c7-8796-ac92ba7d8dd0"],"pending":[],"skipped":[],"duration":8929,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3759cd84-d976-4b92-ad04-d53b4400f792","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f87887c2-d87d-49c2-82b7-a98cb2d9f426","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":6402,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:4:11)","diff":null},"uuid":"39ab6023-49f3-45f7-bd74-4896d4b5657e","parentUUID":"f87887c2-d87d-49c2-82b7-a98cb2d9f426","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["39ab6023-49f3-45f7-bd74-4896d4b5657e"],"pending":[],"skipped":[],"duration":6402,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"40e4d794-ad69-4fb2-999d-36136bd30bee","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"538193a1-428a-4de0-b70e-7a90c18fe4fe","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":6983,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:4:11)","diff":null},"uuid":"3759ad24-513d-4a70-a6e4-ec5d62e58b41","parentUUID":"538193a1-428a-4de0-b70e-7a90c18fe4fe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3759ad24-513d-4a70-a6e4-ec5d62e58b41"],"pending":[],"skipped":[],"duration":6983,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0b48de2-6e49-47ce-b158-5987aec02a43","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f802357e-c297-40f0-956f-2b7310657348","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":6881,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:4:11)","diff":null},"uuid":"c7d7ee73-338d-48b9-81aa-d64cc74fa9de","parentUUID":"f802357e-c297-40f0-956f-2b7310657348","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c7d7ee73-338d-48b9-81aa-d64cc74fa9de"],"pending":[],"skipped":[],"duration":6881,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6a1b3917-ed2c-4f5c-9401-f5092714903e","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"230dc905-949d-41cf-91ce-f335a13293b7","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":7024,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js:4:11)","diff":null},"uuid":"9821254e-af93-4c2a-9d09-822e9c55599a","parentUUID":"230dc905-949d-41cf-91ce-f335a13293b7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9821254e-af93-4c2a-9d09-822e9c55599a"],"pending":[],"skipped":[],"duration":7024,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5f4a541b-a290-43aa-8684-266f6c852808","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7f0b8ccd-cac7-4245-b2eb-d6e2a2490801","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":6175,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:4:11)","diff":null},"uuid":"8913ef8d-55ef-4d14-baf3-5f1d00710e9b","parentUUID":"7f0b8ccd-cac7-4245-b2eb-d6e2a2490801","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8913ef8d-55ef-4d14-baf3-5f1d00710e9b"],"pending":[],"skipped":[],"duration":6175,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fc76d048-7bfc-4b2f-a0a7-84c21bc9b1f3","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"38232005-1323-4cb3-96c7-e2f80cee210b","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":6252,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:4:11)","diff":null},"uuid":"51406070-5a41-43e4-8a9f-37d77678735e","parentUUID":"38232005-1323-4cb3-96c7-e2f80cee210b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["51406070-5a41-43e4-8a9f-37d77678735e"],"pending":[],"skipped":[],"duration":6252,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cb8c53a2-5846-4b08-99e9-6cbe09113d40","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9127513b-a4c6-4204-ae85-9d2568f04b74","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":6909,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:4:11)","diff":null},"uuid":"4aabf1fc-7f32-4ddd-893f-2ac8a10b9101","parentUUID":"9127513b-a4c6-4204-ae85-9d2568f04b74","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4aabf1fc-7f32-4ddd-893f-2ac8a10b9101"],"pending":[],"skipped":[],"duration":6909,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e5f890ce-a206-4ead-88b8-69fad19f8166","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8538482d-76f0-443a-b9e0-dfc481a655e2","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":6478,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:4:11)","diff":null},"uuid":"a24e9d7a-4f8c-416c-8b87-eb00a3b17a7c","parentUUID":"8538482d-76f0-443a-b9e0-dfc481a655e2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a24e9d7a-4f8c-416c-8b87-eb00a3b17a7c"],"pending":[],"skipped":[],"duration":6478,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f0194ce3-025d-4fbf-b688-fa745686dffe","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bb93ad60-48a1-44ec-9050-dfd1ec3ebf77","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":41222,"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(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(() => {\n cy.get(':nth-child(3) > .media > .media-body > a ').invoke('attr', 'href').then(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(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(image => {\n cy.get('.row img').its('length').then(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(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(() => {\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(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(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(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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(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":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:4:11)","diff":null},"uuid":"cbdbf291-780b-404c-bd90-dec4449cb8c8","parentUUID":"bb93ad60-48a1-44ec-9050-dfd1ec3ebf77","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cbdbf291-780b-404c-bd90-dec4449cb8c8"],"pending":[],"skipped":[],"duration":41222,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"89a216cd-9253-4404-af17-9f4e5bd95dd2","title":"","fullFile":"cypress/e2e/SF/e-product/Plan Pricing/01-add_plan_detail_one_time_spec.js","file":"cypress/e2e/SF/e-product/Plan Pricing/01-add_plan_detail_one_time_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e1474a14-ec46-4340-954d-89e7fe8cd516","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":106502,"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(() => {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/Plan Pricing/01-add_plan_detail_one_time_spec.js:5:7)","diff":null},"uuid":"4539dca7-e23c-4b44-a7ea-89138497ee08","parentUUID":"e1474a14-ec46-4340-954d-89e7fe8cd516","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4539dca7-e23c-4b44-a7ea-89138497ee08"],"pending":[],"skipped":[],"duration":106502,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c9110a1e-6e5e-4b80-9358-8cfd7cc97b68","title":"","fullFile":"cypress/e2e/SF/e-product/Plan Pricing/02-add_plan_detail_recurring_spec.js","file":"cypress/e2e/SF/e-product/Plan Pricing/02-add_plan_detail_recurring_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"adb721cd-8e5a-4e06-a460-bac0d3a9e11f","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":35771,"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(() => {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/Plan Pricing/02-add_plan_detail_recurring_spec.js:5:7)","diff":null},"uuid":"a5f52f7b-03f2-4997-8bce-b0eea6515a93","parentUUID":"adb721cd-8e5a-4e06-a460-bac0d3a9e11f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a5f52f7b-03f2-4997-8bce-b0eea6515a93"],"pending":[],"skipped":[],"duration":35771,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"683316d0-e59d-4074-8bdd-a300b733d546","title":"","fullFile":"cypress/e2e/SF/e-product/Plan Pricing/03-add_plan_detail_UOM_spec.js","file":"cypress/e2e/SF/e-product/Plan Pricing/03-add_plan_detail_UOM_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9deb61a0-da14-4d6b-a09d-32acae5dd423","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":73089,"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(() => {\n cy.wait(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).then(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(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 const todaysDate = Cypress.moment().format('MM/DD/YYYY');\n const addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n const 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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/Plan Pricing/03-add_plan_detail_UOM_spec.js:5:7)","diff":null},"uuid":"ace41925-44fe-4c31-849f-6930b39c9738","parentUUID":"9deb61a0-da14-4d6b-a09d-32acae5dd423","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ace41925-44fe-4c31-849f-6930b39c9738"],"pending":[],"skipped":[],"duration":73089,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"913f957c-3923-4c08-9650-b0e093109fb6","title":"","fullFile":"cypress/e2e/SF/f-plan/cancel-plan.js","file":"cypress/e2e/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c0fb350b-bef8-4223-b1af-f498ad589bf4","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":233,"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');\nconst todaysDate = Cypress.moment().format('MM/DD/YYYY');\nconst addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nconst 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":"TypeError: Cypress.moment is not a function","estack":"TypeError: Cypress.moment is not a function\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/f-plan/cancel-plan.js:9:33)","diff":null},"uuid":"3fa77b77-a7c5-4bf6-a2e4-26e42904204d","parentUUID":"c0fb350b-bef8-4223-b1af-f498ad589bf4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3fa77b77-a7c5-4bf6-a2e4-26e42904204d"],"pending":[],"skipped":[],"duration":233,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9db47ab1-58b5-4ffe-9f68-601ead4bb910","title":"","fullFile":"cypress/e2e/SF/f-plan/create-plan.js","file":"cypress/e2e/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"93a8e989-63be-4f6e-89c9-52de7d1773eb","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":230,"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');\nconst todaysDate = Cypress.moment().format('MM/DD/YYYY');\nconst addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\nconst 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":"TypeError: Cypress.moment is not a function","estack":"TypeError: Cypress.moment is not a function\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/f-plan/create-plan.js:9:33)","diff":null},"uuid":"c6b0dcaf-0a18-4b35-bad4-bbe89b2cb554","parentUUID":"93a8e989-63be-4f6e-89c9-52de7d1773eb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c6b0dcaf-0a18-4b35-bad4-bbe89b2cb554"],"pending":[],"skipped":[],"duration":230,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bb3e987b-2960-48ca-b850-67fd1837919a","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"647035fc-7d38-4d4c-9ba1-25278c0452de","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":2101,"state":"passed","speed":"fast","pass":true,"fail":false,"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');\n// 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":{},"uuid":"b75007d3-4761-4109-896c-0d254531fe55","parentUUID":"647035fc-7d38-4d4c-9ba1-25278c0452de","isHook":false,"skipped":false}],"suites":[],"passes":["b75007d3-4761-4109-896c-0d254531fe55"],"failures":[],"pending":[],"skipped":[],"duration":2101,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c05b6838-09d9-4f8a-9fff-dc60700b0754","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c4b25d06-bfe6-4707-923d-4e17dedd58fb","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":3549,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"6a52a7c8-5505-4889-8238-bf0216397d3f","parentUUID":"c4b25d06-bfe6-4707-923d-4e17dedd58fb","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":2913,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"cf95c9b6-511d-49b6-b76c-084badd057da","parentUUID":"c4b25d06-bfe6-4707-923d-4e17dedd58fb","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":3076,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"7271b975-c280-44d1-a4b6-a181228d4e1e","parentUUID":"c4b25d06-bfe6-4707-923d-4e17dedd58fb","isHook":false,"skipped":false}],"suites":[],"passes":["6a52a7c8-5505-4889-8238-bf0216397d3f","cf95c9b6-511d-49b6-b76c-084badd057da","7271b975-c280-44d1-a4b6-a181228d4e1e"],"failures":[],"pending":[],"skipped":[],"duration":9538,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dcc37c0f-ddbe-49dd-8c4c-ed967182a589","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f31435cc-f897-4928-b368-130874cb906a","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":6547,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"0fa88ce1-03c3-4ed0-997a-830e0de78856","parentUUID":"f31435cc-f897-4928-b368-130874cb906a","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":5727,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"c6e87385-6b28-4e48-b0af-7f518b10dd9c","parentUUID":"f31435cc-f897-4928-b368-130874cb906a","isHook":false,"skipped":false}],"suites":[],"passes":["0fa88ce1-03c3-4ed0-997a-830e0de78856","c6e87385-6b28-4e48-b0af-7f518b10dd9c"],"failures":[],"pending":[],"skipped":[],"duration":12274,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"be7c1d23-b11c-4e29-9eb7-3b60fb5c57b4","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"392dfb81-51cf-4c16-a59d-9f9937de0d30","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":5640,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"568c5e07-5a0a-4150-8d2c-214e0748bb17","parentUUID":"392dfb81-51cf-4c16-a59d-9f9937de0d30","isHook":false,"skipped":false}],"suites":[],"passes":["568c5e07-5a0a-4150-8d2c-214e0748bb17"],"failures":[],"pending":[],"skipped":[],"duration":5640,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7700f338-0f11-4753-a093-ae1ced5bdc92","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bd1f1cc3-a8fa-4c67-8d33-72d02aceebd5","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":5273,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"36bba4ca-127c-47dd-9a3e-f556ee4c837f","parentUUID":"bd1f1cc3-a8fa-4c67-8d33-72d02aceebd5","isHook":false,"skipped":false}],"suites":[],"passes":["36bba4ca-127c-47dd-9a3e-f556ee4c837f"],"failures":[],"pending":[],"skipped":[],"duration":5273,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"734df34a-2759-485d-bcfa-0e09ddeccb5b","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"93d5726a-1519-4596-bdc5-b42a9cee7f09","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":3210,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{"message":"CypressError: `cy.within()` can only be called on a single element. Your subject contained 2 elements. Narrow down your subject to a single element (using `.first()`, for example) before calling `.within()`.\n\nTo run `.within()` over multiple subjects, use `.each()`.\n\n `cy.get('div').each($div => {`\n ` cy.wrap($div).within(() => { ... })`\n `})`\n\nhttps://on.cypress.io/within","estack":"CypressError: `cy.within()` can only be called on a single element. Your subject contained 2 elements. Narrow down your subject to a single element (using `.first()`, for example) before calling `.within()`.\n\nTo run `.within()` over multiple subjects, use `.each()`.\n\n `cy.get('div').each($div => {`\n ` cy.wrap($div).within(() => { ... })`\n `})`\n\nhttps://on.cypress.io/within\n at <unknown> (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:132621:72)\n at __WEBPACK_DEFAULT_EXPORT__ (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:129790:10)\n at Context.within (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:132614:67)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138290:19)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/a-login/6-verify-forgot-password-works.js:6:23)","diff":null},"uuid":"04fbc3f8-5633-4e18-add3-27cfe292ba92","parentUUID":"93d5726a-1519-4596-bdc5-b42a9cee7f09","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["04fbc3f8-5633-4e18-add3-27cfe292ba92"],"pending":[],"skipped":[],"duration":3210,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d4929ebd-7ce3-46ac-b1b4-5af1b36c2243","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c097853a-f797-4a10-b946-02e982c305af","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":2796,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"a6c0e8ed-92bc-4a10-b039-ef071ceaab16","parentUUID":"c097853a-f797-4a10-b946-02e982c305af","isHook":false,"skipped":false}],"suites":[],"passes":["a6c0e8ed-92bc-4a10-b039-ef071ceaab16"],"failures":[],"pending":[],"skipped":[],"duration":2796,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a1a73212-2101-4c83-be5c-3c97e4b834da","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b273c34e-5407-41e3-9d37-df587aa8f8b6","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":5296,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"bba386d9-f163-41a1-92f6-8fb281ffeeb8","parentUUID":"b273c34e-5407-41e3-9d37-df587aa8f8b6","isHook":false,"skipped":false}],"suites":[],"passes":["bba386d9-f163-41a1-92f6-8fb281ffeeb8"],"failures":[],"pending":[],"skipped":[],"duration":5296,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a2f6cd82-416b-4e35-b02a-30a800fbcc75","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6e4cc52c-9331-485b-8d02-7844ad459ab1","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":5021,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"bfce9661-19c0-4b6f-8dc5-ef54794e7f3f","parentUUID":"6e4cc52c-9331-485b-8d02-7844ad459ab1","isHook":false,"skipped":false}],"suites":[],"passes":["bfce9661-19c0-4b6f-8dc5-ef54794e7f3f"],"failures":[],"pending":[],"skipped":[],"duration":5021,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2c391001-7553-4f82-a809-83ecd7624edf","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6ca20106-ece4-4489-aa46-24a209726a6f","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":2228,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"88ce6796-6f6e-429b-9eda-3f1110018355","parentUUID":"6ca20106-ece4-4489-aa46-24a209726a6f","isHook":false,"skipped":false}],"suites":[],"passes":["88ce6796-6f6e-429b-9eda-3f1110018355"],"failures":[],"pending":[],"skipped":[],"duration":2228,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"369e4e7a-270b-4485-8737-4bdf07d306c5","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d3354682-7e56-4bf9-a122-54bc8a3ca81d","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":9278,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"79877bad-903e-4152-be37-cfc755c10a46","parentUUID":"d3354682-7e56-4bf9-a122-54bc8a3ca81d","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":5294,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"1328120f-97c9-4abc-8b0a-721cbe421892","parentUUID":"d3354682-7e56-4bf9-a122-54bc8a3ca81d","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":9946,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-outline-warning.rounded-capsule> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-outline-warning.rounded-capsule> but never did.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js:15:59)","diff":null},"uuid":"d778056f-a79b-4ab7-bb23-696cf04566b6","parentUUID":"d3354682-7e56-4bf9-a122-54bc8a3ca81d","isHook":false,"skipped":false}],"suites":[],"passes":["79877bad-903e-4152-be37-cfc755c10a46","1328120f-97c9-4abc-8b0a-721cbe421892"],"failures":["d778056f-a79b-4ab7-bb23-696cf04566b6"],"pending":[],"skipped":[],"duration":24518,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"976009a1-b2f6-4e50-a0ad-83fb89241f77","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4af616a0-7ba3-4c6c-ad68-1b22c4a4865d","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":125009,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '<table#relatedViewTableEl.fs--1.table.table-hover.table-sm.theme-revamp-table.m-0>' to contain '2P6Wnuikpt'","estack":"AssertionError: Timed out retrying after 4000ms: expected '<table#relatedViewTableEl.fs--1.table.table-hover.table-sm.theme-revamp-table.m-0>' to contain '2P6Wnuikpt'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:307:50)","diff":null},"uuid":"63e77913-72bc-4555-93b4-2875e3d8bbcf","parentUUID":"4af616a0-7ba3-4c6c-ad68-1b22c4a4865d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["63e77913-72bc-4555-93b4-2875e3d8bbcf"],"pending":[],"skipped":[],"duration":125009,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6683fb4d-b638-42b0-b700-0c0f85393b94","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f004202c-d3fc-4d77-805d-703d11fff002","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":5417,"state":"passed","speed":"medium","pass":true,"fail":false,"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');\n// 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":{},"uuid":"b2b9cb3b-c3e2-4757-9146-8985adaea991","parentUUID":"f004202c-d3fc-4d77-805d-703d11fff002","isHook":false,"skipped":false}],"suites":[],"passes":["b2b9cb3b-c3e2-4757-9146-8985adaea991"],"failures":[],"pending":[],"skipped":[],"duration":5417,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d326cd15-78ea-497c-8e59-9e5b26a3db9d","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c53dccc3-bd78-4074-8e4f-fcefbf5650cb","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":7425,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"752d2d3d-816e-4d2e-a48f-fb0fc3d7233a","parentUUID":"c53dccc3-bd78-4074-8e4f-fcefbf5650cb","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":5349,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"dea5bfe1-324e-4137-893e-180d825bbde0","parentUUID":"c53dccc3-bd78-4074-8e4f-fcefbf5650cb","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":5981,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"5a609d97-cb50-4d11-8ec4-48618e7c7ba0","parentUUID":"c53dccc3-bd78-4074-8e4f-fcefbf5650cb","isHook":false,"skipped":false}],"suites":[],"passes":["752d2d3d-816e-4d2e-a48f-fb0fc3d7233a","dea5bfe1-324e-4137-893e-180d825bbde0","5a609d97-cb50-4d11-8ec4-48618e7c7ba0"],"failures":[],"pending":[],"skipped":[],"duration":18755,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6ebbd2b1-b2ae-42b4-be4d-8c9262ae74aa","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e2440fab-3a80-40ed-8568-5e035bde3621","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":15410,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{},"uuid":"0c2530b5-4daf-4be4-b4c1-f900bd0058cc","parentUUID":"e2440fab-3a80-40ed-8568-5e035bde3621","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":18769,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{},"uuid":"72863067-853f-404a-bfb9-a2d40c62d796","parentUUID":"e2440fab-3a80-40ed-8568-5e035bde3621","isHook":false,"skipped":false}],"suites":[],"passes":["0c2530b5-4daf-4be4-b4c1-f900bd0058cc","72863067-853f-404a-bfb9-a2d40c62d796"],"failures":[],"pending":[],"skipped":[],"duration":34179,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"11a745de-d547-4560-a068-269e4def50a6","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e2db6256-05a3-41a6-819c-c77b8a5524e2","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":8996,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"1b2e07ee-f5da-4414-9014-0cd42d084ad5","parentUUID":"e2db6256-05a3-41a6-819c-c77b8a5524e2","isHook":false,"skipped":false}],"suites":[],"passes":["1b2e07ee-f5da-4414-9014-0cd42d084ad5"],"failures":[],"pending":[],"skipped":[],"duration":8996,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2fc6586a-542b-4bb2-bac6-878bd405bd97","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f3fc7cb6-f507-4bb9-abcd-089cffe54582","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":8436,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"30fb687f-3c36-442e-acf1-4946ce37b758","parentUUID":"f3fc7cb6-f507-4bb9-abcd-089cffe54582","isHook":false,"skipped":false}],"suites":[],"passes":["30fb687f-3c36-442e-acf1-4946ce37b758"],"failures":[],"pending":[],"skipped":[],"duration":8436,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d22c168-7a40-47c0-a2b1-6c53fca41764","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"eac2b156-9ca0-4cff-8258-a466cd3a709b","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":6237,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{},"uuid":"43240989-bf15-4025-9e24-73cc3f8da7ef","parentUUID":"eac2b156-9ca0-4cff-8258-a466cd3a709b","isHook":false,"skipped":false}],"suites":[],"passes":["43240989-bf15-4025-9e24-73cc3f8da7ef"],"failures":[],"pending":[],"skipped":[],"duration":6237,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ce0be2f0-78c1-466e-b60c-c7d48dcf6d62","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"38d6abb7-afec-44aa-8e20-9893d4960855","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":9554,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"2531dc35-12d1-43a3-b010-ca4c42282f62","parentUUID":"38d6abb7-afec-44aa-8e20-9893d4960855","isHook":false,"skipped":false}],"suites":[],"passes":["2531dc35-12d1-43a3-b010-ca4c42282f62"],"failures":[],"pending":[],"skipped":[],"duration":9554,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"37d91b09-f5bf-45d0-a891-0b7881a17d66","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0b1bc64a-2053-4630-90a1-e5a8230efd97","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":11309,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"06b47374-1e06-4347-be50-0a7f004ab0ec","parentUUID":"0b1bc64a-2053-4630-90a1-e5a8230efd97","isHook":false,"skipped":false}],"suites":[],"passes":["06b47374-1e06-4347-be50-0a7f004ab0ec"],"failures":[],"pending":[],"skipped":[],"duration":11309,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9ef0e007-187d-4521-bbf4-f02fb07d901a","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0783d68c-9818-46c0-b363-e5dc20f28e2f","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":11694,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"42797ee2-bba2-4452-ae97-71b052948020","parentUUID":"0783d68c-9818-46c0-b363-e5dc20f28e2f","isHook":false,"skipped":false}],"suites":[],"passes":["42797ee2-bba2-4452-ae97-71b052948020"],"failures":[],"pending":[],"skipped":[],"duration":11694,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f97a6e2f-ef65-41a6-ade6-755ffe15c166","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e5c70087-5f2c-4bf1-9b6b-976173cb2efa","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":5978,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"e1ec156c-cd32-4f46-b6ce-cb93f1470f84","parentUUID":"e5c70087-5f2c-4bf1-9b6b-976173cb2efa","isHook":false,"skipped":false}],"suites":[],"passes":["e1ec156c-cd32-4f46-b6ce-cb93f1470f84"],"failures":[],"pending":[],"skipped":[],"duration":5978,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f52b0c8-d9aa-4de1-a909-afba53c659f0","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ff250405-cf26-4c27-8648-fcf0023b61f8","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":33807,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"79dae1f3-1d1a-46b6-9d59-faba383277cf","parentUUID":"ff250405-cf26-4c27-8648-fcf0023b61f8","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":16231,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"14f89541-2231-4cb7-acae-05fded8eae70","parentUUID":"ff250405-cf26-4c27-8648-fcf0023b61f8","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":20537,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-outline-primary.rounded-capsule> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'USD' within the element: <button.btn.dropdown-toggle.my-1.btn-outline-primary.rounded-capsule> but never did.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js:15:59)","diff":null},"uuid":"b2ad82e8-0320-4913-ae9e-31be9ad18f3b","parentUUID":"ff250405-cf26-4c27-8648-fcf0023b61f8","isHook":false,"skipped":false}],"suites":[],"passes":["79dae1f3-1d1a-46b6-9d59-faba383277cf","14f89541-2231-4cb7-acae-05fded8eae70"],"failures":["b2ad82e8-0320-4913-ae9e-31be9ad18f3b"],"pending":[],"skipped":[],"duration":70575,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b104630d-a98a-40a4-aa9e-8b2148cb4a5b","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2387364c-0713-41e3-8f78-10d8b388db35","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":32484,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:18:23)","diff":null},"uuid":"65836ee0-c24c-4be4-a97d-6cc33745a562","parentUUID":"2387364c-0713-41e3-8f78-10d8b388db35","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["65836ee0-c24c-4be4-a97d-6cc33745a562"],"pending":[],"skipped":[],"duration":32484,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0d79a752-d7b5-46c8-816f-47df05809fa4","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0520db2b-195e-4518-81ee-7c2aae76ad73","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":38306,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:18:23)","diff":null},"uuid":"ef75c8dd-63eb-4e71-bab4-b21747d70f84","parentUUID":"0520db2b-195e-4518-81ee-7c2aae76ad73","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ef75c8dd-63eb-4e71-bab4-b21747d70f84"],"pending":[],"skipped":[],"duration":38306,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88e6f26a-6e9f-4ef9-9451-38a55a0c1d4e","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"03b2db17-89f4-405f-8eda-27f298cd2cb3","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":34844,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:18:23)","diff":null},"uuid":"7faefcc7-26ac-47f1-814c-7345a726ec45","parentUUID":"03b2db17-89f4-405f-8eda-27f298cd2cb3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7faefcc7-26ac-47f1-814c-7345a726ec45"],"pending":[],"skipped":[],"duration":34844,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9935e51f-3088-4e11-a6f4-d6c74bed2b54","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bafe18d9-e6bd-4559-bb64-a86d8bb423c9","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":34507,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:18:23)","diff":null},"uuid":"346b0657-de13-40ba-85ac-b8504cc5416e","parentUUID":"bafe18d9-e6bd-4559-bb64-a86d8bb423c9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["346b0657-de13-40ba-85ac-b8504cc5416e"],"pending":[],"skipped":[],"duration":34507,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ac8643ad-ebf1-4226-8be7-7b3c6f53b845","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ef3d6a37-bc36-4a26-82a3-3dfc4f313881","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe 3D Secure","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe 3D Secure","timedOut":null,"duration":32254,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tax_table tbody tr td button`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js:21:23)","diff":null},"uuid":"1dcc347f-1c7d-40f2-8cdb-759cd51f03f8","parentUUID":"ef3d6a37-bc36-4a26-82a3-3dfc4f313881","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1dcc347f-1c7d-40f2-8cdb-759cd51f03f8"],"pending":[],"skipped":[],"duration":32254,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"719d2b25-2597-4a83-82d6-bebbf98476a2","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"264701e0-eb61-45b2-9007-7ce1aaef8eae","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":107541,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').should('be.visible');","err":{},"uuid":"e5a90afe-7716-4a4f-acac-ce9076cb9c4b","parentUUID":"264701e0-eb61-45b2-9007-7ce1aaef8eae","isHook":false,"skipped":false}],"suites":[],"passes":["e5a90afe-7716-4a4f-acac-ce9076cb9c4b"],"failures":[],"pending":[],"skipped":[],"duration":107541,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0467db77-b482-4924-9001-dea6831a5957","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aef055c4-6f02-426e-8468-4a5e12fba7ea","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":113688,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(image => {\n cy.get('.row img').its('length').then(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(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(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').should('be.visible')","err":{},"uuid":"72f7b15c-7aed-4580-a85a-531458f95129","parentUUID":"aef055c4-6f02-426e-8468-4a5e12fba7ea","isHook":false,"skipped":false}],"suites":[],"passes":["72f7b15c-7aed-4580-a85a-531458f95129"],"failures":[],"pending":[],"skipped":[],"duration":113688,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4fdf0b7d-f732-426c-963b-5d5d4ade44dc","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"35afeb2d-23c8-475d-9501-0785490c2a87","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":104703,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4000002760003184', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);","err":{},"uuid":"0d359990-1e46-4538-989b-8764246583ae","parentUUID":"35afeb2d-23c8-475d-9501-0785490c2a87","isHook":false,"skipped":false}],"suites":[],"passes":["0d359990-1e46-4538-989b-8764246583ae"],"failures":[],"pending":[],"skipped":[],"duration":104703,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"281afb8b-1042-42af-978e-05672be0f883","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b37b0e00-79ed-4af6-aa10-4795d9f0254b","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":5881,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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 //////////////////////////////\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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 /////////////////////////////////////////////////////\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js:4:11)","diff":null},"uuid":"dfc7d539-b250-4644-a2dc-00ee89c2dbd1","parentUUID":"b37b0e00-79ed-4af6-aa10-4795d9f0254b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dfc7d539-b250-4644-a2dc-00ee89c2dbd1"],"pending":[],"skipped":[],"duration":5881,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2a8230f8-9033-42b8-9e1c-66b511091cb2","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e40c0c72-1564-47bb-88a9-b2e96f5d76c7","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":5101,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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 //////////////////////////////\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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js:4:11)","diff":null},"uuid":"883392b3-a86a-4849-b47a-0b5adaeda3d2","parentUUID":"e40c0c72-1564-47bb-88a9-b2e96f5d76c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["883392b3-a86a-4849-b47a-0b5adaeda3d2"],"pending":[],"skipped":[],"duration":5101,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b0bb911c-d9cb-4e36-a41e-a5e0ad689a16","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"35f4fd07-de56-4fc4-93f3-b137fd286e65","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":5253,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js:4:11)","diff":null},"uuid":"a2ffa305-8af5-4e1a-a300-c52f73d5c728","parentUUID":"35f4fd07-de56-4fc4-93f3-b137fd286e65","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a2ffa305-8af5-4e1a-a300-c52f73d5c728"],"pending":[],"skipped":[],"duration":5253,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"65d630f3-da66-4e8e-9bf8-93724134b5db","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"433cfcd7-653f-460d-b910-75cf3d1d3ea1","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":5102,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js:4:11)","diff":null},"uuid":"d78d0d50-6282-4caa-9c73-104dcf543f34","parentUUID":"433cfcd7-653f-460d-b910-75cf3d1d3ea1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d78d0d50-6282-4caa-9c73-104dcf543f34"],"pending":[],"skipped":[],"duration":5102,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7a1f9ec5-8016-44f2-a243-8cf502f97c58","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2aa57866-dc03-4841-af90-9fff6f9e8933","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":4986,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js:4:11)","diff":null},"uuid":"1085d872-9880-46a2-af99-3baa0e6341e1","parentUUID":"2aa57866-dc03-4841-af90-9fff6f9e8933","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1085d872-9880-46a2-af99-3baa0e6341e1"],"pending":[],"skipped":[],"duration":4986,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"71c71add-4930-4f8b-b1ad-35576044c6db","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"510d272c-5bfd-4a02-b4f8-3b5db6a6f1a9","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":4914,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js:4:11)","diff":null},"uuid":"1704ad6c-bf4f-4142-8218-755dc83021d2","parentUUID":"510d272c-5bfd-4a02-b4f8-3b5db6a6f1a9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1704ad6c-bf4f-4142-8218-755dc83021d2"],"pending":[],"skipped":[],"duration":4914,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a94fe0b8-a495-4a96-8576-f5cec571b404","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cd9bd8b7-b8ed-4f6d-a8a8-f37747f312a1","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":5315,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js:4:11)","diff":null},"uuid":"6a3da554-acb1-4800-80c8-12039d3d4daa","parentUUID":"cd9bd8b7-b8ed-4f6d-a8a8-f37747f312a1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6a3da554-acb1-4800-80c8-12039d3d4daa"],"pending":[],"skipped":[],"duration":5315,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a956260e-56f4-48d3-8bb7-28ddf17c112d","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"85e96176-b1c8-4e35-9938-943d752a308c","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":5111,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js:4:11)","diff":null},"uuid":"6fb98f36-e0bb-4156-9b65-fc21a793cd79","parentUUID":"85e96176-b1c8-4e35-9938-943d752a308c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6fb98f36-e0bb-4156-9b65-fc21a793cd79"],"pending":[],"skipped":[],"duration":5111,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"90c5c45f-6d7e-4ed3-b728-0b909dade8e5","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"91aaea53-bd3d-44f6-add8-0d413ce84cdc","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":4978,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js:4:11)","diff":null},"uuid":"04436e60-aa48-46af-9d11-0877da9a050e","parentUUID":"91aaea53-bd3d-44f6-add8-0d413ce84cdc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["04436e60-aa48-46af-9d11-0877da9a050e"],"pending":[],"skipped":[],"duration":4978,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"90565507-aba2-45f2-b8f8-84368f4940b9","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cbf0ee4c-c3d0-48e9-afdc-f8b4910abaa0","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":4845,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js:4:11)","diff":null},"uuid":"cafa13e2-90b0-4930-8286-a41a820b7aa0","parentUUID":"cbf0ee4c-c3d0-48e9-afdc-f8b4910abaa0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cafa13e2-90b0-4930-8286-a41a820b7aa0"],"pending":[],"skipped":[],"duration":4845,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"26a6b425-50da-40cf-96c7-97b092092669","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b12721a9-f1f2-42c2-8cc1-737c6c6fc65f","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":5276,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js:4:11)","diff":null},"uuid":"01b0dd0d-e91e-4534-82c4-5edc0136707e","parentUUID":"b12721a9-f1f2-42c2-8cc1-737c6c6fc65f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["01b0dd0d-e91e-4534-82c4-5edc0136707e"],"pending":[],"skipped":[],"duration":5276,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"46853607-43da-4f25-92b8-034573045d1b","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d0c55df5-3fd6-48ba-9466-adac70cdac1e","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":5097,"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(() => {\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(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(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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js:4:11)","diff":null},"uuid":"70e44b63-73f6-4d8a-ab0a-846926ded7fd","parentUUID":"d0c55df5-3fd6-48ba-9466-adac70cdac1e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["70e44b63-73f6-4d8a-ab0a-846926ded7fd"],"pending":[],"skipped":[],"duration":5097,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2f41565b-6ea1-4e97-a988-db246413bd42","title":"","fullFile":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bf6a52d0-a364-4836-9c32-0a50e9929d74","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":49677,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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(1000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.wait(2000);\ncy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(status => {\n expect(status.text()).to.eq('Paid ');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/en/settings/workflows' to include '/settings/payment-gateways'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/en/settings/workflows' to include '/settings/payment-gateways'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:13:17)","diff":null},"uuid":"5ed5aaa2-bccf-47c9-adfa-ee7d578532ef","parentUUID":"bf6a52d0-a364-4836-9c32-0a50e9929d74","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5ed5aaa2-bccf-47c9-adfa-ee7d578532ef"],"pending":[],"skipped":[],"duration":49677,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"065866a4-0a6c-4abf-96c2-518678268da9","title":"","fullFile":"cypress/e2e/p-portal/1-login/1-login_spec.js","file":"cypress/e2e/p-portal/1-login/1-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d98b16b7-a589-449d-9fce-1531672cc220","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":8511,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{},"uuid":"7a8dd901-aadf-4788-85ff-e67b55539666","parentUUID":"d98b16b7-a589-449d-9fce-1531672cc220","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":4305,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/1-login/1-login_spec.js:7:7)","diff":null},"uuid":"aefc612a-21d8-4658-9a14-28dafce52a1c","parentUUID":"d98b16b7-a589-449d-9fce-1531672cc220","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4227,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/1-login/1-login_spec.js:10:7)","diff":null},"uuid":"acb36597-fae7-43e7-809f-39fec200d01f","parentUUID":"d98b16b7-a589-449d-9fce-1531672cc220","isHook":false,"skipped":false}],"suites":[],"passes":["7a8dd901-aadf-4788-85ff-e67b55539666"],"failures":["aefc612a-21d8-4658-9a14-28dafce52a1c","acb36597-fae7-43e7-809f-39fec200d01f"],"pending":[],"skipped":[],"duration":17043,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9c4e7900-33b4-4fcd-8080-ef1ecc71d8f7","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/1-subscription.spec.js","file":"cypress/e2e/p-portal/2-subscription/1-subscription.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c91c2347-07f6-4c4c-9e9d-7f1a948f7db4","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":18415,"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(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(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((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(elm => {\n expect(elm.length).to.eq(1);\n});\ncy.get('.list-group-item').eq(1).then(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);\n ////////here\n cy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(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(elm => {\n expect(elm).to.eq(totalInv);\n });\n cy.get('.bg-info').first().then(amount => {\n expect(invAmt.text()).to.include(amount.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/1-subscription.spec.js:10:11)","diff":null},"uuid":"1fad9bcf-8c61-420e-9883-e1d7d322f410","parentUUID":"c91c2347-07f6-4c4c-9e9d-7f1a948f7db4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1fad9bcf-8c61-420e-9883-e1d7d322f410"],"pending":[],"skipped":[],"duration":18415,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"525986d1-09fb-4bdf-892a-faceb278f229","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js","file":"cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"02512b67-fe6e-400b-a826-200e88daaed5","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":18975,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var list_top;\nvar inv_price;\nvar user_name;\n//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(top => {\n list_top = top.text();\n});\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);\nlet selected_plan = 0;\nlet updatedSelected_plan = 0;\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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(elm => {\n selected_plan = elm.length;\n});\n//start\ncy.get('.card-title').each((element, index) => {\n if (element.text().includes('Volume')) {\n cy.get('[class=\"card-footer text-center\"] .row .col .lead').eq(index + 1).then(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(elm => {\n updatedSelected_plan = elm.length;\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(() => {\n expect(updatedSelected_plan).to.not.eq(selected_plan);\n}).then(() => {\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(elm => {\n let normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.gt(totalBefore);\n});\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(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(price2 => {\n expect(inv_price).to.equal(price2.text());\n});\ncy.get('[class=\"navbar-nav head-nav-right\"] [class=\"nav-item\"] p strong').then(name => {\n user_name = name.text();\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js:12:17)","diff":null},"uuid":"598d23fc-6858-4295-9478-94afe2d35572","parentUUID":"02512b67-fe6e-400b-a826-200e88daaed5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["598d23fc-6858-4295-9478-94afe2d35572"],"pending":[],"skipped":[],"duration":18975,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2d8f0040-8725-4569-aca5-d37a55130d53","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js","file":"cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2d90ec23-8b0d-4b1e-acab-098388abb96a","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":16933,"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);\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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($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(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(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(($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(() => {\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(elm => {\n let 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(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":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js:6:17)","diff":null},"uuid":"cc6b0aeb-aa78-461c-9642-07b8b39cff0a","parentUUID":"2d90ec23-8b0d-4b1e-acab-098388abb96a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc6b0aeb-aa78-461c-9642-07b8b39cff0a"],"pending":[],"skipped":[],"duration":16933,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a8a09db5-a606-4055-983f-f89b33c02a61","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js","file":"cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"684af7da-0712-49b4-8913-b76fc8f13b73","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":18982,"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(elm => {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(elm => {\n expect(elm.text().trim()).to.eq('Suspended');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js:7:54)","diff":null},"uuid":"a690aae5-3fa4-4933-94d7-baf66325414e","parentUUID":"684af7da-0712-49b4-8913-b76fc8f13b73","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a690aae5-3fa4-4933-94d7-baf66325414e"],"pending":[],"skipped":[],"duration":18982,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a84ef6ea-8a70-4c9c-9a58-e4e79c80b2c9","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js","file":"cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9dd06246-c467-4b21-9873-48e8cbd7dab9","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":18891,"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(elm => {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(elm => {\n expect(elm.text().trim()).to.eq('Active');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js:6:54)","diff":null},"uuid":"b02e4241-6739-480c-8856-bb6f3389d70b","parentUUID":"9dd06246-c467-4b21-9873-48e8cbd7dab9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b02e4241-6739-480c-8856-bb6f3389d70b"],"pending":[],"skipped":[],"duration":18891,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dae498c4-e2de-406e-84f2-245194b643ec","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js","file":"cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5ec974d7-2a85-4a91-b5db-4826ba54b082","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":13345,"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(elm => {\n expect(elm.text().trim()).to.eq('Cancelled');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js:5:54)","diff":null},"uuid":"f9301926-fabe-484c-b799-264684be9fb5","parentUUID":"5ec974d7-2a85-4a91-b5db-4826ba54b082","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f9301926-fabe-484c-b799-264684be9fb5"],"pending":[],"skipped":[],"duration":13345,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dd51881b-266e-4698-a076-d2ca475f3c09","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js","file":"cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9d0033df-07f1-4906-885e-2a24ed998ff1","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":13960,"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);\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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(($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');\n// 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(() => {\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(elm => {\n let normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.not.eq(totalBefore);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/subscriptions'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js:6:25)","diff":null},"uuid":"8da3ace9-252f-4ba3-b779-f58a7e1de9e7","parentUUID":"9d0033df-07f1-4906-885e-2a24ed998ff1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8da3ace9-252f-4ba3-b779-f58a7e1de9e7"],"pending":[],"skipped":[],"duration":13960,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"939b7040-e9c6-45fd-b315-2aead40087b5","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js","file":"cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","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":18456,"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($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(spans => {\n expect(spans.text()).to.eq('Due');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:7:17)","diff":null},"uuid":"4a8de2c0-9dc3-464d-ad57-bcca21d4b3b1","parentUUID":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":15235,"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($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(spans => {\n expect(spans.text()).to.eq('Overdue');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:25:17)","diff":null},"uuid":"baa562f2-0a67-451f-bdd8-4969ef32fbfc","parentUUID":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":14556,"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($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(spans => {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:44:17)","diff":null},"uuid":"936ff755-1ef7-4744-bc54-670984f40b9a","parentUUID":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":15231,"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($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(spans => {\n expect(spans.text()).to.eq('Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:63:17)","diff":null},"uuid":"9392108a-545f-4856-a27e-b93b46d2b779","parentUUID":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":16029,"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($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(spans => {\n expect(spans.text()).to.eq('Bounced');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:82:17)","diff":null},"uuid":"0cb78a74-28a9-46b4-9723-d8d62c8c0891","parentUUID":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":15563,"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($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(spans => {\n expect(spans.text()).to.eq('Void');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:101:17)","diff":null},"uuid":"58d9dbc4-fb9f-4102-933d-c6dd2e15fede","parentUUID":"c48b9f68-0fe9-49e4-ad9a-bc9d338738f8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4a8de2c0-9dc3-464d-ad57-bcca21d4b3b1","baa562f2-0a67-451f-bdd8-4969ef32fbfc","936ff755-1ef7-4744-bc54-670984f40b9a","9392108a-545f-4856-a27e-b93b46d2b779","0cb78a74-28a9-46b4-9723-d8d62c8c0891","58d9dbc4-fb9f-4102-933d-c6dd2e15fede"],"pending":[],"skipped":[],"duration":95070,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"73746070-ce3d-49cc-847a-724b9e6a500b","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js","file":"cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8daee693-8086-4d5a-bc02-c97740f08982","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":5560,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:8:11)","diff":null},"uuid":"f3f91920-e9d8-4e2f-b131-97bb0982d672","parentUUID":"8daee693-8086-4d5a-bc02-c97740f08982","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":21713,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:143:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:71:8)","diff":null},"uuid":"fd95f111-9ce3-4897-ad7d-8e17dab8c8e8","parentUUID":"8daee693-8086-4d5a-bc02-c97740f08982","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f3f91920-e9d8-4e2f-b131-97bb0982d672","fd95f111-9ce3-4897-ad7d-8e17dab8c8e8"],"pending":[],"skipped":[],"duration":27273,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e6318a1-176a-4d21-ab98-d79ef6f97e11","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","file":"cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7ee5a823-2a0d-4481-bdd7-8ecd617d7ff3","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":5203,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:8:11)","diff":null},"uuid":"9fd5c47a-7d5c-41aa-8ebe-ecc302c56866","parentUUID":"7ee5a823-2a0d-4481-bdd7-8ecd617d7ff3","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":19525,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:144:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:66:8)","diff":null},"uuid":"4d576d81-0735-4c21-ba4a-522c5a2c5087","parentUUID":"7ee5a823-2a0d-4481-bdd7-8ecd617d7ff3","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15406,"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);\n// Checking if second child \"row\" is found\ncy.get('[class=\"content\"] [class=\"container-fluid\"]').then(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(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(element => {\n if (element.find('.row').eq(1).length > 0) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(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(spans => {\n expect(spans.text()).to.eq('Partially Paid');\n });\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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:74:17)","diff":null},"uuid":"c0e3b2c7-51fc-431b-a0f7-f1c96b465041","parentUUID":"7ee5a823-2a0d-4481-bdd7-8ecd617d7ff3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9fd5c47a-7d5c-41aa-8ebe-ecc302c56866","4d576d81-0735-4c21-ba4a-522c5a2c5087","c0e3b2c7-51fc-431b-a0f7-f1c96b465041"],"pending":[],"skipped":[],"duration":40134,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2222383f-3baa-4d0b-9f8d-625f47d3b79a","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","file":"cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0aa7bf00-05be-468f-90d6-7f2fec0d70d4","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":16493,"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(() => {\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(elm => {\n let 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(elm => {\n totalInvoiceAmount = parseInt(elm.text().replace(/[$,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').its('length').then(() => {\n setUnappliedAmount(totalInvoiceAmount);\n payInvoice(totalInvoiceAmount);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js:9:17)","diff":null},"uuid":"7b834b2d-c8ea-4736-ac9e-e4a47adaf488","parentUUID":"0aa7bf00-05be-468f-90d6-7f2fec0d70d4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7b834b2d-c8ea-4736-ac9e-e4a47adaf488"],"pending":[],"skipped":[],"duration":16493,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"34f1b901-b731-4c16-b248-e1263412fe74","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","file":"cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4942e560-3af6-43d5-9c1b-edba282567f9","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":5286,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n//Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:8:11)","diff":null},"uuid":"834d15bc-60e6-4091-977b-b2651a46bd52","parentUUID":"4942e560-3af6-43d5-9c1b-edba282567f9","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":19513,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:110:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:70:8)","diff":null},"uuid":"e9dc2f14-f306-4344-bf24-dd819f3b7be5","parentUUID":"4942e560-3af6-43d5-9c1b-edba282567f9","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":17915,"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(() => {\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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:78:17)","diff":null},"uuid":"76350835-1b77-4968-9ccc-6977b8f20a1f","parentUUID":"4942e560-3af6-43d5-9c1b-edba282567f9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["834d15bc-60e6-4091-977b-b2651a46bd52","e9dc2f14-f306-4344-bf24-dd819f3b7be5","76350835-1b77-4968-9ccc-6977b8f20a1f"],"pending":[],"skipped":[],"duration":42714,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"190093d8-ebd7-4467-b2e9-18562b16a330","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","file":"cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"094e9ab5-6844-4e49-8317-964120beb933","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":4795,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:8:11)","diff":null},"uuid":"b72ced65-f979-420d-ba4d-3b2192afa591","parentUUID":"094e9ab5-6844-4e49-8317-964120beb933","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":20766,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:120:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:63:8)","diff":null},"uuid":"1d04b852-f043-4ab3-bb8b-b5ba6722667d","parentUUID":"094e9ab5-6844-4e49-8317-964120beb933","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":14914,"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(() => {\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(status => {\n cy.log('text status: ' + status.text());\n cy.get('.basic-information .table tbody tr').eq(6).then(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(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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n });\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:71:17)","diff":null},"uuid":"aaed44f6-3f85-4aa0-93f3-a33bd40a6634","parentUUID":"094e9ab5-6844-4e49-8317-964120beb933","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b72ced65-f979-420d-ba4d-3b2192afa591","1d04b852-f043-4ab3-bb8b-b5ba6722667d","aaed44f6-3f85-4aa0-93f3-a33bd40a6634"],"pending":[],"skipped":[],"duration":40475,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a792a72b-15d2-478b-904e-093b960c8943","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","file":"cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6149f04c-75e1-40c7-98b5-8d493c96fe43","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":5191,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:8:11)","diff":null},"uuid":"93e6403c-b1c0-453b-84ca-b2984fb37f7e","parentUUID":"6149f04c-75e1-40c7-98b5-8d493c96fe43","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":23949,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:160:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:70:8)","diff":null},"uuid":"dda8f925-d930-4d60-bb13-b741cee5ec57","parentUUID":"6149f04c-75e1-40c7-98b5-8d493c96fe43","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":15587,"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(() => {\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(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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);\n // 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((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(element => {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n var y;\n cy.get('#relatedList-bulk-action-Invoice_Customer th').each((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n y = 'dataTable__table-td-' + index;\n cy.get(y).first().then(element => {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:78:17)","diff":null},"uuid":"bd2e0cf2-2153-49f2-b577-873719e83c66","parentUUID":"6149f04c-75e1-40c7-98b5-8d493c96fe43","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["93e6403c-b1c0-453b-84ca-b2984fb37f7e","dda8f925-d930-4d60-bb13-b741cee5ec57","bd2e0cf2-2153-49f2-b577-873719e83c66"],"pending":[],"skipped":[],"duration":44727,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"331c0ebd-f2a6-496a-bc85-e18c3fb7fe62","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","file":"cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d322e1c3-6cd6-4a47-b0a4-69cede4e80b7","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":6496,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:8:11)","diff":null},"uuid":"cfdbc6a1-28d4-4bb2-9248-7509fde5e7c4","parentUUID":"d322e1c3-6cd6-4a47-b0a4-69cede4e80b7","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":23366,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:131:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:70:8)","diff":null},"uuid":"17f350c1-d18f-4b9e-b86f-e9daf5caf125","parentUUID":"d322e1c3-6cd6-4a47-b0a4-69cede4e80b7","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":14745,"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(() => {\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(() => {\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((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(element => {\n expect(element.text()).to.eq('Declined');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:78:17)","diff":null},"uuid":"45413480-5d14-4200-9ace-2913d67bdd7e","parentUUID":"d322e1c3-6cd6-4a47-b0a4-69cede4e80b7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cfdbc6a1-28d4-4bb2-9248-7509fde5e7c4","17f350c1-d18f-4b9e-b86f-e9daf5caf125","45413480-5d14-4200-9ace-2913d67bdd7e"],"pending":[],"skipped":[],"duration":44607,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cc374271-c2d0-40a5-b524-cbc2db17ad3a","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","file":"cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"21fc267b-611b-4ee4-908f-dd66cff8f9f1","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":5182,"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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at createOrder (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:80:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:8:8)","diff":null},"uuid":"0311637e-9c60-4bd2-a2ab-a9bdc7bdcec7","parentUUID":"21fc267b-611b-4ee4-908f-dd66cff8f9f1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0311637e-9c60-4bd2-a2ab-a9bdc7bdcec7"],"pending":[],"skipped":[],"duration":5182,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"895dc3c7-b229-4acb-be3b-6df9befcf6b9","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"fef308cd-d525-46dd-ae82-701fdbdedfde","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":10462,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:63:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"b5f9cc20-9c66-4e02-8954-043093d8d490","parentUUID":"fef308cd-d525-46dd-ae82-701fdbdedfde","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5f9cc20-9c66-4e02-8954-043093d8d490"],"pending":[],"skipped":[],"duration":10462,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"80d679e3-577c-403a-a2c7-08049ba436da","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"7001706c-08ed-4abd-bc25-a6ea0e7f393d","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":4916,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:64:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"7b5aaa62-b93b-4a19-8568-8b5dcc929e39","parentUUID":"7001706c-08ed-4abd-bc25-a6ea0e7f393d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7b5aaa62-b93b-4a19-8568-8b5dcc929e39"],"pending":[],"skipped":[],"duration":4916,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"429207bd-c632-4ec0-885b-14a525ca6071","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"283742a1-f101-450a-8ce8-288e15832b69","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":11320,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:61:7)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"591ba411-eba5-4ce6-b4bf-2b01cbd2ff18","parentUUID":"283742a1-f101-450a-8ce8-288e15832b69","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["591ba411-eba5-4ce6-b4bf-2b01cbd2ff18"],"pending":[],"skipped":[],"duration":11320,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"21db0f16-cbe2-49df-8848-7a5f56158395","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","file":"cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ac2e78cf-a2ec-471b-9329-4561a138d492","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":5078,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:61:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:8:8)","diff":null},"uuid":"809b8eba-c02a-41dc-be51-227f65bd6a9c","parentUUID":"ac2e78cf-a2ec-471b-9329-4561a138d492","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["809b8eba-c02a-41dc-be51-227f65bd6a9c"],"pending":[],"skipped":[],"duration":5078,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"306bfc75-c975-4ace-9367-9bb7b1fad12a","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9fa0277a-8578-4a73-8d48-9182dcb75eff","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":11191,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:8:11)","diff":null},"uuid":"f285bcc9-b673-4eec-9d02-c40129726ba1","parentUUID":"9fa0277a-8578-4a73-8d48-9182dcb75eff","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":37106,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:99:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:70:8)","diff":null},"uuid":"d114760c-a4da-4779-9a2f-940373ad7e29","parentUUID":"9fa0277a-8578-4a73-8d48-9182dcb75eff","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":4841,"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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:74:11)","diff":null},"uuid":"a80e902f-9f3d-4f6b-b505-4a2d1cdd1a2c","parentUUID":"9fa0277a-8578-4a73-8d48-9182dcb75eff","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f285bcc9-b673-4eec-9d02-c40129726ba1","d114760c-a4da-4779-9a2f-940373ad7e29","a80e902f-9f3d-4f6b-b505-4a2d1cdd1a2c"],"pending":[],"skipped":[],"duration":53138,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcb7739e-e66e-4cd5-ab67-9cd1e0071363","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7978174e-7445-4457-9b51-44f04c220a9c","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":13126,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:13:11)","diff":null},"uuid":"4aba7c4a-ec4e-418f-8ead-180b7dabf15a","parentUUID":"7978174e-7445-4457-9b51-44f04c220a9c","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":31685,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:84:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:74:8)","diff":null},"uuid":"a8a99256-d3f4-46c4-928d-c40e4e3e026e","parentUUID":"7978174e-7445-4457-9b51-44f04c220a9c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4aba7c4a-ec4e-418f-8ead-180b7dabf15a","a8a99256-d3f4-46c4-928d-c40e4e3e026e"],"pending":[],"skipped":[],"duration":44811,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"266d8ccb-3a78-4508-8d91-ad01c330c707","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9012c64a-b0fa-487a-8a50-d338b811e532","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":6361,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:9:11)","diff":null},"uuid":"6ce5fa1f-e02a-40c6-8ec8-0ca1a8eef308","parentUUID":"9012c64a-b0fa-487a-8a50-d338b811e532","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":33173,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:89:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:79:8)","diff":null},"uuid":"82de73ad-381f-4df9-9520-66b090e3b257","parentUUID":"9012c64a-b0fa-487a-8a50-d338b811e532","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6ce5fa1f-e02a-40c6-8ec8-0ca1a8eef308","82de73ad-381f-4df9-9520-66b090e3b257"],"pending":[],"skipped":[],"duration":39534,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ebfae57a-aa92-4c72-a437-1da1b68e31d2","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"bf4f6572-1fa5-4cb4-b1d0-2a58628b1a10","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":4852,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:8:11)","diff":null},"uuid":"7f1379ff-0911-4442-8f36-562189acd0e9","parentUUID":"bf4f6572-1fa5-4cb4-b1d0-2a58628b1a10","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":27867,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:79:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:69:8)","diff":null},"uuid":"19ec4028-bee4-4c83-8c87-086fcc5d3ebd","parentUUID":"bf4f6572-1fa5-4cb4-b1d0-2a58628b1a10","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7f1379ff-0911-4442-8f36-562189acd0e9","19ec4028-bee4-4c83-8c87-086fcc5d3ebd"],"pending":[],"skipped":[],"duration":32719,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcdff672-6712-4a7e-b728-00ad40fa79cb","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a9162c64-a21f-43fa-8852-b2929c334a31","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":5238,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:8:11)","diff":null},"uuid":"8aca6b82-6ca1-441c-96f7-b14ea0e0152d","parentUUID":"a9162c64-a21f-43fa-8852-b2929c334a31","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":34153,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:78:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:68:8)","diff":null},"uuid":"1b0e6802-f860-453d-8297-9abfef8ade93","parentUUID":"a9162c64-a21f-43fa-8852-b2929c334a31","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8aca6b82-6ca1-441c-96f7-b14ea0e0152d","1b0e6802-f860-453d-8297-9abfef8ade93"],"pending":[],"skipped":[],"duration":39391,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f9a8cf9e-b5d6-418f-9d04-fead35e3f63b","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d5d6b915-c46c-4fab-9353-5f06445f696c","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":4802,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:8:11)","diff":null},"uuid":"99b79889-8960-474d-914c-16ce98054acb","parentUUID":"d5d6b915-c46c-4fab-9353-5f06445f696c","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":35633,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:80:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:70:8)","diff":null},"uuid":"9d582019-1b14-4027-9404-6499e945a188","parentUUID":"d5d6b915-c46c-4fab-9353-5f06445f696c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["99b79889-8960-474d-914c-16ce98054acb","9d582019-1b14-4027-9404-6499e945a188"],"pending":[],"skipped":[],"duration":40435,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f610ebda-4eed-4b79-bcc7-230812450aab","title":"","fullFile":"cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js","file":"cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"66d80b6e-939e-444e-b8f7-ed587b518b05","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":25865,"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(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(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(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(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":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:7:17)","diff":null},"uuid":"6cffedfe-5a96-488f-9f40-1aa0f0e08383","parentUUID":"66d80b6e-939e-444e-b8f7-ed587b518b05","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":4245,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:38:11)","diff":null},"uuid":"def07e10-db8d-47fb-b750-5e16897e2c19","parentUUID":"66d80b6e-939e-444e-b8f7-ed587b518b05","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":5818,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test12312');","err":{},"uuid":"f5b73943-b961-4801-a9e6-48a2d82d4a80","parentUUID":"66d80b6e-939e-444e-b8f7-ed587b518b05","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":15297,"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":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:50:17)","diff":null},"uuid":"52f195a8-4e2b-4d9b-8777-08f8ba59d9ae","parentUUID":"66d80b6e-939e-444e-b8f7-ed587b518b05","isHook":false,"skipped":false}],"suites":[],"passes":["f5b73943-b961-4801-a9e6-48a2d82d4a80"],"failures":["6cffedfe-5a96-488f-9f40-1aa0f0e08383","def07e10-db8d-47fb-b750-5e16897e2c19","52f195a8-4e2b-4d9b-8777-08f8ba59d9ae"],"pending":[],"skipped":[],"duration":51225,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd1e72f3-076e-4ca8-afb9-93dc83ce57be","title":"","fullFile":"cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js","file":"cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e24ce9d7-421c-4e49-8709-1f159eb5aca6","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":24936,"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":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'https://devtest.dev-techloyce.com/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js:7:17)","diff":null},"uuid":"8f3cd323-01dc-49a1-8949-b46bb3966a54","parentUUID":"e24ce9d7-421c-4e49-8709-1f159eb5aca6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8f3cd323-01dc-49a1-8949-b46bb3966a54"],"pending":[],"skipped":[],"duration":24936,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2837c71d-a0ba-42e6-a2e8-7d1f0bd0420d","title":"","fullFile":"cypress/e2e/p-portal/8-logout/1-logout_spec.js","file":"cypress/e2e/p-portal/8-logout/1-logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8a0b77f7-91f0-4ba0-9a3d-e1061c5b4ef2","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":15083,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{},"uuid":"f335d5d0-130b-4510-9432-27f05d481bcc","parentUUID":"8a0b77f7-91f0-4ba0-9a3d-e1061c5b4ef2","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":4267,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:7:7)","diff":null},"uuid":"6ab2f440-f6cb-4e7d-b427-29249a6e1f12","parentUUID":"8a0b77f7-91f0-4ba0-9a3d-e1061c5b4ef2","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4211,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:10:7)","diff":null},"uuid":"1c825f9f-2cd0-494d-9673-15ed5267fd09","parentUUID":"8a0b77f7-91f0-4ba0-9a3d-e1061c5b4ef2","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":4224,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:14:7)","diff":null},"uuid":"b39b6a89-bc1c-4f28-bfdc-8445fc124c05","parentUUID":"8a0b77f7-91f0-4ba0-9a3d-e1061c5b4ef2","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":10,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"ca74e88f-c52f-45c6-a584-68a28453ba5e","parentUUID":"8a0b77f7-91f0-4ba0-9a3d-e1061c5b4ef2","isHook":false,"skipped":false}],"suites":[],"passes":["f335d5d0-130b-4510-9432-27f05d481bcc","ca74e88f-c52f-45c6-a584-68a28453ba5e"],"failures":["6ab2f440-f6cb-4e7d-b427-29249a6e1f12","1c825f9f-2cd0-494d-9673-15ed5267fd09","b39b6a89-bc1c-4f28-bfdc-8445fc124c05"],"pending":[],"skipped":[],"duration":27795,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9f3800f1-3565-4eac-8fdf-d23c4d2b9837","title":"","fullFile":"cypress/e2e/seeder/seedo.spec.js","file":"cypress/e2e/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"00ef7139-a30f-442c-8b1b-c638f0866865","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":4622,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"for (let 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at <unknown> (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:130958:76)\n at visitFailedByErr (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:130372:12)\n at <unknown> (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:130941:13)\n at tryCatcher (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:1807:23)\n at Promise._settlePromiseFromHandler (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:1519:31)\n at Promise._settlePromise (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:1576:18)\n at Promise._settlePromise0 (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:1621:10)\n at Promise._settlePromises (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:1697:18)\n at _drainQueueStep (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:2407:12)\n at _drainQueue (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:2400:9)\n at Async._drainQueues (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:2416:5)\n at Async.drainQueues (https://devtest.dev-techloyce.com/__cypress/runner/cypress_runner.js:2286:14)\nFrom Your Spec Code:\n at createCustomers (webpack://sf-test-cases/./cypress/e2e/seeder/seedo.spec.js:13:7)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/seeder/seedo.spec.js:6:12)","diff":null},"uuid":"2d939d37-5aed-4043-91f2-797845b8e5c8","parentUUID":"00ef7139-a30f-442c-8b1b-c638f0866865","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2d939d37-5aed-4043-91f2-797845b8e5c8"],"pending":[],"skipped":[],"duration":4622,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"149d760c-b0f0-4f0b-9aa7-258423093228","title":"","fullFile":"cypress/e2e/seeder/seedo.spec.js","file":"cypress/e2e/seeder/seedo.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d3fe7765-a218-4994-86a1-fe831012c289","title":"Creating multiple customers","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Creating multiple customers","fullTitle":"Creating multiple customers Creating multiple customers","timedOut":null,"duration":5775,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"for (let 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status 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 > 403: Forbidden\n\nThis was considered a failure because the status code was not `2xx`.\n\nThis http request was redirected '3' times to:\n\n - 302: https://subscriptionflow.com/\n - 301: http://www.subscriptionflow.com/\n - 301: https://www.subscriptionflow.com/\n\nIf you do not want status codes to cause failures pass the option: `failOnStatusCode: false`\n at <unknown> (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:130958:76)\n at visitFailedByErr (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:130372:12)\n at <unknown> (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:130941:13)\n at tryCatcher (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:1807:23)\n at Promise._settlePromiseFromHandler (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:1519:31)\n at Promise._settlePromise (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:1576:18)\n at Promise._settlePromise0 (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:1621:10)\n at Promise._settlePromises (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:1697:18)\n at _drainQueueStep (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:2407:12)\n at _drainQueue (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:2400:9)\n at Async._drainQueues (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:2416:5)\n at Async.drainQueues (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:2286:14)\nFrom Your Spec Code:\n at createCustomers (webpack://sf-test-cases/./cypress/e2e/seeder/seedo.spec.js:13:7)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/seeder/seedo.spec.js:6:12)","diff":null},"uuid":"32d3beba-7779-4da9-b219-b8992f6d10c2","parentUUID":"d3fe7765-a218-4994-86a1-fe831012c289","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["32d3beba-7779-4da9-b219-b8992f6d10c2"],"pending":[],"skipped":[],"duration":5775,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"574827aa-ba80-40d7-91ab-134d6c12473b","title":"","fullFile":"cypress/e2e/SF/a-login/1-login-page.js","file":"cypress/e2e/SF/a-login/1-login-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7d6dc233-8150-4342-8957-741ecd679f61","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to devtest.dev-techloyce.com then I should be navigated to the login","fullTitle":"Login Page I go to devtest.dev-techloyce.com then I should be navigated to the login","timedOut":null,"duration":1454,"state":"passed","speed":"fast","pass":true,"fail":false,"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');\n// 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":{},"uuid":"e418d2f2-4301-4fbe-a9e5-0c2e9e2fa09d","parentUUID":"7d6dc233-8150-4342-8957-741ecd679f61","isHook":false,"skipped":false}],"suites":[],"passes":["e418d2f2-4301-4fbe-a9e5-0c2e9e2fa09d"],"failures":[],"pending":[],"skipped":[],"duration":1454,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d622d65e-25ba-4b3d-8d42-00be9ee0feea","title":"","fullFile":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","file":"cypress/e2e/SF/a-login/2-login-using-incorrect-credentials.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"61778af2-143c-4bfb-9e3c-bc1d37691767","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":3442,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"beb69bb4-4764-45a6-8215-470db496337b","parentUUID":"61778af2-143c-4bfb-9e3c-bc1d37691767","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":2757,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"875bfd25-860e-4e11-ae14-63e523a29fd1","parentUUID":"61778af2-143c-4bfb-9e3c-bc1d37691767","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":2885,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"e9185b24-6841-461e-a172-168e8bbabaf2","parentUUID":"61778af2-143c-4bfb-9e3c-bc1d37691767","isHook":false,"skipped":false}],"suites":[],"passes":["beb69bb4-4764-45a6-8215-470db496337b","875bfd25-860e-4e11-ae14-63e523a29fd1","e9185b24-6841-461e-a172-168e8bbabaf2"],"failures":[],"pending":[],"skipped":[],"duration":9084,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"514fdd3b-a6ee-4f7a-bfe7-10c514a7f380","title":"","fullFile":"cypress/e2e/SF/a-login/3-login_spec.js","file":"cypress/e2e/SF/a-login/3-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6509c98f-9da2-44ac-832f-c9413f5d8953","title":"Login to the site","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"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":7686,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.url().should('include', '/dashboard');\ncy.title().should('include', 'Dashboard - SubscriptionFlow');","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/login' to include '/dashboard'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/login' to include '/dashboard'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/a-login/3-login_spec.js:8:13)","diff":null},"uuid":"e47dd990-a4ed-4ebb-ad38-9f8426cab552","parentUUID":"6509c98f-9da2-44ac-832f-c9413f5d8953","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":6980,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.contains('Modern View');\ncy.contains('Classic View');\ncy.contains('RetentionFlow View');\ncy.contains('CollectionFlow View');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Modern View' but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Modern View' but never did.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/a-login/3-login_spec.js:13:7)","diff":null},"uuid":"e06a9d9a-3cd9-4be6-9000-8da9cb6775c4","parentUUID":"6509c98f-9da2-44ac-832f-c9413f5d8953","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e47dd990-a4ed-4ebb-ad38-9f8426cab552","e06a9d9a-3cd9-4be6-9000-8da9cb6775c4"],"pending":[],"skipped":[],"duration":14666,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6e40604b-9f87-44ee-b827-fba09f10a3db","title":"","fullFile":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","file":"cypress/e2e/SF/a-login/4-verify-terms-and-conditions-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c75528f0-2977-43ac-9bfe-41c1763deecd","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":6371,"state":"passed","speed":"medium","pass":true,"fail":false,"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":{},"uuid":"6aa8cf48-143e-461f-a3e9-f2f1750d43eb","parentUUID":"c75528f0-2977-43ac-9bfe-41c1763deecd","isHook":false,"skipped":false}],"suites":[],"passes":["6aa8cf48-143e-461f-a3e9-f2f1750d43eb"],"failures":[],"pending":[],"skipped":[],"duration":6371,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a02e0d7d-1818-41e7-9ae2-638ee8f555db","title":"","fullFile":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","file":"cypress/e2e/SF/a-login/5-verify-privacy-policies-URL-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"be16c8c3-cf2a-4909-9495-1ed02e64217f","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on devtest.dev-techloyce.com","fullTitle":"Verify Privacy Policies URL is functional I am on devtest.dev-techloyce.com","timedOut":null,"duration":4636,"state":"passed","speed":"fast","pass":true,"fail":false,"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":{},"uuid":"377e83af-d381-4614-acc3-b89c458ffceb","parentUUID":"be16c8c3-cf2a-4909-9495-1ed02e64217f","isHook":false,"skipped":false}],"suites":[],"passes":["377e83af-d381-4614-acc3-b89c458ffceb"],"failures":[],"pending":[],"skipped":[],"duration":4636,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"286497aa-8a0e-45c7-846c-c592bc347fa7","title":"","fullFile":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","file":"cypress/e2e/SF/a-login/6-verify-forgot-password-works.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d12138f7-4988-4baf-8dc9-7fcb4403b89d","title":"Verify forgot password link is working ","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Given: I am on the Login page","fullTitle":"Verify forgot password link is working Given: I am on the Login page","timedOut":null,"duration":3033,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('h4').should('contain', 'Reset Password');\ncy.get(\"form\").within(() => {\n cy.get('[name=\"submit\"]').should('include.html', 'Send Reset Link');\n});","err":{"message":"CypressError: `cy.within()` can only be called on a single element. Your subject contained 2 elements. Narrow down your subject to a single element (using `.first()`, for example) before calling `.within()`.\n\nTo run `.within()` over multiple subjects, use `.each()`.\n\n `cy.get('div').each($div => {`\n ` cy.wrap($div).within(() => { ... })`\n `})`\n\nhttps://on.cypress.io/within","estack":"CypressError: `cy.within()` can only be called on a single element. Your subject contained 2 elements. Narrow down your subject to a single element (using `.first()`, for example) before calling `.within()`.\n\nTo run `.within()` over multiple subjects, use `.each()`.\n\n `cy.get('div').each($div => {`\n ` cy.wrap($div).within(() => { ... })`\n `})`\n\nhttps://on.cypress.io/within\n at <unknown> (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:132621:72)\n at __WEBPACK_DEFAULT_EXPORT__ (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:129790:10)\n at Context.within (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:132614:67)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138290:19)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/a-login/6-verify-forgot-password-works.js:6:23)","diff":null},"uuid":"78fa4348-4131-4075-8836-3ee18ba8f6c4","parentUUID":"d12138f7-4988-4baf-8dc9-7fcb4403b89d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["78fa4348-4131-4075-8836-3ee18ba8f6c4"],"pending":[],"skipped":[],"duration":3033,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bd838d2e-959a-446f-8091-d757c5bec172","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","file":"cypress/e2e/SF/b-forgot-password/1-forgot-password-page.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"fdeff3ad-a497-4a5d-9360-28fa209a90bc","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I should be navigated to reset password page when clicking 'Forgot Password'","fullTitle":"Forgot Password Page I should be navigated to reset password page when clicking 'Forgot Password'","timedOut":null,"duration":2740,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"// Visit the login page\ncy.visit('/login');\n// Click on the \"Forgot Password?\" link\ncy.contains('Forgot Password?').click();\n// Assert that elements on the reset password page are visible\ncy.get('#email').should('be.visible');\ncy.get('.btn').should('contain', 'Send Reset Link').and('be.visible');\n// Check if \"Back to Login\" link goes to the correct URL\ncy.contains('Back to Login').should('be.visible').then(login => {\n const href = login.prop('href');\n expect(href).to.eq(`${Cypress.config('baseUrl')}login`);\n});\n// Ensure the URL is correct\ncy.url().should('eq', `${Cypress.config('baseUrl')}password/reset`);","err":{},"uuid":"4d0b3137-9c1a-4154-a2ba-7a13035a9a25","parentUUID":"fdeff3ad-a497-4a5d-9360-28fa209a90bc","isHook":false,"skipped":false}],"suites":[],"passes":["4d0b3137-9c1a-4154-a2ba-7a13035a9a25"],"failures":[],"pending":[],"skipped":[],"duration":2740,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f6ba6dc9-b7d0-452f-87c1-991912a14ddd","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","file":"cypress/e2e/SF/b-forgot-password/2-forgot-password-with-correct-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"991f4582-72e2-4885-b642-e61fb970f322","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":5246,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').click();\ncy.get('#email').type(adminEmail);\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":{},"uuid":"a5d69f22-803d-4df2-8957-9f16e580cdfe","parentUUID":"991f4582-72e2-4885-b642-e61fb970f322","isHook":false,"skipped":false}],"suites":[],"passes":["a5d69f22-803d-4df2-8957-9f16e580cdfe"],"failures":[],"pending":[],"skipped":[],"duration":5246,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d04116c-abd5-406f-9d8e-31bbec9e92a2","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","file":"cypress/e2e/SF/b-forgot-password/3-forgot-password-with-incorrect-email.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b96ccab3-2629-492c-84d8-1f39c08f73e9","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":4894,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.contains('Forgot Password?').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":{},"uuid":"b3e2ba8d-e00d-48f6-97a1-3febff7cacd9","parentUUID":"b96ccab3-2629-492c-84d8-1f39c08f73e9","isHook":false,"skipped":false}],"suites":[],"passes":["b3e2ba8d-e00d-48f6-97a1-3febff7cacd9"],"failures":[],"pending":[],"skipped":[],"duration":4894,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8aede1cb-2fee-457a-bb08-7867c9d74db5","title":"","fullFile":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","file":"cypress/e2e/SF/b-forgot-password/4-verify-that-the-login-URL-on-forgot-password-page-is-functional.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c390ee3e-094f-4f7f-a67d-deb926d7ca72","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":2120,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/password/reset');\ncy.contains('Back to Login').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"73d3b6f9-14aa-4d33-ae9e-3512eb8e9ebb","parentUUID":"c390ee3e-094f-4f7f-a67d-deb926d7ca72","isHook":false,"skipped":false}],"suites":[],"passes":["73d3b6f9-14aa-4d33-ae9e-3512eb8e9ebb"],"failures":[],"pending":[],"skipped":[],"duration":2120,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ed6c6d6e-0084-40d4-ac16-de2959c52b04","title":"","fullFile":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","file":"cypress/e2e/SF/c-dashboard/1-dashboard_view_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d03c305c-f240-4dac-ba90-f97784b048a7","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.visit(\"\");\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"e4f40f6f-c83b-4613-b526-9df449f1891e","parentUUID":"d03c305c-f240-4dac-ba90-f97784b048a7","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('#navbarVerticalCollapse').should('be.visible');","err":{},"uuid":"5ab835f1-bbc9-4c91-8769-178f70a777a2","parentUUID":"d03c305c-f240-4dac-ba90-f97784b048a7","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":0,"state":"pending","speed":null,"pass":false,"fail":false,"pending":true,"context":null,"code":"cy.get('.dashboard-customized-step').contains('Modern View').should('exist');\ncy.get('.d-flex > :last-child > .btn').contains('USD').should('exist');","err":{},"uuid":"8dc6bb54-8a85-413d-ac9c-92fa1ec9d8b4","parentUUID":"d03c305c-f240-4dac-ba90-f97784b048a7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":[],"pending":["e4f40f6f-c83b-4613-b526-9df449f1891e","5ab835f1-bbc9-4c91-8769-178f70a777a2","8dc6bb54-8a85-413d-ac9c-92fa1ec9d8b4"],"skipped":[],"duration":0,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ad1e062c-3145-44c3-b4e3-0a0bae2b5741","title":"","fullFile":"cypress/e2e/p-portal/1-login/1-login_spec.js","file":"cypress/e2e/p-portal/1-login/1-login_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"70785ca0-816e-48b4-9fb4-ff866a1d8acf","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":4248,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{},"uuid":"03e360ce-e693-425d-ac58-d65990d681f9","parentUUID":"70785ca0-816e-48b4-9fb4-ff866a1d8acf","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":4095,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/1-login/1-login_spec.js:7:7)","diff":null},"uuid":"f8cfaad6-bcdd-4c68-afa8-57c620a6ce10","parentUUID":"70785ca0-816e-48b4-9fb4-ff866a1d8acf","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4073,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/1-login/1-login_spec.js:10:7)","diff":null},"uuid":"8a47d33a-0206-43ab-965b-69c3a70a5b2c","parentUUID":"70785ca0-816e-48b4-9fb4-ff866a1d8acf","isHook":false,"skipped":false}],"suites":[],"passes":["03e360ce-e693-425d-ac58-d65990d681f9"],"failures":["f8cfaad6-bcdd-4c68-afa8-57c620a6ce10","8a47d33a-0206-43ab-965b-69c3a70a5b2c"],"pending":[],"skipped":[],"duration":12416,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dbc795b8-60d4-40c9-a484-36aa97b6c9bb","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/1-subscription.spec.js","file":"cypress/e2e/p-portal/2-subscription/1-subscription.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"96a687aa-2efc-44db-8398-9296ccb05b88","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":13645,"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(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(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((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(elm => {\n expect(elm.length).to.eq(1);\n});\ncy.get('.list-group-item').eq(1).then(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);\n ////////here\n cy.get('[data-sfuniqueid*=\"subscription__card-\"]').its('length').then(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(elm => {\n expect(elm).to.eq(totalInv);\n });\n cy.get('.bg-info').first().then(amount => {\n expect(invAmt.text()).to.include(amount.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.sidebar-wrapper .fa-file-invoice-dollar`, but never found it.\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/1-subscription.spec.js:10:11)","diff":null},"uuid":"263d70d2-aa24-4987-a572-7d49853405bf","parentUUID":"96a687aa-2efc-44db-8398-9296ccb05b88","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["263d70d2-aa24-4987-a572-7d49853405bf"],"pending":[],"skipped":[],"duration":13645,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cde837d3-ff4b-4a4b-bd4e-f2d32a5337ff","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js","file":"cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2a10521b-87f9-4fdf-970a-71c9ec16c69d","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":13558,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"var list_top;\nvar inv_price;\nvar user_name;\n//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(top => {\n list_top = top.text();\n});\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);\nlet selected_plan = 0;\nlet updatedSelected_plan = 0;\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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(elm => {\n selected_plan = elm.length;\n});\n//start\ncy.get('.card-title').each((element, index) => {\n if (element.text().includes('Volume')) {\n cy.get('[class=\"card-footer text-center\"] .row .col .lead').eq(index + 1).then(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(elm => {\n updatedSelected_plan = elm.length;\n});\ncy.get('[data-sfuniqueid=\"subscription__plan_row_card\"] .card-body .row').its('length').then(() => {\n expect(updatedSelected_plan).to.not.eq(selected_plan);\n}).then(() => {\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(elm => {\n let normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.gt(totalBefore);\n});\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(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(price2 => {\n expect(inv_price).to.equal(price2.text());\n});\ncy.get('[class=\"navbar-nav head-nav-right\"] [class=\"nav-item\"] p strong').then(name => {\n user_name = name.text();\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/2-subscription-upgrade.spec.js:12:17)","diff":null},"uuid":"c5f6e913-f014-491a-9248-483357d9f1b1","parentUUID":"2a10521b-87f9-4fdf-970a-71c9ec16c69d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c5f6e913-f014-491a-9248-483357d9f1b1"],"pending":[],"skipped":[],"duration":13558,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7cb4c8e2-a7ab-4ee3-9814-f88e410ee80f","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js","file":"cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b4e7f4e1-3b99-437d-bc56-edf9f6b3f411","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":8613,"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);\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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($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(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(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(($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(() => {\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(elm => {\n let 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(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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/3-subscription-downgrade.spec.js:6:17)","diff":null},"uuid":"2d4fc575-7ced-481e-8481-7965a0bc48ef","parentUUID":"b4e7f4e1-3b99-437d-bc56-edf9f6b3f411","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2d4fc575-7ced-481e-8481-7965a0bc48ef"],"pending":[],"skipped":[],"duration":8613,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"09d3a6e9-8cdf-4079-91be-c361c174ded2","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js","file":"cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"44a9cbdc-539d-4428-b8ec-06e534e48ae1","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":13599,"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(elm => {\n expect(elm.text().trim()).to.eq('Resume');\n});\ncy.get('span.ml-2.badge.badge-status-suspended').then(elm => {\n expect(elm.text().trim()).to.eq('Suspended');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/4-subscription-suspend.spec.js:7:54)","diff":null},"uuid":"04394bc3-f32a-4afa-9c38-f2e3eb235de5","parentUUID":"44a9cbdc-539d-4428-b8ec-06e534e48ae1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["04394bc3-f32a-4afa-9c38-f2e3eb235de5"],"pending":[],"skipped":[],"duration":13599,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d1043fb5-a596-482d-aa65-d1d23f6abea1","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js","file":"cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cb794390-142a-476f-83e4-69cdf1b3ea96","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":13627,"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(elm => {\n expect(elm.text().trim()).to.eq('Suspend');\n});\ncy.get('span.ml-2.badge.badge-status-active').then(elm => {\n expect(elm.text().trim()).to.eq('Active');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/5-subscription-resume.spec.js:6:54)","diff":null},"uuid":"ddefd510-b2cf-4654-a883-4658d52094ca","parentUUID":"cb794390-142a-476f-83e4-69cdf1b3ea96","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ddefd510-b2cf-4654-a883-4658d52094ca"],"pending":[],"skipped":[],"duration":13627,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee0bdf3d-b2e2-45cf-b179-b2eea39771f5","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js","file":"cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b94fdfbb-b36d-4e67-9270-044efa0347d5","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":8550,"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(elm => {\n expect(elm.text().trim()).to.eq('Cancelled');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `select.form-control`, but never found it. Queried from:\n\n > cy.get(.container-fluid > .row:first-child)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/6-subscription-cancel.spec.js:5:54)","diff":null},"uuid":"7369fd42-7bae-4f9b-8021-80e4c88a9be6","parentUUID":"b94fdfbb-b36d-4e67-9270-044efa0347d5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7369fd42-7bae-4f9b-8021-80e4c88a9be6"],"pending":[],"skipped":[],"duration":8550,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cf589fac-b23d-4864-84de-f74efa03db00","title":"","fullFile":"cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js","file":"cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"963156fb-d493-4a5b-80c3-ef3801812411","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":8560,"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);\nlet totalBefore = 0;\nlet totalAfter = 0;\ncy.get('[data-sfuniqueid=\"subscription__card-0\"]').then(elm => {\n let 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(($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');\n// 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(() => {\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(elm => {\n let normalVal = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalAfter = +normalVal;\n expect(totalAfter).to.not.eq(totalBefore);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/subscriptions'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/2-subscription/7-subscription-change-plan.spec.js:6:25)","diff":null},"uuid":"ea18a58b-a861-4812-8680-d99739c2233b","parentUUID":"963156fb-d493-4a5b-80c3-ef3801812411","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ea18a58b-a861-4812-8680-d99739c2233b"],"pending":[],"skipped":[],"duration":8560,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"474b2d99-639e-4ef0-92c6-5ef7ed74da69","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js","file":"cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","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":11628,"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($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(spans => {\n expect(spans.text()).to.eq('Due');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:7:17)","diff":null},"uuid":"81bc7b98-ac39-4e2d-b475-f6500b1b9cd5","parentUUID":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":10561,"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($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(spans => {\n expect(spans.text()).to.eq('Overdue');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:25:17)","diff":null},"uuid":"df28e983-82f3-4e50-bf11-ca0664e145c6","parentUUID":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":10555,"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($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(spans => {\n expect(spans.text()).to.eq('Partially Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:44:17)","diff":null},"uuid":"1dd88936-f15c-44dc-8d7f-cb651388a8bf","parentUUID":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":10616,"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($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(spans => {\n expect(spans.text()).to.eq('Paid');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:63:17)","diff":null},"uuid":"b6f1255d-62f0-48be-bdf7-037346bef62c","parentUUID":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":10671,"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($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(spans => {\n expect(spans.text()).to.eq('Bounced');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:82:17)","diff":null},"uuid":"cec8b580-5a68-46fb-aaea-671f5f868821","parentUUID":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":10682,"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($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(spans => {\n expect(spans.text()).to.eq('Void');\n });\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/0.1-invoices.spec.js:101:17)","diff":null},"uuid":"3dd97561-5956-4b86-be2d-97d51b4b327e","parentUUID":"dff51b10-61dd-486c-9e2e-a43ea2d7261f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["81bc7b98-ac39-4e2d-b475-f6500b1b9cd5","df28e983-82f3-4e50-bf11-ca0664e145c6","1dd88936-f15c-44dc-8d7f-cb651388a8bf","b6f1255d-62f0-48be-bdf7-037346bef62c","cec8b580-5a68-46fb-aaea-671f5f868821","3dd97561-5956-4b86-be2d-97d51b4b327e"],"pending":[],"skipped":[],"duration":64713,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"29414dec-d61a-42d0-a701-4261473406a0","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js","file":"cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"192c76a7-f2ba-4747-926c-dcbed3e648d1","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":2015,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:8:11)","diff":null},"uuid":"ef770e3a-f443-45a4-8000-afffa8f266d7","parentUUID":"192c76a7-f2ba-4747-926c-dcbed3e648d1","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":12574,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:143:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/01-invoice-make-payment.spec.js:71:8)","diff":null},"uuid":"0a9077a5-7551-4e54-8466-c917208eeeff","parentUUID":"192c76a7-f2ba-4747-926c-dcbed3e648d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ef770e3a-f443-45a4-8000-afffa8f266d7","0a9077a5-7551-4e54-8466-c917208eeeff"],"pending":[],"skipped":[],"duration":14589,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"601fa7b2-ba00-4b2b-abb0-ec5a9ab878ee","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","file":"cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3fdd6b86-e0d2-448b-80a2-ca847181c2ea","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":2037,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:8:11)","diff":null},"uuid":"43444126-2fb6-4690-996b-4df11784da7a","parentUUID":"3fdd6b86-e0d2-448b-80a2-ca847181c2ea","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":12553,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:144:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:66:8)","diff":null},"uuid":"9e24e241-8ed2-48c6-840f-3b29db3d2e7c","parentUUID":"3fdd6b86-e0d2-448b-80a2-ca847181c2ea","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10593,"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);\n// Checking if second child \"row\" is found\ncy.get('[class=\"content\"] [class=\"container-fluid\"]').then(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(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(element => {\n if (element.find('.row').eq(1).length > 0) {\n cy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(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(spans => {\n expect(spans.text()).to.eq('Partially Paid');\n });\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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/02-invoice-make-payment-with-credit-card-using-stripe.spec.js:74:17)","diff":null},"uuid":"3282a386-6442-4daf-9d71-17e1681fd7b8","parentUUID":"3fdd6b86-e0d2-448b-80a2-ca847181c2ea","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["43444126-2fb6-4690-996b-4df11784da7a","9e24e241-8ed2-48c6-840f-3b29db3d2e7c","3282a386-6442-4daf-9d71-17e1681fd7b8"],"pending":[],"skipped":[],"duration":25183,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9dfc65e9-a11e-4b1d-b7d8-8a98bc6c0882","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","file":"cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6417a121-f09b-435c-855b-48657a781ce9","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":11608,"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(() => {\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(elm => {\n let 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(elm => {\n totalInvoiceAmount = parseInt(elm.text().replace(/[$,]+/g, \"\"));\n});\ncy.get('.container-fluid .row:nth-child(3) .subscription-item-container').its('length').then(() => {\n setUnappliedAmount(totalInvoiceAmount);\n payInvoice(totalInvoiceAmount);\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/03-invoice-make-payment-using-unapplied-amount.spec.js:9:17)","diff":null},"uuid":"271e64d7-bd44-4764-927a-4c4ff6f73af7","parentUUID":"6417a121-f09b-435c-855b-48657a781ce9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["271e64d7-bd44-4764-927a-4c4ff6f73af7"],"pending":[],"skipped":[],"duration":11608,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7178daf6-1e02-40ff-b765-633aaab6defa","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","file":"cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ec6c6dfa-fd33-4022-9ba9-5a3663394290","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":2027,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n//Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:8:11)","diff":null},"uuid":"b033341d-7776-41a6-b128-f3245d761c51","parentUUID":"ec6c6dfa-fd33-4022-9ba9-5a3663394290","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":12818,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:110:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:70:8)","diff":null},"uuid":"d3b717a2-4e1b-4f2e-8413-d95ac4a37a52","parentUUID":"ec6c6dfa-fd33-4022-9ba9-5a3663394290","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10576,"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(() => {\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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/04-invoice-make-payment-with-credit-card-using-authorize.net.spec.js:78:17)","diff":null},"uuid":"927a9dfd-e75d-4f22-945d-8e452df537e6","parentUUID":"ec6c6dfa-fd33-4022-9ba9-5a3663394290","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b033341d-7776-41a6-b128-f3245d761c51","d3b717a2-4e1b-4f2e-8413-d95ac4a37a52","927a9dfd-e75d-4f22-945d-8e452df537e6"],"pending":[],"skipped":[],"duration":25421,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c84a0dd5-701c-4ac1-88b9-6666d59d931a","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","file":"cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e1c338bf-9de1-43a2-9ce7-079825f7c530","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":2024,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:8:11)","diff":null},"uuid":"d484f6fd-5763-4403-9e38-185bbe18c9dd","parentUUID":"e1c338bf-9de1-43a2-9ce7-079825f7c530","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":12600,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:120:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:63:8)","diff":null},"uuid":"daa7cbdd-699f-48a1-9da6-88cacaf793d1","parentUUID":"e1c338bf-9de1-43a2-9ce7-079825f7c530","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10603,"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(() => {\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(status => {\n cy.log('text status: ' + status.text());\n cy.get('.basic-information .table tbody tr').eq(6).then(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(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(elm => {\n expect(elm.text()).to.eq(\"Paid\");\n });\n }\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/05-invoice-make-payment-with-ACH-using-authorize.net.spec.js:71:17)","diff":null},"uuid":"f36862c4-b3dd-42dd-9887-1321b88833b4","parentUUID":"e1c338bf-9de1-43a2-9ce7-079825f7c530","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d484f6fd-5763-4403-9e38-185bbe18c9dd","daa7cbdd-699f-48a1-9da6-88cacaf793d1","f36862c4-b3dd-42dd-9887-1321b88833b4"],"pending":[],"skipped":[],"duration":25227,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7be34daa-f033-49a0-b243-42815abef3bb","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","file":"cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f0a3f4c9-baeb-4830-a5d6-e16984be6676","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":2006,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:8:11)","diff":null},"uuid":"bd1ba30e-17d5-4645-b138-784bc181390a","parentUUID":"f0a3f4c9-baeb-4830-a5d6-e16984be6676","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":14691,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:160:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:70:8)","diff":null},"uuid":"08a266ef-edd5-459b-9c78-da9adc46decb","parentUUID":"f0a3f4c9-baeb-4830-a5d6-e16984be6676","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10601,"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(() => {\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(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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);\n // 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((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(element => {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n var y;\n cy.get('#relatedList-bulk-action-Invoice_Customer th').each((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n y = 'dataTable__table-td-' + index;\n cy.get(y).first().then(element => {\n expect(element.text()).to.eq('Paid');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/06-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:78:17)","diff":null},"uuid":"54faa389-e97f-4501-af87-eca626495da8","parentUUID":"f0a3f4c9-baeb-4830-a5d6-e16984be6676","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bd1ba30e-17d5-4645-b138-784bc181390a","08a266ef-edd5-459b-9c78-da9adc46decb","54faa389-e97f-4501-af87-eca626495da8"],"pending":[],"skipped":[],"duration":27298,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f6f8878-16a8-47e0-8a82-cf4448d9371e","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","file":"cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5df1bf79-3b8a-400a-924f-516dbaa0d001","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":2016,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\n cy.wait(8000);\n cy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:8:11)","diff":null},"uuid":"3f4219f0-d32a-4195-9988-b3662f0c37ab","parentUUID":"5df1bf79-3b8a-400a-924f-516dbaa0d001","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":12641,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:131:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:70:8)","diff":null},"uuid":"36e22d5b-99f7-4907-a679-2f723ad69980","parentUUID":"5df1bf79-3b8a-400a-924f-516dbaa0d001","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":10604,"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(() => {\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(() => {\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((heading, index) => {\n if (heading.text().includes('dataTable__table-th-status')) {\n x = 'dataTable__table-td-' + index;\n cy.get(x).first().then(element => {\n expect(element.text()).to.eq('Declined');\n });\n }\n });\n}","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/invoices'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/07-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:78:17)","diff":null},"uuid":"a8fa4dfe-ec82-4aa3-92c9-9166c4e18c97","parentUUID":"5df1bf79-3b8a-400a-924f-516dbaa0d001","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3f4219f0-d32a-4195-9988-b3662f0c37ab","36e22d5b-99f7-4907-a679-2f723ad69980","a8fa4dfe-ec82-4aa3-92c9-9166c4e18c97"],"pending":[],"skipped":[],"duration":25261,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b146dee7-345c-4f4b-b5e0-1b2d78f3ce8e","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","file":"cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"33aeb1d5-a556-4947-a50c-bad7b4cc6001","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":2009,"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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at createOrder (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:80:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/08-allocate-credits-using-portal.spec.js:8:8)","diff":null},"uuid":"c9777efa-7ce1-4f68-ae9c-f0fe161e109a","parentUUID":"33aeb1d5-a556-4947-a50c-bad7b4cc6001","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c9777efa-7ce1-4f68-ae9c-f0fe161e109a"],"pending":[],"skipped":[],"duration":2009,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8a08f41-ad0f-47a4-bdfa-33c405b1c417","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"8a2d39ad-6645-410c-b641-b624ff97af7e","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":2020,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:63:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/09-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"f45e9dd2-19c3-4fb5-a9de-63cf3a8653e1","parentUUID":"8a2d39ad-6645-410c-b641-b624ff97af7e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f45e9dd2-19c3-4fb5-a9de-63cf3a8653e1"],"pending":[],"skipped":[],"duration":2020,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2cb84236-938f-48d4-aebf-9edf46ed6a9b","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"0343dbb0-c547-4aca-89df-30ad819e81cb","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":2072,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:64:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/10-Allocate_credits_when_allocated_amount_is_greater_than_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"31acbd16-117a-42cd-8fed-c59c25efc58c","parentUUID":"0343dbb0-c547-4aca-89df-30ad819e81cb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["31acbd16-117a-42cd-8fed-c59c25efc58c"],"pending":[],"skipped":[],"duration":2072,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1be847d1-c016-4ac7-9a73-b294fd14959c","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/e2e/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":"69939809-9ffb-4c28-9f68-62aa25a5a60e","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":2024,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:61:7)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/11-Allocate_credits_when_allocated_amount_is_equal_to_credit_note_balance_using_PortalFlow.spec.js:8:8)","diff":null},"uuid":"c9d1e673-8cf7-4d82-ab08-0b3c3ea59b99","parentUUID":"69939809-9ffb-4c28-9f68-62aa25a5a60e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c9d1e673-8cf7-4d82-ab08-0b3c3ea59b99"],"pending":[],"skipped":[],"duration":2024,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"68d956f0-8bb7-4720-8bea-968dbfaed50e","title":"","fullFile":"cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","file":"cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b84da301-77af-4d82-bc47-53d87cca476c","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":2017,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"allocateCredits();","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at allocateCredits (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:61:11)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/3-invoice/12-credit-notes-using-portal.spec.js:8:8)","diff":null},"uuid":"c8b44bc4-722c-43b6-8706-7e4fb6eaaadf","parentUUID":"b84da301-77af-4d82-bc47-53d87cca476c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c8b44bc4-722c-43b6-8706-7e4fb6eaaadf"],"pending":[],"skipped":[],"duration":2017,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f5e2d0fe-af2a-47dd-a3cc-2082dfd34f1a","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"8cbdad89-61fc-4193-8247-a44088dfff42","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":2019,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:8:11)","diff":null},"uuid":"70d89783-bf2b-4970-9850-a0157fbdf17f","parentUUID":"8cbdad89-61fc-4193-8247-a44088dfff42","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":12602,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:99:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:70:8)","diff":null},"uuid":"3651eacd-8400-40e0-8934-454f2916d6ec","parentUUID":"8cbdad89-61fc-4193-8247-a44088dfff42","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":1450,"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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/1-add-payment-method-for-ACH-using-stripe.spec.js:74:11)","diff":null},"uuid":"77eff58a-1b7f-452d-bacb-03561294c968","parentUUID":"8cbdad89-61fc-4193-8247-a44088dfff42","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["70d89783-bf2b-4970-9850-a0157fbdf17f","3651eacd-8400-40e0-8934-454f2916d6ec","77eff58a-1b7f-452d-bacb-03561294c968"],"pending":[],"skipped":[],"duration":16071,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3bd51b4e-f563-473e-858c-6ebd8eb5fd97","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aaefd1ce-db5b-4d0b-87d4-afa16e533934","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":2015,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:13:11)","diff":null},"uuid":"2f9205ab-a4c2-41a8-a3e2-0ad94629ebcb","parentUUID":"aaefd1ce-db5b-4d0b-87d4-afa16e533934","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":12615,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:84:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/2-Add_payment_method_for_valid_credit_card_using_Stripe_PortalFlow.spec.js:74:8)","diff":null},"uuid":"5940e7a8-73a6-4909-8d49-38c7bce9e09c","parentUUID":"aaefd1ce-db5b-4d0b-87d4-afa16e533934","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2f9205ab-a4c2-41a8-a3e2-0ad94629ebcb","5940e7a8-73a6-4909-8d49-38c7bce9e09c"],"pending":[],"skipped":[],"duration":14630,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3c6f0c2f-7b4a-493b-9381-3e3c58fd32c4","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c1546fbc-96e1-45d4-953a-1280fe1bbfe8","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":2011,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:9:11)","diff":null},"uuid":"0fff1c1b-56d5-4de4-b1d4-54e28a3fea80","parentUUID":"c1546fbc-96e1-45d4-953a-1280fe1bbfe8","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":12569,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:89:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/3-Add_payment_method_for_stolen_credit_card_using_Stripe_PortalFlow.spec.js:79:8)","diff":null},"uuid":"fd351778-bdf2-48cf-a94c-fc5b4ef16967","parentUUID":"c1546fbc-96e1-45d4-953a-1280fe1bbfe8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0fff1c1b-56d5-4de4-b1d4-54e28a3fea80","fd351778-bdf2-48cf-a94c-fc5b4ef16967"],"pending":[],"skipped":[],"duration":14580,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"196cf407-f254-4f7c-89a9-5d26dc46d91c","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ef1fdb93-9314-447d-98e9-b85e56df23b5","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":2021,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:8:11)","diff":null},"uuid":"6140c021-eb36-46c6-a78a-3b3cbae0bd06","parentUUID":"ef1fdb93-9314-447d-98e9-b85e56df23b5","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":12569,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:79:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/4-Add_payment_method_for_credit_card_using_Authorize.Net_PortalFlow.spec.js:69:8)","diff":null},"uuid":"fa5f975d-8f59-44a6-958d-09b5724b6c6d","parentUUID":"ef1fdb93-9314-447d-98e9-b85e56df23b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6140c021-eb36-46c6-a78a-3b3cbae0bd06","fa5f975d-8f59-44a6-958d-09b5724b6c6d"],"pending":[],"skipped":[],"duration":14590,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9cdeb28b-0e74-4c32-b7f0-8d2cc8fe7700","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"09461fcc-5d7d-4b4f-8ec8-91d70514a590","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":2004,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:8:11)","diff":null},"uuid":"e137f97f-f78d-4780-a3ef-eb7e858285c3","parentUUID":"09461fcc-5d7d-4b4f-8ec8-91d70514a590","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":12592,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:78:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/5-Add_payment_method_for_ACH_using_Authorize.Net_PortalFlow.spec.js:68:8)","diff":null},"uuid":"74650267-5268-4344-a715-c48a56d65559","parentUUID":"09461fcc-5d7d-4b4f-8ec8-91d70514a590","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e137f97f-f78d-4780-a3ef-eb7e858285c3","74650267-5268-4344-a715-c48a56d65559"],"pending":[],"skipped":[],"duration":14596,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b6c84d65-646e-4090-9ac2-e686465a8316","title":"","fullFile":"cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","file":"cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"177d27e1-4a22-4d3b-80fe-c24d788afef4","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":2025,"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(image => {\n cy.get('.row img').its('length').then(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(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);\n// Delete payment methods\ncy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('#basic_search').type('Andy Barymore', {\n force: true\n}).then(() => {\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(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:8:11)","diff":null},"uuid":"bad03909-6d08-46e0-a4f3-bf2b2a2fa9aa","parentUUID":"177d27e1-4a22-4d3b-80fe-c24d788afef4","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":12581,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/payment-methods'\n at addPaymentMethod (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:80:13)\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/4-payment-methods/6-Add_payment_method_for_Paypal_express_checkout_PortalFlow.spec.js:70:8)","diff":null},"uuid":"fadd5cb0-6629-4591-9a87-1e62c7637a71","parentUUID":"177d27e1-4a22-4d3b-80fe-c24d788afef4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bad03909-6d08-46e0-a4f3-bf2b2a2fa9aa","fadd5cb0-6629-4591-9a87-1e62c7637a71"],"pending":[],"skipped":[],"duration":14606,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b1806df6-2d35-4c5d-a4a5-6e82bd73bb1b","title":"","fullFile":"cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js","file":"cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"e85a415f-d950-4e35-a85e-ba5f62188ba5","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":11599,"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(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(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(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(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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:7:17)","diff":null},"uuid":"af4ffc8a-df56-44da-b718-e26d8ce0d6ad","parentUUID":"e85a415f-d950-4e35-a85e-ba5f62188ba5","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":4109,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:38:11)","diff":null},"uuid":"011493ca-3701-4e59-a8df-f9ed25a8161d","parentUUID":"e85a415f-d950-4e35-a85e-ba5f62188ba5","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":2797,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test12312');","err":{},"uuid":"93384214-ca7d-46a0-a59a-a46518cb2ccf","parentUUID":"e85a415f-d950-4e35-a85e-ba5f62188ba5","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":10587,"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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/1-profile-update-password.spec.js:50:17)","diff":null},"uuid":"360a8226-cd05-4dcf-a7b0-44d97627e273","parentUUID":"e85a415f-d950-4e35-a85e-ba5f62188ba5","isHook":false,"skipped":false}],"suites":[],"passes":["93384214-ca7d-46a0-a59a-a46518cb2ccf"],"failures":["af4ffc8a-df56-44da-b718-e26d8ce0d6ad","011493ca-3701-4e59-a8df-f9ed25a8161d","360a8226-cd05-4dcf-a7b0-44d97627e273"],"pending":[],"skipped":[],"duration":29092,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"052219df-c76d-40c1-8880-f7af5e98c02e","title":"","fullFile":"cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js","file":"cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f05349f6-b77c-40a7-8367-43282c4edd91","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":11646,"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":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'","estack":"AssertionError: Timed out retrying after 4000ms: expected 'http://hassaan.sflocal.test/portal/login' to include '/portal/profile'\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/p-portal/5-profile/2-edit-profile.spec.js:7:17)","diff":null},"uuid":"c06d15d6-3b9a-479e-96ad-61a37165dd61","parentUUID":"f05349f6-b77c-40a7-8367-43282c4edd91","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c06d15d6-3b9a-479e-96ad-61a37165dd61"],"pending":[],"skipped":[],"duration":11646,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1abadc93-e10f-480c-b9a8-dc477b637c4f","title":"","fullFile":"cypress/e2e/p-portal/8-logout/1-logout_spec.js","file":"cypress/e2e/p-portal/8-logout/1-logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c7e47af2-12c6-4058-b5d4-360de63cffcd","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":3925,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test1234');","err":{},"uuid":"7ccef6f8-2a94-4fe7-b71d-d6feb8fb918f","parentUUID":"c7e47af2-12c6-4058-b5d4-360de63cffcd","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":4115,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:7:7)","diff":null},"uuid":"694c1e44-816e-4a51-8b29-078d215052c1","parentUUID":"c7e47af2-12c6-4058-b5d4-360de63cffcd","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":4072,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:10:7)","diff":null},"uuid":"415912a6-1c58-4e03-94eb-f22bfa152a69","parentUUID":"c7e47af2-12c6-4058-b5d4-360de63cffcd","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":4067,"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 (webpack://sf-test-cases/./cypress/e2e/p-portal/8-logout/1-logout_spec.js:14:7)","diff":null},"uuid":"bcebdee9-3fc2-4496-b53c-a5e2a15312ef","parentUUID":"c7e47af2-12c6-4058-b5d4-360de63cffcd","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":14,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"63376d3b-1798-4e8a-9609-9d4528e6985f","parentUUID":"c7e47af2-12c6-4058-b5d4-360de63cffcd","isHook":false,"skipped":false}],"suites":[],"passes":["7ccef6f8-2a94-4fe7-b71d-d6feb8fb918f","63376d3b-1798-4e8a-9609-9d4528e6985f"],"failures":["694c1e44-816e-4a51-8b29-078d215052c1","415912a6-1c58-4e03-94eb-f22bfa152a69","bcebdee9-3fc2-4496-b53c-a5e2a15312ef"],"pending":[],"skipped":[],"duration":16193,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9b995f42-c353-43d3-a6ae-df00f39013ab","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"3a801eec-2292-4bba-94ef-ff3407b1a6c6","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":2061,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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 //////////////////////////////\n makePayment();\n cy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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 /////////////////////////////////////////////////////\n var k = 0;\n var i;\n cy.get('#relatedList-bulk-action-Transaction_Invoice thead th').each(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/01Make_Payment_Cash.spec.js:4:11)","diff":null},"uuid":"30e05797-20e7-49be-a4a0-cf1ed0b5f2d9","parentUUID":"3a801eec-2292-4bba-94ef-ff3407b1a6c6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30e05797-20e7-49be-a4a0-cf1ed0b5f2d9"],"pending":[],"skipped":[],"duration":2061,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4dcc74a5-7131-49e3-9346-1ba7406fb56c","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"0a9223c9-6d10-44fd-a170-841b228fa1fb","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":2081,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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 //////////////////////////////\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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/02Make_Payment_Writeoff.spec.js:4:11)","diff":null},"uuid":"e347aad6-29ef-467c-bc67-e4c30a2b88cd","parentUUID":"0a9223c9-6d10-44fd-a170-841b228fa1fb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e347aad6-29ef-467c-bc67-e4c30a2b88cd"],"pending":[],"skipped":[],"duration":2081,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f2bfad0d-a46e-4996-87a6-aea09a9e5968","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f0d503de-f7a6-460b-a18a-89b93e34e997","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":2037,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/03Make_Payment_BankTransfer.spec.js:4:11)","diff":null},"uuid":"a6738875-c028-4b0a-96a4-9ab17051865e","parentUUID":"f0d503de-f7a6-460b-a18a-89b93e34e997","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a6738875-c028-4b0a-96a4-9ab17051865e"],"pending":[],"skipped":[],"duration":2037,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"84ddfe44-a4f8-4936-ba87-db7511ad6305","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aa59bcdc-8e6e-4afb-91ba-0a8f556bc4bf","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":2033,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/04Make_Payment_Cheque_Status_Paid.spec.js:4:11)","diff":null},"uuid":"2806c3a6-fa68-40c3-bb21-fe0a7ff30413","parentUUID":"aa59bcdc-8e6e-4afb-91ba-0a8f556bc4bf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2806c3a6-fa68-40c3-bb21-fe0a7ff30413"],"pending":[],"skipped":[],"duration":2033,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d11f3a67-f9ef-4690-b97a-393c7bd64f72","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"943ed9a3-0cea-47cd-9eb7-d5239b981300","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":2054,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js:4:11)","diff":null},"uuid":"5ab7e308-5218-4327-b4f3-c8f02538a60f","parentUUID":"943ed9a3-0cea-47cd-9eb7-d5239b981300","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5ab7e308-5218-4327-b4f3-c8f02538a60f"],"pending":[],"skipped":[],"duration":2054,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee7b5442-081b-4512-9235-fca1249acca1","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"cf867128-1eb5-455d-baa6-05dde1aaf328","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":2064,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js:4:11)","diff":null},"uuid":"1a103beb-b147-4aab-b053-d8d829d965f3","parentUUID":"cf867128-1eb5-455d-baa6-05dde1aaf328","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1a103beb-b147-4aab-b053-d8d829d965f3"],"pending":[],"skipped":[],"duration":2064,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ba2f88a-8af3-4bdb-b985-c0fc31780c3d","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d531b721-acea-4368-bcc7-d37158657b96","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":2047,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/07Make_Payment_Wire_Status_Paid.spec.js:4:11)","diff":null},"uuid":"4faf2eaa-1ad0-41bd-a95d-187613b84f40","parentUUID":"d531b721-acea-4368-bcc7-d37158657b96","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4faf2eaa-1ad0-41bd-a95d-187613b84f40"],"pending":[],"skipped":[],"duration":2047,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"99bca5c1-0242-4cad-a15d-49ff0ab06da2","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9ed30ebe-c7e4-4bdc-ac05-55e14f55fed3","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":2046,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js:4:11)","diff":null},"uuid":"da3f16fd-07c8-4269-87a1-4010afd0ef9f","parentUUID":"9ed30ebe-c7e4-4bdc-ac05-55e14f55fed3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["da3f16fd-07c8-4269-87a1-4010afd0ef9f"],"pending":[],"skipped":[],"duration":2046,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f75f8164-80e7-4a7f-b6be-10bcdfd16a50","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"db34fa9f-184a-4f82-b00c-d6917e4cc0dd","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":2038,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount').then(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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js:4:11)","diff":null},"uuid":"908a9cbc-9198-49d5-90a0-0bd258f26151","parentUUID":"db34fa9f-184a-4f82-b00c-d6917e4cc0dd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["908a9cbc-9198-49d5-90a0-0bd258f26151"],"pending":[],"skipped":[],"duration":2038,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7c1b183e-5244-46e6-87e5-6e0bb2ae07e5","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c44590c4-60b2-4341-b1cd-9403964cf8ed","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":2028,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/10Make_Payment_Card.spec.js:4:11)","diff":null},"uuid":"8497b3e6-db0d-4d7b-896a-347b7acdb163","parentUUID":"c44590c4-60b2-4341-b1cd-9403964cf8ed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8497b3e6-db0d-4d7b-896a-347b7acdb163"],"pending":[],"skipped":[],"duration":2028,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"82a85749-47bc-4ad1-acf0-6cb79b0ec693","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"9598a5c0-4fee-43ae-bafb-93f1b61a6eea","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":2034,"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(() => {\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(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(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(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(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(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(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(() => {\n cy.get('#relatedList-bulk-action-Transaction_Invoice tbody td' + i).then(stat => {\n expect(stat.text()).to.include('Paid');\n });\n });\n }\n});","err":{"message":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/11Make_Payment_eCheck.spec.js:4:11)","diff":null},"uuid":"0962e46b-670d-4a00-af71-3708f5331907","parentUUID":"9598a5c0-4fee-43ae-bafb-93f1b61a6eea","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0962e46b-670d-4a00-af71-3708f5331907"],"pending":[],"skipped":[],"duration":2034,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2a6b53f3-b7b1-48de-a17d-430f30be303a","title":"","fullFile":"cypress/e2e/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js","file":"cypress/e2e/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5e83db28-9bb3-402d-b3e0-f281753b0497","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":2030,"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(() => {\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(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(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(() => {\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: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second","estack":"CypressError: Oops, it looks like you are trying to call a child command before running a parent command.\n\nYou wrote code that looks like this:\n\n``cy.check()``\n\nA child command must be chained after a parent because it operates on a previous subject.\n\nFor example - if we were issuing the child command `click`...\n\ncy\n .get('button') // parent command must come first\n .click() // then child command comes second\n at $Cy.validateFirstCall (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138712:60)\n at wrapped (http://hassaan.sflocal.test/__cypress/runner/cypress_runner.js:138287:14)\nFrom Your Spec Code:\n at Context.eval (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Make Payment/12Make_Payment_PayPal.spec.js:4:11)","diff":null},"uuid":"df351338-22aa-4db5-bbf3-1ec459f63065","parentUUID":"5e83db28-9bb3-402d-b3e0-f281753b0497","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["df351338-22aa-4db5-bbf3-1ec459f63065"],"pending":[],"skipped":[],"duration":2030,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"17209cad-31ad-43aa-91cc-ef7126ea0204","title":"","fullFile":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"4475b9da-1912-48c4-b92b-751b59f6cb0b","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":9446,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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(1000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.wait(2000);\ncy.visit('en/invoices');\ncy.wait(10000);\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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(5000);\ncy.get('.table-filters-views .btn-group button span[data-title=\"Toggle Filter Sidebar\"]').click({\n force: true\n});\ncy.get('[for=\"filter_check[status]\"]').click({\n force: true\n});\nvar i = -1;\nvar j;\ncy.get('#listViewTableEl thead th').each(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.url().then(myUrl => {\n cy.get('[href=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction').then(element => {\n if (!element.text().includes('No Records Found')) {\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').then(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=\"#pill-tab-transaction\"]').contains(' Transactions ').click({\n force: true\n });\n cy.get('#related-table-transaction .recordsCount small').eq(0).then(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('.badge badge-soft-success').first().then(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 (webpack://sf-test-cases/./cypress/e2e/SF/j-invoices/Public Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:9:11)","diff":null},"uuid":"77715198-a649-4a42-936e-2d31e1dc59d8","parentUUID":"4475b9da-1912-48c4-b92b-751b59f6cb0b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["77715198-a649-4a42-936e-2d31e1dc59d8"],"pending":[],"skipped":[],"duration":9446,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b4098a57-14bf-4ea7-a586-d6aa1e415a8f","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"18b79826-263e-4e91-89cc-c91405727d33","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":7616,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(2000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:8:11)","diff":null},"uuid":"57a0104d-ce74-41e3-bcc0-a509cb4967a2","parentUUID":"18b79826-263e-4e91-89cc-c91405727d33","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["57a0104d-ce74-41e3-bcc0-a509cb4967a2"],"pending":[],"skipped":[],"duration":7616,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"acb913b2-dcc5-46b9-acd2-5a57a26f0e27","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"7f08ca4c-ad2c-43b0-9f58-919f938b2f9c","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":7619,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:8:11)","diff":null},"uuid":"709cf6f5-0b10-47c3-ad42-c259b8065009","parentUUID":"7f08ca4c-ad2c-43b0-9f58-919f938b2f9c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["709cf6f5-0b10-47c3-ad42-c259b8065009"],"pending":[],"skipped":[],"duration":7619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cbb3fc2e-2431-40d0-819e-a7e5ef177413","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"650a6593-da6a-4176-8837-c0dd65c33ad8","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":7619,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(trial => {\n if (!trial.is(':checked')) {\n cy.get(trial).click({\n force: true\n });\n cy.wait(1000);\n cy.get('button').contains('Save Configuration').click({\n force: true\n });\n }\n});\ncy.visit('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:8:11)","diff":null},"uuid":"8d6267a7-3b17-492c-95fa-822a0a1db1d2","parentUUID":"650a6593-da6a-4176-8837-c0dd65c33ad8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8d6267a7-3b17-492c-95fa-822a0a1db1d2"],"pending":[],"skipped":[],"duration":7619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9cc4dfd5-7aae-4d5c-9210-1388d0aeba76","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"c90c26d8-1cae-4128-a8a6-d959e4938032","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":7631,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\n// cy.wait(10000)\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:8:11)","diff":null},"uuid":"ca951e85-ef93-4b74-8a89-3370a497dea1","parentUUID":"c90c26d8-1cae-4128-a8a6-d959e4938032","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca951e85-ef93-4b74-8a89-3370a497dea1"],"pending":[],"skipped":[],"duration":7631,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"02179b69-17b9-418e-a624-5bd648ab74c9","title":"","fullFile":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"aecbb582-ac4d-4674-8518-8a5a940acd0b","title":"Hosted Payment Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Hosted Payment Page using Credit Card with Stripe 3D Secure","fullTitle":"Hosted Payment Page Hosted Payment Page using Credit Card with Stripe 3D Secure","timedOut":null,"duration":7633,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payments/currencies\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('.fs--1.table.currencyTable.table-hover.table-sm.theme-revamp-table.verticaly-middle--td.settings-currency--table tbody tr').each(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.go('back');\ncy.get('#customization-settings-section .card-body a[href*=\"/apps/paymentsflow/hosted-pages\"]').contains('Web Checkout').click({\n force: true\n});\ncy.get(\".header a\").contains('Plan Settings').should(\"be.visible\").click();\ncy.get('#sc_subscription_type_termed').check();\ncy.contains('h3 a', 'Advance Settings').click();\ncy.wait(4000);\ncy.get('#existing_config_wrapper h4').contains('Existing applied configurations:').parent().next().find('tbody tr').each(($row, index, $rows) => {\n // Check if the row contains a <td> element with a <strong> tag\n const $tdWithStrong = $row.find('td strong');\n if ($tdWithStrong.length > 0) {\n // Click on the \"Edit\" button within the row\n cy.wrap($row).find('button[title=\"Edit\"]').click();\n }\n});\ncy.wait(1000);\ncy.get('#sc_termed_is_enabled_trial').then(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('/');\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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.visit('/products');\n// cy.wait(10000)\ncy.get('.d-flex > .actions-dropdown > .btn-group > .btn').contains('More').click({\n force: true\n}).then(() => {\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});\nvar p = 0;\nvar y;\ncy.get('.table-filters-views #search-form .search_form_container ul li label').each(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(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(element => {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#pill-tab-plan\"]').contains(' Plan').click({\n force: true\n});\ncy.get('#Plan-subpanel').then(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 cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12.text-right').contains('Save').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add onetime charge').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('#charge_model_select option').eq(1).then(option => {\n cy.get('#charge_model_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 cy.wait(1000);\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 (webpack://sf-test-cases/./cypress/e2e/SF/e-product/HPP/Hpp-Gift-Plan/15HPP_CreditCard_Stripe_3DSecure.spec.js:11:11)","diff":null},"uuid":"f8860fe2-9ab1-4205-b1b2-ab13656d5641","parentUUID":"aecbb582-ac4d-4674-8518-8a5a940acd0b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f8860fe2-9ab1-4205-b1b2-ab13656d5641"],"pending":[],"skipped":[],"duration":7633,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9ecab4bb-a164-4f7f-8c9a-9ff460ef9e52","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b6162f5a-6c7a-4879-afca-02a0ab403322","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":7644,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4242424242424242', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);\ncy.get('.lead').contains('Your payment method has been added successfully.').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 (webpack://sf-test-cases/./cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/04Add_Public_Payment_CreditCard_Stripe.spec.js:8:11)","diff":null},"uuid":"6c4a314a-acee-4482-86eb-a8fa10a1b20f","parentUUID":"b6162f5a-6c7a-4879-afca-02a0ab403322","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6c4a314a-acee-4482-86eb-a8fa10a1b20f"],"pending":[],"skipped":[],"duration":7644,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"07262544-5f43-46ba-b4d4-6eeb05ebd290","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"612ccab3-bef4-442f-a178-eabdb9325d6f","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":7635,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').then(image => {\n cy.get('.row img').its('length').then(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(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(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.wait(10000);\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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.get('#ach-errors').contains('Please select one of the payment options from ').should('be.visible');\ncy.get('.bank-debit-option-model') // Select the parent element\n.find('input[type=\"radio\"]') // Find the radio input element within the parent\n.eq(0) // Select the first radio input element\n.click({\n force: true\n}); // Trigger a click event\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\n// cy.get('.lead').contains('Your payment method needs to be verified by Admin.').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 (webpack://sf-test-cases/./cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/05Add_Public_Payment_BankTransfer_Stripe.spec.js:7:11)","diff":null},"uuid":"1c5bfd02-6133-465d-9547-26d98696922e","parentUUID":"612ccab3-bef4-442f-a178-eabdb9325d6f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1c5bfd02-6133-465d-9547-26d98696922e"],"pending":[],"skipped":[],"duration":7635,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ec95b425-cb10-4a97-9547-c95e0ff936e3","title":"","fullFile":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","file":"cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d854f8be-af62-4d1f-b542-602654861505","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":7620,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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('#billing-settings-section .card-body a[href*=\"/settings/payment-gateways\"]').click({\n force: true\n});\ncy.url().should('contain', '/settings/payment-gateways');\ncy.wait(8000);\ncy.get('.row img').each(($img, index, $imgs) => {\n const src = $img.prop('src');\n if (src.includes('/assets/images/payment-gateway-icons/list-stripe.png')) {\n cy.get('.row .text-right').eq(index).then($def => {\n const text = $def.text();\n if (text.includes('Make Default')) {\n cy.wrap($def).contains('Make Default').click({\n force: true\n });\n cy.wrap($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});\ncy.contains('Customers').click({\n force: true\n});\ncy.wait(10000);\ncy.get('[data-sfuniqueid = \"dataTable__table-td-0\"] a').first().then(cust => {\n var Cust = cust.prop('href');\n cy.visit(Cust);\n});\ncy.get('#pill-myTab').contains('Payment Methods').click({\n force: true\n});\ncy.get('#related-table-paymentmethod').then(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 a').contains('Public Payment Method Page').then($ele => {\n const href = $ele.prop('href');\n cy.visit(href);\n});\ncy.wait(10000);\ncy.contains('body', 'internal server error').should('not.exist');\ncy.contains('body', 'internal error').should('not.exist');\ncy.contains('body', '500 internal error').should('not.exist');\ncy.contains('body', 'something went wrong').should('not.exist');\ncy.get('#sc_pcp-chk-acc-info_lbl-acc-info').contains('Card Holder Information').should('exist');\ncy.get('#sc_pmp-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_pmp-chk-billing-addr-inp-country-el-container').click({\n force: true\n});\ncy.get('.select2-search__field').type('United States');\ncy.get('#select2-sc_pmp-chk-billing-addr-inp-country-el-results li').contains('United States').click({\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-state-el').type('New York', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-city-el').type('Adams', {\n force: true\n});\ncy.get('#sc_pmp-chk-billing-addr-inp-zip-el').type('55500');\ncy.get('#sc_pmp-chk-billing-addr-inp-addrline1-el').type('house 1');\ncy.get('#sc_pmp-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);\nconst dayjs = __webpack_require__(/*! dayjs */ \"./node_modules/dayjs/dayjs.min.js\");\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const pastYear = dayjs().subtract(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"cardnumber\"]') // Find the card number input field\n .type('4000002760003184', {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]') // Find the expiration date input field\n .type(pastYear, {\n force: true\n });\n cy.wrap($body).find('.InputElement[name=\"cvc\"]') // Find the CVC input field\n .type('777', {\n force: true\n });\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.get('#card-errors').should('be.visible').and($element => {\n expect($element.text()).to.include(\"Your card's expiration year is in the past.\");\n});\ncy.get('.__PrivateStripeElement > iframe').then($element => {\n const $body = $element.contents().find('body');\n const futureYear = dayjs().add(1, 'year').format('MMYY');\n cy.wrap($body).find('.InputElement[name=\"exp-date\"]').clear().type(futureYear);\n});\ncy.get('#sc_pcp-chk-subscribe_el_btn').click({\n force: true\n});\ncy.wait(10000);","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 (webpack://sf-test-cases/./cypress/e2e/SF/h-customer/Customer Details Page/Add Public Payment Method/08Add_Public_Payment_CreditCard_Stripe_3DSecure.spec.js:11:11)","diff":null},"uuid":"c8f66490-26ba-48cc-ae20-95027df439c6","parentUUID":"d854f8be-af62-4d1f-b542-602654861505","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c8f66490-26ba-48cc-ae20-95027df439c6"],"pending":[],"skipped":[],"duration":7620,"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>