/
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":264,"tests":316,"passes":186,"pending":0,"failures":130,"start":"2021-05-28T03:00:03.355Z","end":"2021-05-28T03:00:03.355Z","duration":23546552,"testsRegistered":316,"passPercent":58.860759493670884,"pendingPercent":0,"other":0,"hasOther":false,"skipped":0,"hasSkipped":false},"results":[{"uuid":"635ce73f-28de-4300-bd8b-63181ec050d5","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":"ecbd352c-2c39-4f54-93ef-93da34567acb","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":7070,"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":"fc609760-4738-4da0-8946-4af21fc86260","parentUUID":"ecbd352c-2c39-4f54-93ef-93da34567acb","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":50,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.navbar-brand').contains('Dashboard');","err":{},"uuid":"d0b68490-93e4-451e-a32d-0308916415f1","parentUUID":"ecbd352c-2c39-4f54-93ef-93da34567acb","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":31,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{},"uuid":"b6b317c5-a3a9-4860-90de-f075171e65c2","parentUUID":"ecbd352c-2c39-4f54-93ef-93da34567acb","isHook":false,"skipped":false}],"suites":[],"passes":["fc609760-4738-4da0-8946-4af21fc86260","d0b68490-93e4-451e-a32d-0308916415f1","b6b317c5-a3a9-4860-90de-f075171e65c2"],"failures":[],"pending":[],"skipped":[],"duration":7151,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2eca5394-23fe-4e7c-b5eb-1b1835db19c3","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":"429944c9-693d-481b-a507-2e21b3722a84","title":"Subscription","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Subscription - Create Subscription","fullTitle":"Subscription Subscription - Create Subscription","timedOut":null,"duration":321781,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"var totalSub = 0;\nvar totalInv = 0; // checkTrial()\ncy.visit(\"/portal/subscriptions\");\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);\nvar count = 0;\ncy.get('.availablePlansWrapper .text-muted').each(function (btn) {\n if (btn.text().includes('Random Product')) {\n cy.get('.addPlanProductToSubscription').eq(count).click({\n force: true\n });\n return false;\n }\n count++;\n});\ncy.wait(30000);\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(200000); ////////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});\ncy.visit('/en/customers');\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(10000);\n cy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').eq(0).click({\n force: true\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#related-table-subscription .sf-pagination-wrapper span.bold').eq(0).then(function (subs) {\n var sub = parseInt(subs.text());\n expect(sub).eq(totalSub);\n});\ncy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n});\ncy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice) {\n var inv = parseInt(invoice.text());\n expect(inv).to.eq(totalInv);\n});","err":{},"uuid":"0452a4de-e96e-4cd2-b6f2-ac3ed5b18fe1","parentUUID":"429944c9-693d-481b-a507-2e21b3722a84","isHook":false,"skipped":false}],"suites":[],"passes":["0452a4de-e96e-4cd2-b6f2-ac3ed5b18fe1"],"failures":[],"pending":[],"skipped":[],"duration":321781,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9438b6a9-6b15-4e93-9b78-773b01076402","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":"8ef19404-eaea-4d15-9dca-db5e60e09d80","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":105522,"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\ncy.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(25000);\ncy.get('.subscription-details-header .ml-3.mt-1 [class*=\"badge-status-\"]').each(function (spans) {\n expect(spans.text()).to.eq('Active');\n});\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('[class=\"card-footer text-center\"] .row .col .lead').first().then(function (price) {\n inv_price = price.text().split(' ');\n inv_price = inv_price[1];\n cy.log(inv_price);\n}); //start original\ncy.get('.row > .col-4:first-child button.addPlanProductToSubscription').click({\n force: true\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.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(500);\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);\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.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 (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});\ncy.visit(\"https://liveautomation.subscriptionflow.com/en/customers\");\ncy.visit(\"https://liveautomation.subscriptionflow.com/en/customers\");\ncy.check();\ncy.wait(5000);\ncy.checkPortal();\ncy.get('#basic_search').type('Andy Barymore');\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').then(function (found_uname) {\n expect(found_uname.text()).to.include('Andy Barymore');\n}).click(); //start original","err":{"message":"AssertionError: expected '$60.00' to equal '$40.00'","estack":"AssertionError: expected '$60.00' to equal '$40.00'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/2-subscription-upgrade.spec.js:196:28)","diff":"- '$60.00'\n+ '$40.00'\n"},"uuid":"eddcc4de-8b05-4455-b28d-19e03a8aade1","parentUUID":"8ef19404-eaea-4d15-9dca-db5e60e09d80","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eddcc4de-8b05-4455-b28d-19e03a8aade1"],"pending":[],"skipped":[],"duration":105522,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9a4a4951-a87c-4125-938a-ec947d0d1704","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":"bb9f895c-7efa-4fad-a64a-c322e3a11c6c","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":73610,"state":"passed","speed":"slow","pass":true,"fail":false,"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.log(\"totalBefore: \" + totalBefore);\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(12000);\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.visit(\"/portal/subscriptions\");\n cy.checkPortal();\n cy.wait(500);\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(10000);\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});","err":{},"uuid":"77238cb7-5396-4079-aa91-88764ea81d5b","parentUUID":"bb9f895c-7efa-4fad-a64a-c322e3a11c6c","isHook":false,"skipped":false}],"suites":[],"passes":["77238cb7-5396-4079-aa91-88764ea81d5b"],"failures":[],"pending":[],"skipped":[],"duration":73610,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"275325cc-5a68-4222-a1ac-8f56ee2a6aae","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":"082ca24a-b14e-41bc-b7f2-983b58e0b0ce","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":50076,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"db382205-b4df-49ac-9723-b5e1a6f6b1fb","parentUUID":"082ca24a-b14e-41bc-b7f2-983b58e0b0ce","isHook":false,"skipped":false}],"suites":[],"passes":["db382205-b4df-49ac-9723-b5e1a6f6b1fb"],"failures":[],"pending":[],"skipped":[],"duration":50076,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f59289b4-0347-4d14-9f3b-20bf72406d73","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":"bf1be0bf-0964-4a13-9b68-4369e1dcae78","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":50459,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"e4f8ee92-8cc5-4202-9d25-ee22804a0a2e","parentUUID":"bf1be0bf-0964-4a13-9b68-4369e1dcae78","isHook":false,"skipped":false}],"suites":[],"passes":["e4f8ee92-8cc5-4202-9d25-ee22804a0a2e"],"failures":[],"pending":[],"skipped":[],"duration":50459,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"980acaf5-4f52-4ec1-9921-c914a23f7d30","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":"e8797f25-c50b-4b62-8037-cef5de0ab73a","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":44793,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"12cea872-cc08-4c3d-8cb4-58bc4dc62c4e","parentUUID":"e8797f25-c50b-4b62-8037-cef5de0ab73a","isHook":false,"skipped":false}],"suites":[],"passes":["12cea872-cc08-4c3d-8cb4-58bc4dc62c4e"],"failures":[],"pending":[],"skipped":[],"duration":44793,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"011919b8-cbcd-4a6b-bc3a-88dad4fe6256","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":"90a3f14e-918e-477f-bd26-f0cee3f39819","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":82042,"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 normalVal1 = elm.find('.list-group-item .lead strong').text().replace(/[$,]+/g, \"\");\n totalBefore = +normalVal1;\n});\ncy.log(totalBefore);\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').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(7000);\n});\ncy.visit(\"/portal/subscriptions\");\ncy.checkPortal();\ncy.wait(500);\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.eq(totalBefore);\n});","err":{"message":"AssertionError: expected 1200 to equal 60000","estack":"AssertionError: expected 1200 to equal 60000\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/2-subscription/7-subscription-change-plan.spec.js:158:29)","diff":"- 1200\n+ 60000\n"},"uuid":"c27ed1a6-ed94-4aa9-9b6a-e61b012a6043","parentUUID":"90a3f14e-918e-477f-bd26-f0cee3f39819","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c27ed1a6-ed94-4aa9-9b6a-e61b012a6043"],"pending":[],"skipped":[],"duration":82042,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7b832c31-0748-4257-b1d8-08709a3daf2a","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":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","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":25780,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"b698eb6e-d3d1-49a7-9d67-a7646dc096a3","parentUUID":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","isHook":false,"skipped":false},{"title":"Invoice - Overdue Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Overdue Filter","timedOut":null,"duration":30467,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"c703eddf-38cf-4137-b647-ec9d36b93456","parentUUID":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","isHook":false,"skipped":false},{"title":"Invoice - Partially Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Partially Paid Filter","timedOut":null,"duration":24332,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"9e23e60d-89c5-4b89-9609-67d5075e9aec","parentUUID":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","isHook":false,"skipped":false},{"title":"Invoice - Paid Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Paid Filter","timedOut":null,"duration":37502,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"f47ad9b6-1f87-4150-8651-279d95826364","parentUUID":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","isHook":false,"skipped":false},{"title":"Invoice - Bounced Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Bounced Filter","timedOut":null,"duration":24530,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"7299e28d-c34e-4068-b3d4-c1c56f64a0c7","parentUUID":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","isHook":false,"skipped":false},{"title":"Invoice - Void Filter","fullTitle":"Invoice - Invoice Page Filters Invoice - Void Filter","timedOut":null,"duration":31485,"state":"passed","speed":"slow","pass":true,"fail":false,"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(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('Void');\n });\n }\n});","err":{},"uuid":"c9fa22d5-fcba-4050-96f3-ee71792e8eda","parentUUID":"d8d02290-7f06-4bcc-bfe7-a5fa4ac2e2af","isHook":false,"skipped":false}],"suites":[],"passes":["b698eb6e-d3d1-49a7-9d67-a7646dc096a3","c703eddf-38cf-4137-b647-ec9d36b93456","9e23e60d-89c5-4b89-9609-67d5075e9aec","f47ad9b6-1f87-4150-8651-279d95826364","7299e28d-c34e-4068-b3d4-c1c56f64a0c7","c9fa22d5-fcba-4050-96f3-ee71792e8eda"],"failures":[],"pending":[],"skipped":[],"duration":174096,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"46304a1a-3b1b-4b4d-8cfc-95f8c0eee70f","title":"","fullFile":"cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js","file":"cypress/integration/p-portal/3-invoice/1-invoice-make-payment.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d1972b31-6c5a-48f6-97eb-0d311f12f193","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":79189,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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(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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\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":{},"uuid":"7c1fdfa5-4a18-476c-bc77-ee2e5782dbed","parentUUID":"d1972b31-6c5a-48f6-97eb-0d311f12f193","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":79181,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"38375246-b5b4-440e-bb8e-a0d89929bfa1","parentUUID":"d1972b31-6c5a-48f6-97eb-0d311f12f193","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Invoice - Make Payment By Adding payment method for ACH using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":50422,"state":"passed","speed":"slow","pass":true,"fail":false,"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); // 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});\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');","err":{},"uuid":"4ecbe737-23d0-4201-9eea-73bd9396cac1","parentUUID":"d1972b31-6c5a-48f6-97eb-0d311f12f193","isHook":false,"skipped":false}],"suites":[],"passes":["7c1fdfa5-4a18-476c-bc77-ee2e5782dbed","38375246-b5b4-440e-bb8e-a0d89929bfa1","4ecbe737-23d0-4201-9eea-73bd9396cac1"],"failures":[],"pending":[],"skipped":[],"duration":208792,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d6816329-2ddd-4c9a-a4cb-94b3490ea443","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":"49441df0-9cb9-48ca-9fe5-2d6c5de0b2cd","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":84169,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"allocateCredits();","err":{},"uuid":"83e44bf7-6be6-4f7d-a524-18755b6f7f70","parentUUID":"49441df0-9cb9-48ca-9fe5-2d6c5de0b2cd","isHook":false,"skipped":false}],"suites":[],"passes":["83e44bf7-6be6-4f7d-a524-18755b6f7f70"],"failures":[],"pending":[],"skipped":[],"duration":84169,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"df4d538c-399f-4050-9ec8-44ccd42ac6a2","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":"12dd4918-7963-407f-970a-28f9051c3de5","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":99377,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"allocateCredits();","err":{},"uuid":"18057bfa-b3ac-482f-85ac-459dc3a4eb99","parentUUID":"12dd4918-7963-407f-970a-28f9051c3de5","isHook":false,"skipped":false}],"suites":[],"passes":["18057bfa-b3ac-482f-85ac-459dc3a4eb99"],"failures":[],"pending":[],"skipped":[],"duration":99377,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"82c95ae8-7d10-433b-a68d-2f1df4df374a","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":"b35b785c-2062-4f97-8dec-482336fc6dad","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":102866,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"allocateCredits();","err":{},"uuid":"88119fbe-f205-4d23-891d-e845ce24f372","parentUUID":"b35b785c-2062-4f97-8dec-482336fc6dad","isHook":false,"skipped":false}],"suites":[],"passes":["88119fbe-f205-4d23-891d-e845ce24f372"],"failures":[],"pending":[],"skipped":[],"duration":102866,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a5ba5e57-f4ab-44a6-8e7b-259fd68b5d7a","title":"","fullFile":"cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js","file":"cypress/integration/p-portal/3-invoice/2-invoice-make-payment-with-credit-card-using-stripe.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"536ee697-338a-4134-8cbb-90368cf8761b","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":82450,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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}); //cy.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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\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":{},"uuid":"a89719c7-6657-40aa-8673-89cdaf76be55","parentUUID":"536ee697-338a-4134-8cbb-90368cf8761b","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":74015,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"55405256-f6b7-42db-8f78-461e1e7e8efe","parentUUID":"536ee697-338a-4134-8cbb-90368cf8761b","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Credit Card using Stripe (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":51119,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"af555a6f-2e67-44af-b268-09b51ee051c9","parentUUID":"536ee697-338a-4134-8cbb-90368cf8761b","isHook":false,"skipped":false}],"suites":[],"passes":["a89719c7-6657-40aa-8673-89cdaf76be55","55405256-f6b7-42db-8f78-461e1e7e8efe","af555a6f-2e67-44af-b268-09b51ee051c9"],"failures":[],"pending":[],"skipped":[],"duration":207584,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b9f4d578-710b-420e-998a-264032833a34","title":"","fullFile":"cypress/integration/p-portal/3-invoice/3-invoice-make-payment-using-unapplied-amount.spec.js","file":"cypress/integration/p-portal/3-invoice/3-invoice-make-payment-using-unapplied-amount.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"21e9d1f4-5fc5-435c-90a9-e58ffdbb0666","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":27645,"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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#username`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#username`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/support/index.js:102:6)","diff":null},"uuid":"726d473d-1856-4d3f-8268-59ff139b041f","parentUUID":"21e9d1f4-5fc5-435c-90a9-e58ffdbb0666","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["726d473d-1856-4d3f-8268-59ff139b041f"],"pending":[],"skipped":[],"duration":27645,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cd2caf80-f5e7-49e5-bbf6-3a645adaf650","title":"","fullFile":"cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","file":"cypress/integration/p-portal/3-invoice/4-invoice-make-payment-with-credit-card-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"769955b0-535c-428d-981b-e049393e1e56","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":85469,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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(5000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"89128917-43b9-4170-bb43-9cd236f8cfb6","parentUUID":"769955b0-535c-428d-981b-e049393e1e56","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":64718,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"45c995a2-1782-411c-95d6-2fc950f19a8c","parentUUID":"769955b0-535c-428d-981b-e049393e1e56","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with credit card using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":55385,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"dc860adb-d6df-4091-9f86-f1b1ec1303d8","parentUUID":"769955b0-535c-428d-981b-e049393e1e56","isHook":false,"skipped":false}],"suites":[],"passes":["89128917-43b9-4170-bb43-9cd236f8cfb6","45c995a2-1782-411c-95d6-2fc950f19a8c","dc860adb-d6df-4091-9f86-f1b1ec1303d8"],"failures":[],"pending":[],"skipped":[],"duration":205572,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"03967223-137e-4bac-b2b4-7b586d195f4b","title":"","fullFile":"cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js","file":"cypress/integration/p-portal/3-invoice/5-invoice-make-payment-with-ACH-using-authorize.net.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"f155dd19-c887-4192-b5c6-bc783cf5106e","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":76958,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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(5000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\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":{},"uuid":"6a297803-7f5b-4b04-97b7-96b97430aee6","parentUUID":"f155dd19-c887-4192-b5c6-bc783cf5106e","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":78807,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"d2587750-8dd3-4435-ba39-4b79ba8b6b56","parentUUID":"f155dd19-c887-4192-b5c6-bc783cf5106e","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with ACH using AuthorizeNet (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":47816,"state":"passed","speed":"slow","pass":true,"fail":false,"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.log(\"outstanding amount: \" + outstandingAmount.text() + \"-->$$$$\");\n cy.log(\"outstanding amount: \" + el + \"-->$$$$\");\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":{},"uuid":"cc56ff0b-bb69-4bbd-b192-2235c04f6075","parentUUID":"f155dd19-c887-4192-b5c6-bc783cf5106e","isHook":false,"skipped":false}],"suites":[],"passes":["6a297803-7f5b-4b04-97b7-96b97430aee6","d2587750-8dd3-4435-ba39-4b79ba8b6b56","cc56ff0b-bb69-4bbd-b192-2235c04f6075"],"failures":[],"pending":[],"skipped":[],"duration":203581,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8a3b726d-cc24-429b-9852-cc1dc5b94f8d","title":"","fullFile":"cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","file":"cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout-approve.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"b2f31edc-522c-4d30-9475-44cee1ca4556","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":89254,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"c4c230a6-93e0-4fae-a19d-a60235c572dc","parentUUID":"b2f31edc-522c-4d30-9475-44cee1ca4556","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":63430,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"d9edfdd2-95f4-41e9-85da-6fb5aa9e7ebe","parentUUID":"b2f31edc-522c-4d30-9475-44cee1ca4556","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Approve (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":137969,"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(3000);\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('#relatedList-bulk-action-Transaction_Customer > #example1 > tbody > :nth-child(1) > :nth-child(1) > .btn > span').click({\n force: true\n });\n cy.get('.actions-dropdown > .btn').click({\n force: true\n });\n cy.get('.dropdown-menu > :nth-child(2) > a').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#confirmationModalOkay').click({\n force: true\n });\n cy.wait(20000);\n cy.get('#approve-form > .modal-content > .modal-footer > .btn-create').click({\n force: true\n });\n cy.wait(5000);\n cy.get('#relatedList-bulk-action-Invoice_Customer > #example1 > tbody > :nth-child(1) > :nth-child(7)').then(function (status) {\n var payStatus = status.text().trim();\n expect(payStatus).to.eq('Paid');\n });\n cy.get('#relatedList-bulk-action-Transaction_Customer > #example1 > tbody > :nth-child(1) > :nth-child(6)').then(function (status) {\n var payStatus = status.text().trim();\n expect(payStatus).to.eq('Paid');\n });\n}","err":{"message":"AssertionError: expected '05/27/2021' to equal 'Paid'","estack":"AssertionError: expected '05/27/2021' to equal 'Paid'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/6-invoice-make-payment-with-paypal-express-checkout-approve.spec.js:235:30)","diff":"- '05/27/2021'\n+ 'Paid'\n"},"uuid":"14235f6c-9316-4b9a-8776-9fce0bef47c7","parentUUID":"b2f31edc-522c-4d30-9475-44cee1ca4556","isHook":false,"skipped":false}],"suites":[],"passes":["c4c230a6-93e0-4fae-a19d-a60235c572dc","d9edfdd2-95f4-41e9-85da-6fb5aa9e7ebe"],"failures":["14235f6c-9316-4b9a-8776-9fce0bef47c7"],"pending":[],"skipped":[],"duration":290653,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ec6d87ba-8b73-4d5b-9c94-50f7c679202c","title":"","fullFile":"cypress/integration/p-portal/3-invoice/7-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","file":"cypress/integration/p-portal/3-invoice/7-invoice-make-payment-with-paypal-express-checkout-decline.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"44dfa7d9-5ea2-449f-a032-38f7922cd7eb","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":89169,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"6ce091d8-627c-4864-9505-ff452663f6d0","parentUUID":"44dfa7d9-5ea2-449f-a032-38f7922cd7eb","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":63387,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"0e067c00-dfbc-480d-9619-9f557b066597","parentUUID":"44dfa7d9-5ea2-449f-a032-38f7922cd7eb","isHook":false,"skipped":false},{"title":"Invoice - Make Payment","fullTitle":"Make Payment with Paypal Express Checkout Decline (PortalFlow) Invoice - Make Payment","timedOut":null,"duration":114189,"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(3000);\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.get('#relatedList-bulk-action-Transaction_Customer > #example1 > tbody > :nth-child(1) > :nth-child(1) > .btn > span').click();\n cy.get('.actions-dropdown > .btn').click();\n cy.get('.dropdown-menu > :nth-child(1) > a').click();\n cy.get('#decline_reason').type('Mere Marzi...');\n cy.get('#decline-form > .modal-content > .modal-footer > .btn-create').click();\n cy.get('#relatedList-bulk-action-Transaction_Customer > #example1 > tbody > :nth-child(1) > :nth-child(6)').then(function (status) {\n var payStatus = status.text().trim();\n expect(payStatus).to.eq('Declined');\n });\n}","err":{"message":"AssertionError: expected 'PayPal' to equal 'Declined'","estack":"AssertionError: expected 'PayPal' to equal 'Declined'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/p-portal/3-invoice/7-invoice-make-payment-with-paypal-express-checkout-decline.spec.js:220:30)","diff":"- 'PayPal'\n+ 'Declined'\n"},"uuid":"c630e9e3-bfa0-4517-aae4-90a48c3beb47","parentUUID":"44dfa7d9-5ea2-449f-a032-38f7922cd7eb","isHook":false,"skipped":false}],"suites":[],"passes":["6ce091d8-627c-4864-9505-ff452663f6d0","0e067c00-dfbc-480d-9619-9f557b066597"],"failures":["c630e9e3-bfa0-4517-aae4-90a48c3beb47"],"pending":[],"skipped":[],"duration":266745,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b15f304d-de13-4c9f-9c27-db458d8ee9a3","title":"","fullFile":"cypress/integration/p-portal/3-invoice/8-allocate-credits-using-portal.spec.js","file":"cypress/integration/p-portal/3-invoice/8-allocate-credits-using-portal.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"796d8285-88b4-43fb-93bf-38e6a3d7cca4","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":134608,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"8b524cb6-8ccc-4017-869a-06e84a6a4685","parentUUID":"796d8285-88b4-43fb-93bf-38e6a3d7cca4","isHook":false,"skipped":false}],"suites":[],"passes":["8b524cb6-8ccc-4017-869a-06e84a6a4685"],"failures":[],"pending":[],"skipped":[],"duration":134608,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e0f41f85-7add-4d8c-a5fe-2b6c11538654","title":"","fullFile":"cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","file":"cypress/integration/p-portal/3-invoice/9-Allocate_credits_when_allocated_amount_is_less_than_credit_note_balance_using_PortalFlow.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ce08a2ce-a9cc-40f0-950a-3785e92ad4c0","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":99663,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"allocateCredits();","err":{},"uuid":"1ae4fd8d-5669-4072-a1aa-b4360a452b12","parentUUID":"ce08a2ce-a9cc-40f0-950a-3785e92ad4c0","isHook":false,"skipped":false}],"suites":[],"passes":["1ae4fd8d-5669-4072-a1aa-b4360a452b12"],"failures":[],"pending":[],"skipped":[],"duration":99663,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6089de82-c95c-4018-b12c-b075ecfd6252","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":"d39682cc-ed69-450b-b3e3-a210331aa6fc","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":76633,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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(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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\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":{},"uuid":"d15b6eb5-08aa-4d2a-a426-1f6c2488e001","parentUUID":"d39682cc-ed69-450b-b3e3-a210331aa6fc","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":131247,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"523d6c2f-852f-403d-98e5-39a5deaf7c3b","parentUUID":"d39682cc-ed69-450b-b3e3-a210331aa6fc","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":53067,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"a717dfe2-e118-4c27-aa10-5473cf0e2447","parentUUID":"d39682cc-ed69-450b-b3e3-a210331aa6fc","isHook":false,"skipped":false}],"suites":[],"passes":["d15b6eb5-08aa-4d2a-a426-1f6c2488e001","523d6c2f-852f-403d-98e5-39a5deaf7c3b","a717dfe2-e118-4c27-aa10-5473cf0e2447"],"failures":[],"pending":[],"skipped":[],"duration":260947,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"56da6b97-069b-4cbe-9171-d2c5d1d033dc","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":"4f4c156e-095b-4c1d-a4f6-4ddccbf3dd4b","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":77202,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"// cy.get('.col-4 .btn.btn-danger').click({force:true})\n// Default Payment\ncy.visit(\"https://liveautomation.subscriptionflow.com/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(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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\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":{},"uuid":"3a9f7ca5-b9c6-4361-b25d-4582c9aeecae","parentUUID":"4f4c156e-095b-4c1d-a4f6-4ddccbf3dd4b","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":73462,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"13376558-a4bb-49a4-a604-fefac8f4bdd8","parentUUID":"4f4c156e-095b-4c1d-a4f6-4ddccbf3dd4b","isHook":false,"skipped":false}],"suites":[],"passes":["3a9f7ca5-b9c6-4361-b25d-4582c9aeecae","13376558-a4bb-49a4-a604-fefac8f4bdd8"],"failures":[],"pending":[],"skipped":[],"duration":150664,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5dc7d67b-4c5b-49f6-8201-766e81eafd9b","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":"4ebcee13-607e-4b43-8ede-e70ad1877cee","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":134804,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"https://liveautomation.subscriptionflow.com/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}); //cy.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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000); // cy.get('.col-4 .btn.btn-danger').click({force:true})\n// Default Payment\ncy.visit(\"https://liveautomation.subscriptionflow.com/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(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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\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('.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=\"#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":{},"uuid":"24ea9fd2-184a-4f43-bcd4-fa466e0fd9c6","parentUUID":"4ebcee13-607e-4b43-8ede-e70ad1877cee","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":76116,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"62b225a9-c385-48ea-9a5a-54000d2be342","parentUUID":"4ebcee13-607e-4b43-8ede-e70ad1877cee","isHook":false,"skipped":false}],"suites":[],"passes":["24ea9fd2-184a-4f43-bcd4-fa466e0fd9c6","62b225a9-c385-48ea-9a5a-54000d2be342"],"failures":[],"pending":[],"skipped":[],"duration":210920,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a27be307-457a-4a1e-97a1-b43c00ac5961","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":"5eebc93a-6a7a-4512-9890-a1744977d52d","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":81790,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"https://liveautomation.subscriptionflow.com/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(5000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(5000); // 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":{},"uuid":"f4851262-a70f-4fcb-881a-ce7f5712341f","parentUUID":"5eebc93a-6a7a-4512-9890-a1744977d52d","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":36437,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"addPaymentMethod();","err":{"message":"CypressError: `cy.type()` failed because it targeted a disabled element.\n\nThe element typed into was:\n\n > <input type=\"text\" placeholder=\"Card Number\" class=\"form-control hppDesignerTarget-genericInpRad\" id=\"paymentInformationCard__cardNumber\" name=\"card_number\">\n\nEnsure the element does not have an attribute named `disabled` before typing into it.\n\nhttps://on.cypress.io/type","estack":"CypressError: `cy.type()` failed because it targeted a disabled element.\n\nThe element typed into was:\n\n > <input type=\"text\" placeholder=\"Card Number\" class=\"form-control hppDesignerTarget-genericInpRad\" id=\"paymentInformationCard__cardNumber\" name=\"card_number\">\n\nEnsure the element does not have an attribute named `disabled` before typing into it.\n\nhttps://on.cypress.io/type\n at https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:155282:27\n at tryCatcher (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:10765:23)\n at Promise._settlePromiseFromHandler (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:8700:31)\n at Promise._settlePromise (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:8757:18)\n at Promise._settlePromise0 (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:8802:10)\n at Promise._settlePromises (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:8882:18)\n at _drainQueueStep (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:5472:12)\n at _drainQueue (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:5465:9)\n at Async.../../node_modules/bluebird/js/release/async.js.Async._drainQueues (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:5481:5)\n at Async.drainQueues (https://liveautomation.subscriptionflow.com/__cypress/runner/cypress_runner.js:5351:14)\nFrom Your Spec Code:\n at addPaymentMethod (https://liveautomation.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:229:49)\n at Context.eval (https://liveautomation.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:174:5)","diff":null},"uuid":"42fbcc44-2500-48e8-a341-7373c1ede6e2","parentUUID":"5eebc93a-6a7a-4512-9890-a1744977d52d","isHook":false,"skipped":false}],"suites":[],"passes":["f4851262-a70f-4fcb-881a-ce7f5712341f"],"failures":["42fbcc44-2500-48e8-a341-7373c1ede6e2"],"pending":[],"skipped":[],"duration":118227,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e843774d-d4e6-45ca-abd4-c24e13985a17","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":"0ed774c9-10f9-4c96-9b91-40e0135c32e9","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":80296,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"https://liveautomation.subscriptionflow.com/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(5000);\ncy.get('.integration-box-item strong').contains('Authorize.Net').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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(10000);\ncy.get('#confirmation_config_integration button').contains('Close').click({\n force: true\n});\ncy.wait(5000); // 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":{},"uuid":"d567014a-9b0d-432c-bb03-1de9ac9cae12","parentUUID":"0ed774c9-10f9-4c96-9b91-40e0135c32e9","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":82436,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"b02ede44-fe99-4551-93e1-a08b56c28d47","parentUUID":"0ed774c9-10f9-4c96-9b91-40e0135c32e9","isHook":false,"skipped":false}],"suites":[],"passes":["d567014a-9b0d-432c-bb03-1de9ac9cae12","b02ede44-fe99-4551-93e1-a08b56c28d47"],"failures":[],"pending":[],"skipped":[],"duration":162732,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5b6723dc-acef-47d4-b2b4-35b13e9299d3","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":"22ab5401-29a6-4f5d-b590-e920326d3de4","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":78941,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"// Default Payment\ncy.visit(\"https://liveautomation.subscriptionflow.com/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(5000);\ncy.get('.integration-box-item strong').contains('PayPal Express Checkout').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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"6013a3ec-4a8a-45e4-a736-930190b17191","parentUUID":"22ab5401-29a6-4f5d-b590-e920326d3de4","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":60549,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"addPaymentMethod();","err":{},"uuid":"fa965d9f-1fcb-4986-9d63-99a35072260d","parentUUID":"22ab5401-29a6-4f5d-b590-e920326d3de4","isHook":false,"skipped":false}],"suites":[],"passes":["6013a3ec-4a8a-45e4-a736-930190b17191","fa965d9f-1fcb-4986-9d63-99a35072260d"],"failures":[],"pending":[],"skipped":[],"duration":139490,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"297b3349-f767-442f-b3de-dca5aba02458","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":"c7f2ac37-bc72-49ba-94b6-c28387e37ec7","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":27192,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"65783af9-6ade-4706-9885-dd7d3420dae9","parentUUID":"c7f2ac37-bc72-49ba-94b6-c28387e37ec7","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":4899,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"a03805c5-dda4-447d-99a8-65b4ad2f5c6f","parentUUID":"c7f2ac37-bc72-49ba-94b6-c28387e37ec7","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":4464,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/portal/login');\ncy.loginPortal('andybary@mail.com', 'test12312');","err":{},"uuid":"2415e985-ca92-4cb7-b415-ca289061016d","parentUUID":"c7f2ac37-bc72-49ba-94b6-c28387e37ec7","isHook":false,"skipped":false},{"title":"Again Update Password","fullTitle":"Update Password Again Update Password","timedOut":null,"duration":13593,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"68585598-e099-4256-a3fa-b35c00bcdcac","parentUUID":"c7f2ac37-bc72-49ba-94b6-c28387e37ec7","isHook":false,"skipped":false}],"suites":[],"passes":["65783af9-6ade-4706-9885-dd7d3420dae9","a03805c5-dda4-447d-99a8-65b4ad2f5c6f","2415e985-ca92-4cb7-b415-ca289061016d","68585598-e099-4256-a3fa-b35c00bcdcac"],"failures":[],"pending":[],"skipped":[],"duration":50148,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a1b30352-7e06-402b-8315-e7a2097048e7","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":"80845da8-1578-4f4f-bc27-200f4eb6a927","title":"Update Password","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Update Password","fullTitle":"Update Password Update Password","timedOut":null,"duration":110536,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"f2285afd-f88d-4392-b216-111455b4d6a8","parentUUID":"80845da8-1578-4f4f-bc27-200f4eb6a927","isHook":false,"skipped":false}],"suites":[],"passes":["f2285afd-f88d-4392-b216-111455b4d6a8"],"failures":[],"pending":[],"skipped":[],"duration":110536,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"80b566d2-eb8e-4de2-9b56-740426cc6b85","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":"30d24f1f-b6f3-486a-a558-da9a8c249049","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":5534,"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":"c970f9b4-218d-45ee-b823-3daf45c63e45","parentUUID":"30d24f1f-b6f3-486a-a558-da9a8c249049","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":51,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.navbar-brand').contains('Dashboard');","err":{},"uuid":"2438354a-9058-4211-a1ba-0b891239e7f4","parentUUID":"30d24f1f-b6f3-486a-a558-da9a8c249049","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Logout from Customer Portal I should see \"Welcome <Username>\" ","timedOut":null,"duration":15,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{},"uuid":"859b9a1d-91d3-4e47-a420-74ae83f14fdb","parentUUID":"30d24f1f-b6f3-486a-a558-da9a8c249049","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":5210,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"c4c259c1-77f1-4d10-addd-930265e9d8d5","parentUUID":"30d24f1f-b6f3-486a-a558-da9a8c249049","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":59,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('not.include', 'dashboard');","err":{},"uuid":"45d44c55-163c-4b9f-8ea9-93ad0a335dcf","parentUUID":"30d24f1f-b6f3-486a-a558-da9a8c249049","isHook":false,"skipped":false}],"suites":[],"passes":["c970f9b4-218d-45ee-b823-3daf45c63e45","2438354a-9058-4211-a1ba-0b891239e7f4","859b9a1d-91d3-4e47-a420-74ae83f14fdb","c4c259c1-77f1-4d10-addd-930265e9d8d5","45d44c55-163c-4b9f-8ea9-93ad0a335dcf"],"failures":[],"pending":[],"skipped":[],"duration":10869,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"80029dec-8b9d-4be9-ab9e-31a8a7ce0d75","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":"f22c1d40-1d56-42d4-804f-e218a031763e","title":"Login Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I go to test.subscriptionflow.com then I should be navigated to the login","fullTitle":"Login Page I go to test.subscriptionflow.com then I should be navigated to the login","timedOut":null,"duration":1872,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#login').should('be.visible');\ncy.get('#username').should('be.visible');\ncy.get('#password').should('be.visible');\ncy.get('#remember-me').should('be.visible');\ncy.get('.mt-md-3 > .text-info').should('be.visible');\ncy.get('[name=\"submit\"]').should('be.visible');\ncy.get('[href=\"https://www.subscriptionflow.com/terms-and-conditions/\"]').should('be.visible');\ncy.get('[href=\"https://www.subscriptionflow.com/privacypolicy/\"]').should('be.visible');","err":{},"uuid":"9d322c5f-6ef4-45d1-bfb3-b10a627bd59c","parentUUID":"f22c1d40-1d56-42d4-804f-e218a031763e","isHook":false,"skipped":false}],"suites":[],"passes":["9d322c5f-6ef4-45d1-bfb3-b10a627bd59c"],"failures":[],"pending":[],"skipped":[],"duration":1872,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e52ddc61-db97-4ad9-9079-866b63dcf436","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":"7c85b2ed-5214-43b8-bb96-cdf8d3ed8703","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":4458,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#username').type('Username');\ncy.get('#password').type('Password');\ncy.get('[name=\"submit\"]').click();\ncy.get('.invalid-feedback strong').contains('These credentials do not match our records.').should('be.visible');","err":{},"uuid":"288c439e-12a9-4516-8799-c78106c6c8dd","parentUUID":"7c85b2ed-5214-43b8-bb96-cdf8d3ed8703","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":4270,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#username').type('Username');\ncy.get('#password').type('sf@superadmin#$');\ncy.get('[name=\"submit\"]').click();\ncy.get('.invalid-feedback strong').contains('These credentials do not match our records.').should('be.visible');","err":{},"uuid":"d8e4a502-09a4-4a29-8593-f1f734e75916","parentUUID":"7c85b2ed-5214-43b8-bb96-cdf8d3ed8703","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":4346,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('#username').type('admin@subscriptionflow.com');\ncy.get('#password').type('blah blah');\ncy.get('[name=\"submit\"]').click();\ncy.get('.invalid-feedback strong').contains('These credentials do not match our records.').should('be.visible');","err":{},"uuid":"fca600f6-323c-441c-819f-621bdce02833","parentUUID":"7c85b2ed-5214-43b8-bb96-cdf8d3ed8703","isHook":false,"skipped":false}],"suites":[],"passes":["288c439e-12a9-4516-8799-c78106c6c8dd","d8e4a502-09a4-4a29-8593-f1f734e75916","fca600f6-323c-441c-819f-621bdce02833"],"failures":[],"pending":[],"skipped":[],"duration":13074,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"91c5334c-dc38-4c68-b151-88b9ea41db59","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":"b69f3bd7-8dfb-45a3-acbb-b9192e10e31b","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":13339,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.login('admin@subscriptionflow.com', 'sf@superadmin#$');","err":{},"uuid":"aa103527-e1c6-4a68-8511-be20bd6ed684","parentUUID":"b69f3bd7-8dfb-45a3-acbb-b9192e10e31b","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":77,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.title().should('include', 'SubscriptionFlow - Dashboard');","err":{},"uuid":"349937de-5589-457b-b613-5b1c6717b6db","parentUUID":"b69f3bd7-8dfb-45a3-acbb-b9192e10e31b","isHook":false,"skipped":false},{"title":"I should see \"Welcome <Username>\" ","fullTitle":"Login to the site I should see \"Welcome <Username>\" ","timedOut":null,"duration":45,"state":"passed","speed":"medium","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.contains('Welcome');","err":{},"uuid":"2afdb709-7417-4062-b06d-bb68b2932e59","parentUUID":"b69f3bd7-8dfb-45a3-acbb-b9192e10e31b","isHook":false,"skipped":false}],"suites":[],"passes":["aa103527-e1c6-4a68-8511-be20bd6ed684","349937de-5589-457b-b613-5b1c6717b6db","2afdb709-7417-4062-b06d-bb68b2932e59"],"failures":[],"pending":[],"skipped":[],"duration":13461,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b317bd51-4b90-47ea-9450-141674517dc4","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":"70b7d01f-0873-4cc9-80e4-579b002ba4b1","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":7322,"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":"3f563a29-38f9-417f-913c-7368472dcdd7","parentUUID":"70b7d01f-0873-4cc9-80e4-579b002ba4b1","isHook":false,"skipped":false}],"suites":[],"passes":["3f563a29-38f9-417f-913c-7368472dcdd7"],"failures":[],"pending":[],"skipped":[],"duration":7322,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"daba3615-235a-4680-b042-e565260c5e10","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":"247acbb8-378d-4993-96ea-59f8d5aa32b2","title":"Verify Privacy Policies URL is functional","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I am on test.subscriptionflow.com","fullTitle":"Verify Privacy Policies URL is functional I am on test.subscriptionflow.com","timedOut":null,"duration":6477,"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":"fc4e8a60-265e-40e8-9c5f-7170b5ffb7de","parentUUID":"247acbb8-378d-4993-96ea-59f8d5aa32b2","isHook":false,"skipped":false}],"suites":[],"passes":["fc4e8a60-265e-40e8-9c5f-7170b5ffb7de"],"failures":[],"pending":[],"skipped":[],"duration":6477,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"592d9a48-1473-4eb9-892d-4df47ad94030","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":"110c43c8-192c-4d48-a47f-cb04aff97d18","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":3443,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.mt-md-3 > .text-info').click();\ncy.get('h3.text-center').should('contain', 'Reset Password');","err":{},"uuid":"32531d8d-3374-424e-b781-89b2fae0dfee","parentUUID":"110c43c8-192c-4d48-a47f-cb04aff97d18","isHook":false,"skipped":false}],"suites":[],"passes":["32531d8d-3374-424e-b781-89b2fae0dfee"],"failures":[],"pending":[],"skipped":[],"duration":3443,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"feab252b-6b4d-42f4-805c-c85cb24ebbb5","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":"289a171a-780c-40f0-9bf8-dd444f18bb97","title":"Forgot Password Page","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I hit [test.subscriptionflow.com/password/reset] I should be navigated to reset password page","fullTitle":"Forgot Password Page I hit [test.subscriptionflow.com/password/reset] I should be navigated to reset password page","timedOut":null,"duration":3506,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.mt-md-3 > .text-info').click();\ncy.get('h3.text-center').should('contain', 'Reset Password');\ncy.get('input[type=email]').should('be.visible');\ncy.get('.btn').invoke('val').should('be.eq', 'Send Link');\ncy.get('.btn').should('be.visible');\ncy.get(':nth-child(5) > a.text-info').should('have.attr', 'href').then(function (href) {\n expect(href).to.eq('https://test.subscriptionflow.com/login');\n});\ncy.get('.form-footer-copyright').should('contain', 'Copyright © subscriptionflow Inc. All Rights Reserved');","err":{"message":"AssertionError: expected 'https://liveautomation.subscriptionflow.com/login' to equal 'https://test.subscriptionflow.com/login'","estack":"AssertionError: expected 'https://liveautomation.subscriptionflow.com/login' to equal 'https://test.subscriptionflow.com/login'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/b-forgot-password/1-forgot-password-page.js:108:23)","diff":"- 'https://liveautomation.subscriptionflow.com/login'\n+ 'https://test.subscriptionflow.com/login'\n"},"uuid":"63a7ac60-0326-4c73-99b1-0c2c7341adda","parentUUID":"289a171a-780c-40f0-9bf8-dd444f18bb97","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["63a7ac60-0326-4c73-99b1-0c2c7341adda"],"pending":[],"skipped":[],"duration":3506,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"64aa8110-fdf2-417c-a403-e6dda7b862a3","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":"765c0d96-fde2-4811-8d01-0a33eb0870dc","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":6310,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.mt-md-3 > .text-info').click();\ncy.get('#username').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(23, 198, 113)');","err":{},"uuid":"1d5c6ae2-8879-4533-b8ad-f1c8d0188857","parentUUID":"765c0d96-fde2-4811-8d01-0a33eb0870dc","isHook":false,"skipped":false}],"suites":[],"passes":["1d5c6ae2-8879-4533-b8ad-f1c8d0188857"],"failures":[],"pending":[],"skipped":[],"duration":6310,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d22253eb-286d-4107-a1c5-205579a5c3a2","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":"0b10860c-8e9b-4b69-a1dc-7dc68c031b18","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":5934,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.mt-md-3 > .text-info').click();\ncy.get('#username').type('natediaz@gmail.com');\ncy.get('.btn').click();\ncy.get('strong').should('contain', 'We can\\'t find a user with that e-mail address.');","err":{},"uuid":"27fd9cca-d81e-4f34-97bb-4ad5eba36164","parentUUID":"0b10860c-8e9b-4b69-a1dc-7dc68c031b18","isHook":false,"skipped":false}],"suites":[],"passes":["27fd9cca-d81e-4f34-97bb-4ad5eba36164"],"failures":[],"pending":[],"skipped":[],"duration":5934,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0a686754-ed17-45c1-889b-b2f5659836b0","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":"cc4af5c0-56c0-4391-b585-9419d362ed9a","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":5249,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/login');\ncy.get('.mt-md-3 > .text-info').click();\ncy.get('a.text-info').click();\ncy.url().should('contains', 'login');","err":{},"uuid":"53b97a3c-666d-443d-a16a-63a56eb58015","parentUUID":"cc4af5c0-56c0-4391-b585-9419d362ed9a","isHook":false,"skipped":false}],"suites":[],"passes":["53b97a3c-666d-443d-a16a-63a56eb58015"],"failures":[],"pending":[],"skipped":[],"duration":5249,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b152b32e-81ca-4e8e-b63d-e8d8d154938a","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":"8e0f2434-a19f-4d14-a2bb-de2e86e11533","title":"Dashboard View","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"I observe the Dashboard","fullTitle":"Dashboard View I observe the Dashboard","timedOut":null,"duration":15803,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.location('pathname').should('include', 'dashboard');","err":{},"uuid":"c1466c00-de89-4ea3-a4e3-b4e50525f527","parentUUID":"8e0f2434-a19f-4d14-a2bb-de2e86e11533","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":126,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.main-navbar').should('be.visible');","err":{},"uuid":"1e462c5c-2b15-4c53-8920-e26d575d8c2a","parentUUID":"8e0f2434-a19f-4d14-a2bb-de2e86e11533","isHook":false,"skipped":false},{"title":"I should see two CTA's : Classic view , Action","fullTitle":"Dashboard View I should see two CTA's : Classic view , Action","timedOut":null,"duration":28,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.classic_view_btn').should('exist');","err":{},"uuid":"00f12204-5b48-4f23-ab48-cad401a22484","parentUUID":"8e0f2434-a19f-4d14-a2bb-de2e86e11533","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":27,"state":"passed","speed":"fast","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.scrollTo('bottom', {\n ensureScrollable: true\n});\ncy.get('.main-footer').should('be.visible');","err":{},"uuid":"5752292a-2b45-4198-8307-5f86fb0b40de","parentUUID":"8e0f2434-a19f-4d14-a2bb-de2e86e11533","isHook":false,"skipped":false}],"suites":[],"passes":["c1466c00-de89-4ea3-a4e3-b4e50525f527","1e462c5c-2b15-4c53-8920-e26d575d8c2a","00f12204-5b48-4f23-ab48-cad401a22484","5752292a-2b45-4198-8307-5f86fb0b40de"],"failures":[],"pending":[],"skipped":[],"duration":15984,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"82778280-3315-4b5e-bc27-ea4f699085b3","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":"1b6305dd-251c-43f2-b323-276060253828","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":118482,"state":"passed","speed":"slow","pass":true,"fail":false,"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('.col-md-12 .btn.btn-create').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('.col-md-12 .btn.btn-create').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":{},"uuid":"21e2cc7f-8ee1-4212-8db0-58cab14c83fc","parentUUID":"1b6305dd-251c-43f2-b323-276060253828","isHook":false,"skipped":false}],"suites":[],"passes":["21e2cc7f-8ee1-4212-8db0-58cab14c83fc"],"failures":[],"pending":[],"skipped":[],"duration":118482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f71ddb0e-735e-4bd6-9346-1e8a1ebe80dc","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":"2a51621c-b9eb-481a-b4f1-204cede80901","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":123997,"state":"passed","speed":"slow","pass":true,"fail":false,"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('.col-md-12 .btn.btn-create').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('.col-md-12 .btn.btn-create').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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n});\ncy.get('.page-title').should('contain', 'Steven Anderson');","err":{},"uuid":"23036b85-9b4c-426e-8c08-3f7067c0b50b","parentUUID":"2a51621c-b9eb-481a-b4f1-204cede80901","isHook":false,"skipped":false}],"suites":[],"passes":["23036b85-9b4c-426e-8c08-3f7067c0b50b"],"failures":[],"pending":[],"skipped":[],"duration":123997,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a6973e95-4317-412d-a697-994d3eeab066","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":"abc8dd85-fd7a-425b-bded-e260f57a880c","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":42021,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.get('.fa.fa-bars').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('.btn.mob-btn-import.btn-import.hvr-bounce-to-bottom.dropdown-toggle').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 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('ul.actions-list li').contains('Update').should('be.visible');\n });\n});\ncy.get('.collapse-view .fa-chevron-right').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":{},"uuid":"b356af5e-2dbc-4e71-9823-c9f60e79aef7","parentUUID":"abc8dd85-fd7a-425b-bded-e260f57a880c","isHook":false,"skipped":false}],"suites":[],"passes":["b356af5e-2dbc-4e71-9823-c9f60e79aef7"],"failures":[],"pending":[],"skipped":[],"duration":42021,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5f3d0d9e-ac37-4630-bb5d-8a3e6d037467","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":"07fcfaf9-05f0-466c-844e-7e82a91475ec","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":31838,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"1fadc1e7-2452-4d06-b4e5-64b8fb9f2ec6","parentUUID":"07fcfaf9-05f0-466c-844e-7e82a91475ec","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":31330,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"52cf8a70-e4e2-43cc-a2a3-6a8938b91fcd","parentUUID":"07fcfaf9-05f0-466c-844e-7e82a91475ec","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":31002,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"2db2bdca-097b-48e7-a7ed-25f7607f0b58","parentUUID":"07fcfaf9-05f0-466c-844e-7e82a91475ec","isHook":false,"skipped":false}],"suites":[],"passes":["1fadc1e7-2452-4d06-b4e5-64b8fb9f2ec6","52cf8a70-e4e2-43cc-a2a3-6a8938b91fcd","2db2bdca-097b-48e7-a7ed-25f7607f0b58"],"failures":[],"pending":[],"skipped":[],"duration":94170,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3f2ee282-7bef-4d80-bd33-9075f175b3fb","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":"7a52ca9a-80c7-409a-9b3d-6fdd8a0b5893","title":"Delete a contact","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete contacts","fullTitle":"Delete a contact Should delete contacts","timedOut":null,"duration":25504,"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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `5`, but never found it. Queried from element: [ <td>, 3 more... ]","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `5`, but never found it. Queried from element: [ <td>, 3 more... ]\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/05delete_contacts.spec.js:111:21)","diff":null},"uuid":"9b7ac02e-97e8-4261-9f8a-f0d196af8cc3","parentUUID":"7a52ca9a-80c7-409a-9b3d-6fdd8a0b5893","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9b7ac02e-97e8-4261-9f8a-f0d196af8cc3"],"pending":[],"skipped":[],"duration":25504,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"de08fab8-e059-4a90-9830-feac5e3b169a","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":"b96e0b68-347e-4bb1-801b-db2f170de165","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":40054,"state":"passed","speed":"slow","pass":true,"fail":false,"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().type('Update1', {\n force: true\n});\ncy.get('#last_name-input').then(function ($element) {\n cy.get($element).clear().type('Update2', {\n force: true\n });\n var rand = userID_Alpha_Numeric();\n cy.get('.col-10.col-sm-7 input[type=\"email\"]').clear().type(rand + '@email.com', {\n force: true\n });\n cy.get('.col-md-12 .btn.btn-create').contains('Save').click({\n force: true\n });\n cy.wait(10000);\n cy.url().should('contain', '/contact-detail/');\n cy.get('.page-title.p-title').should('contain', $element.text() + ' Update2');\n});","err":{},"uuid":"1a4a0031-f58a-48b0-b7d5-ebc36132e251","parentUUID":"b96e0b68-347e-4bb1-801b-db2f170de165","isHook":false,"skipped":false}],"suites":[],"passes":["1a4a0031-f58a-48b0-b7d5-ebc36132e251"],"failures":[],"pending":[],"skipped":[],"duration":40054,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"093e2c9d-a1f7-4dc1-b03a-75be59e56c50","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":"61e34e6d-57b5-462f-8a57-0e7e318e9732","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":28950,"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('.btn.mob-btn-import.btn-import.dropdown-toggle').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 after 4000ms: Expected to find element: `4`, but never found it. Queried from element: [ <input.check>, 3 more... ]","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `4`, but never found it. Queried from element: [ <input.check>, 3 more... ]\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/d-contacts/Contacts%20Listing%20Page/07bulk_update.spec.js:107:26)","diff":null},"uuid":"e4de71a8-6651-4f24-8c6b-5c40c47e5db6","parentUUID":"61e34e6d-57b5-462f-8a57-0e7e318e9732","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e4de71a8-6651-4f24-8c6b-5c40c47e5db6"],"pending":[],"skipped":[],"duration":28950,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3bc57bab-19fc-45b8-b2a0-15d47d7194fd","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":"0e3bd288-164d-45c6-8941-9c1b526f50fa","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":22053,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"526ff6f6-e013-4123-b3aa-2027ae7bdd2e","parentUUID":"0e3bd288-164d-45c6-8941-9c1b526f50fa","isHook":false,"skipped":false}],"suites":[],"passes":["526ff6f6-e013-4123-b3aa-2027ae7bdd2e"],"failures":[],"pending":[],"skipped":[],"duration":22053,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"89f28d7f-7002-421a-a4ae-2a1a2d2fd6f1","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":"b6f8dced-bbc9-4c6e-85f2-65158b7c098a","title":"Edit Columns","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Edit contacts table columns","fullTitle":"Edit Columns Edit contacts table columns","timedOut":null,"duration":34288,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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(10000);\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes('Work Phone')) {\n expect(element.text()).to.eq('\\n Work Phone \\n \\n \\n ');\n } else {\n i = i + 1;\n }\n});","err":{},"uuid":"776d3eda-4820-43ee-8dfb-285acb1d3caf","parentUUID":"b6f8dced-bbc9-4c6e-85f2-65158b7c098a","isHook":false,"skipped":false}],"suites":[],"passes":["776d3eda-4820-43ee-8dfb-285acb1d3caf"],"failures":[],"pending":[],"skipped":[],"duration":34288,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e5e8a233-9681-4edb-8325-2be4cfb9cccf","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":"59c26d8a-16a0-435b-8a87-4733c275cbac","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":113751,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#salutation').click({\n force: true\n });\n cy.get('#push_right').click({\n force: 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() == \"Salutation\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"9237b577-89db-4d21-a968-0098ef0cf321","parentUUID":"59c26d8a-16a0-435b-8a87-4733c275cbac","isHook":false,"skipped":false}],"suites":[],"passes":["9237b577-89db-4d21-a968-0098ef0cf321"],"failures":[],"pending":[],"skipped":[],"duration":113751,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e4450226-16de-4245-8955-8b2cb388f03b","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":"73d5e957-e857-45b4-825b-9d9038f70c6d","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":174301,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#customer_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(15000);\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() == \"Customer\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"6e599c18-a614-4138-ad43-bf8ae0046873","parentUUID":"73d5e957-e857-45b4-825b-9d9038f70c6d","isHook":false,"skipped":false}],"suites":[],"passes":["6e599c18-a614-4138-ad43-bf8ae0046873"],"failures":[],"pending":[],"skipped":[],"duration":174301,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bc4d72a8-1b79-4e31-822f-4cd490eec09f","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":"28ff7475-2797-4813-a0b0-8c182ee88b2e","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":116458,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(5000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(5000);\nvar x = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text().includes('First Name')) {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"6afa6934-4956-43b7-bebd-7c3aad6f6ab2","parentUUID":"28ff7475-2797-4813-a0b0-8c182ee88b2e","isHook":false,"skipped":false}],"suites":[],"passes":["6afa6934-4956-43b7-bebd-7c3aad6f6ab2"],"failures":[],"pending":[],"skipped":[],"duration":116458,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"28194659-2e02-4902-8c70-2822ce9a9a40","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":"46f75476-9a53-47a8-9c0d-67c51b8dbe1e","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":185603,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\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() == 'Last Name') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"2a5c79e4-2fa8-404a-9508-703b652413a2","parentUUID":"46f75476-9a53-47a8-9c0d-67c51b8dbe1e","isHook":false,"skipped":false}],"suites":[],"passes":["2a5c79e4-2fa8-404a-9508-703b652413a2"],"failures":[],"pending":[],"skipped":[],"duration":185603,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"400bb017-b5bd-4609-8041-0a59f0ba6404","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":"0ec64cbe-a824-431c-b8db-56abbc7397c2","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":122834,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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(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() == 'Work Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"c5f9012c-778a-41de-b7b9-aad38714aa0b","parentUUID":"0ec64cbe-a824-431c-b8db-56abbc7397c2","isHook":false,"skipped":false}],"suites":[],"passes":["c5f9012c-778a-41de-b7b9-aad38714aa0b"],"failures":[],"pending":[],"skipped":[],"duration":122834,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6364e522-5968-4213-9778-6ed93cf9409a","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":"70c22d17-24c1-478d-9228-9f8267f2e20b","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":122450,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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(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() == 'Personal Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"1fa6b091-4b2e-4cee-9460-676b31c1be7f","parentUUID":"70c22d17-24c1-478d-9228-9f8267f2e20b","isHook":false,"skipped":false}],"suites":[],"passes":["1fa6b091-4b2e-4cee-9460-676b31c1be7f"],"failures":[],"pending":[],"skipped":[],"duration":122450,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f6707c3-8aa5-4981-8646-4a37d67d80b7","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":"11743358-4cae-41a6-a4ee-6d97d75b328b","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":253067,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(3000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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(3000);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(3000);\nvar y,\n x = 0;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == 'Email') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"78a851ce-5fce-446f-ba6c-3122e927b260","parentUUID":"11743358-4cae-41a6-a4ee-6d97d75b328b","isHook":false,"skipped":false}],"suites":[],"passes":["78a851ce-5fce-446f-ba6c-3122e927b260"],"failures":[],"pending":[],"skipped":[],"duration":253067,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d3bb12da-4c29-4b15-9814-f1b3f721461c","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":"3946f89e-fc02-4de1-a733-606e3b771d39","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":126771,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#other_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(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() == 'Other Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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":{},"uuid":"51d48735-5b3d-47e0-9126-5aa353faf420","parentUUID":"3946f89e-fc02-4de1-a733-606e3b771d39","isHook":false,"skipped":false}],"suites":[],"passes":["51d48735-5b3d-47e0-9126-5aa353faf420"],"failures":[],"pending":[],"skipped":[],"duration":126771,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d1c6973a-c4a2-4939-8a95-b347f99f3618","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":"aa4db768-cee7-4d44-8dce-6fc3a18fe1d5","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":125452,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#home_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(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() == 'Home Phone') {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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":{},"uuid":"6c1e466e-ceac-49c0-8b39-d827db18d7c2","parentUUID":"aa4db768-cee7-4d44-8dce-6fc3a18fe1d5","isHook":false,"skipped":false}],"suites":[],"passes":["6c1e466e-ceac-49c0-8b39-d827db18d7c2"],"failures":[],"pending":[],"skipped":[],"duration":125452,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6526bf72-f122-4ae0-8ac3-ba8af3ecdc8a","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":"e5fbffbc-be08-47f9-92f9-5df2a95b941a","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":123145,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#fax').click({\n force: true\n });\n cy.get('#push_right').click({\n force: 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() == 'Fax') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"0bd58b8f-9a33-4009-ae36-cc9abd3e6762","parentUUID":"e5fbffbc-be08-47f9-92f9-5df2a95b941a","isHook":false,"skipped":false}],"suites":[],"passes":["0bd58b8f-9a33-4009-ae36-cc9abd3e6762"],"failures":[],"pending":[],"skipped":[],"duration":123145,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a65aaa7f-85ae-4814-8420-090f0b64efe0","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":"76be637a-2f98-401f-89bc-eacd5c27d4a0","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":126270,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(15000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Primary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"6a189bb1-07f8-4fcd-a7eb-89e594915306","parentUUID":"76be637a-2f98-401f-89bc-eacd5c27d4a0","isHook":false,"skipped":false}],"suites":[],"passes":["6a189bb1-07f8-4fcd-a7eb-89e594915306"],"failures":[],"pending":[],"skipped":[],"duration":126270,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0328fcd0-7e30-4c04-bf74-9c8e9ed7775a","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":"e20676ba-1c18-4fdb-93cf-5594cd9a0750","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":125896,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Primary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"480bc0ec-ed09-40b3-9ecf-444533513fa2","parentUUID":"e20676ba-1c18-4fdb-93cf-5594cd9a0750","isHook":false,"skipped":false}],"suites":[],"passes":["480bc0ec-ed09-40b3-9ecf-444533513fa2"],"failures":[],"pending":[],"skipped":[],"duration":125896,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"adee68fe-7949-4e15-a001-b23572158e03","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":"4b7d47ab-be33-4d1d-84cb-1f1a21aef653","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":120321,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Primary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"86ef6dc4-3a44-4a45-954e-b565ab2a7d89","parentUUID":"4b7d47ab-be33-4d1d-84cb-1f1a21aef653","isHook":false,"skipped":false}],"suites":[],"passes":["86ef6dc4-3a44-4a45-954e-b565ab2a7d89"],"failures":[],"pending":[],"skipped":[],"duration":120321,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4321848d-46e3-4f22-a550-cfbd8a7965c3","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":"62849d76-b27d-442a-b7d0-c56aaeed6b1c","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":121822,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Primary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"a666eca0-05a2-4565-8061-d3c6d1c4d11a","parentUUID":"62849d76-b27d-442a-b7d0-c56aaeed6b1c","isHook":false,"skipped":false}],"suites":[],"passes":["a666eca0-05a2-4565-8061-d3c6d1c4d11a"],"failures":[],"pending":[],"skipped":[],"duration":121822,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fefc57ae-16bb-4f3a-80f1-6b629cfafd82","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":"79c6416d-f0df-4b69-ae24-d18d6baf18a7","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":120606,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Primary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"dfa8066e-0c3c-4a3d-9682-ef75563b17be","parentUUID":"79c6416d-f0df-4b69-ae24-d18d6baf18a7","isHook":false,"skipped":false}],"suites":[],"passes":["dfa8066e-0c3c-4a3d-9682-ef75563b17be"],"failures":[],"pending":[],"skipped":[],"duration":120606,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"938efed9-852d-4fbc-b8ec-461afedc3b50","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":"a08506ee-9c6c-4dd7-bba7-24a50a7ba6af","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":121779,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Primary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"40530e43-1871-451b-a794-d806431a2fe8","parentUUID":"a08506ee-9c6c-4dd7-bba7-24a50a7ba6af","isHook":false,"skipped":false}],"suites":[],"passes":["40530e43-1871-451b-a794-d806431a2fe8"],"failures":[],"pending":[],"skipped":[],"duration":121779,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3ba23402-9f57-4cef-9df9-83aa1cd83dd0","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":"91d02962-07ab-40f0-b068-695a20b7e134","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":120333,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Secondary Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"88d69a29-676f-41a1-b1c0-a7f059229965","parentUUID":"91d02962-07ab-40f0-b068-695a20b7e134","isHook":false,"skipped":false}],"suites":[],"passes":["88d69a29-676f-41a1-b1c0-a7f059229965"],"failures":[],"pending":[],"skipped":[],"duration":120333,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"677f87ba-a675-49fa-b3bb-e11cf53f0637","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":"831dfe1d-ca8c-4a8e-8ff0-4c3b574862fb","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":122195,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Secondary Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"f2d1e10e-7a28-4ebf-b1c9-a76c76598afb","parentUUID":"831dfe1d-ca8c-4a8e-8ff0-4c3b574862fb","isHook":false,"skipped":false}],"suites":[],"passes":["f2d1e10e-7a28-4ebf-b1c9-a76c76598afb"],"failures":[],"pending":[],"skipped":[],"duration":122195,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"66482fdc-714a-4024-a6eb-fde99d4dc707","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":"2cffdd66-015e-4575-9c0b-8aee00d567af","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":120903,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Secondary Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"9ee75ee1-aa97-4ed8-a5cd-c89e0242fc32","parentUUID":"2cffdd66-015e-4575-9c0b-8aee00d567af","isHook":false,"skipped":false}],"suites":[],"passes":["9ee75ee1-aa97-4ed8-a5cd-c89e0242fc32"],"failures":[],"pending":[],"skipped":[],"duration":120903,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"11715278-25fd-4c65-908c-0c143b7c2a5c","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":"ef2031fb-2477-4799-903a-eb55b569b79b","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":121259,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Secondary State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"14e16f56-e43b-48ed-a745-f14674a99b37","parentUUID":"ef2031fb-2477-4799-903a-eb55b569b79b","isHook":false,"skipped":false}],"suites":[],"passes":["14e16f56-e43b-48ed-a745-f14674a99b37"],"failures":[],"pending":[],"skipped":[],"duration":121259,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e307fbb1-1abc-45c9-bfa0-af272d186910","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":"430f9df1-2698-4e48-aea3-e52e04f45874","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":120644,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Secondary City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"ad23b1af-9568-449c-82d8-eaa140792df0","parentUUID":"430f9df1-2698-4e48-aea3-e52e04f45874","isHook":false,"skipped":false}],"suites":[],"passes":["ad23b1af-9568-449c-82d8-eaa140792df0"],"failures":[],"pending":[],"skipped":[],"duration":120644,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ec1a9274-56e5-4ad7-9424-f5ef05dbf558","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":"847776ad-6167-4e71-a708-977e43910315","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":121109,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Secondary Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"c837da5f-935a-434c-bb54-8dc5282e8052","parentUUID":"847776ad-6167-4e71-a708-977e43910315","isHook":false,"skipped":false}],"suites":[],"passes":["c837da5f-935a-434c-bb54-8dc5282e8052"],"failures":[],"pending":[],"skipped":[],"duration":121109,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48fb9280-1dc5-44c1-b9de-694a5f4a8605","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":"90d59c48-2898-4b80-aeea-0c1bc1d4f7d0","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":74631,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"084e8c43-c5a9-4603-94d5-80ef85bf946b","parentUUID":"90d59c48-2898-4b80-aeea-0c1bc1d4f7d0","isHook":false,"skipped":false}],"suites":[],"passes":["084e8c43-c5a9-4603-94d5-80ef85bf946b"],"failures":[],"pending":[],"skipped":[],"duration":74631,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1fde9f28-9831-47bc-af38-69aaadb459b1","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":"97133cde-a250-4384-9693-fa6673be2b9f","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":133755,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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(1000);\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('#sidebar_checkboxes .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 = 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('#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":{},"uuid":"d070d45a-187a-41d2-8d78-60cca4c93b3e","parentUUID":"97133cde-a250-4384-9693-fa6673be2b9f","isHook":false,"skipped":false}],"suites":[],"passes":["d070d45a-187a-41d2-8d78-60cca4c93b3e"],"failures":[],"pending":[],"skipped":[],"duration":133755,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22595f30-84a9-4aaf-bd91-0098f5134606","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":"bc97043b-38c5-498f-b7f7-0474eecbda40","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":56219,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#is_primary').click({\n force: true\n });\n cy.get('#push_right').click({\n force: 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() == \"Is Primary\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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 + \"] i\";\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":{},"uuid":"e0dcbe6c-7927-4b82-8489-f57033787ee1","parentUUID":"bc97043b-38c5-498f-b7f7-0474eecbda40","isHook":false,"skipped":false}],"suites":[],"passes":["e0dcbe6c-7927-4b82-8489-f57033787ee1"],"failures":[],"pending":[],"skipped":[],"duration":56219,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5f49cc9-243d-408d-8357-dd7ccadc35ce","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":"4f3af740-df07-4840-8a89-f7e2f6f846b4","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":123972,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/contacts\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').contains('More').click({\n force: true\n}).then(function () {\n cy.contains('Edit Columns').click({\n force: true\n });\n cy.get('#data_source').click({\n force: true\n });\n cy.get('#push_right').click({\n force: 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() == 'Data Source') {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"2ac0d727-b3b7-462a-9599-d761287e8fc9","parentUUID":"4f3af740-df07-4840-8a89-f7e2f6f846b4","isHook":false,"skipped":false}],"suites":[],"passes":["2ac0d727-b3b7-462a-9599-d761287e8fc9"],"failures":[],"pending":[],"skipped":[],"duration":123972,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0b513a66-7893-480e-9ff9-a3e4d1926e0e","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":"6d2ef269-a332-4844-9654-a62ab9d86818","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":12975,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"8262b83d-306d-4b25-ae27-00952314b860","parentUUID":"6d2ef269-a332-4844-9654-a62ab9d86818","isHook":false,"skipped":false},{"title":"Fill the form and click CTA","fullTitle":"Create product Fill the form and click CTA","timedOut":null,"duration":23006,"state":"passed","speed":"slow","pass":true,"fail":false,"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('button.btn.btn-create').eq(1).contains('Save').click({\n force: true\n});","err":{},"uuid":"891342b0-dd29-4646-a914-bd837d52b988","parentUUID":"6d2ef269-a332-4844-9654-a62ab9d86818","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":86,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.location('pathname').should('include', 'product-detail');\ncy.get('.page-title').should('contain', 'Cyp_test_product');","err":{},"uuid":"94cf5349-9379-4064-b6bc-fba1aa4f562c","parentUUID":"6d2ef269-a332-4844-9654-a62ab9d86818","isHook":false,"skipped":false}],"suites":[],"passes":["8262b83d-306d-4b25-ae27-00952314b860","891342b0-dd29-4646-a914-bd837d52b988","94cf5349-9379-4064-b6bc-fba1aa4f562c"],"failures":[],"pending":[],"skipped":[],"duration":36067,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ec61e87b-8664-445e-a848-9bfadfe77c21","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":"e4d68cd3-ec6e-4079-a678-44e62c42d394","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":45324,"state":"passed","speed":"slow","pass":true,"fail":false,"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('#related-table-plan .sf-pagination-wrapper span.bold').eq(0).then(function (Plan1) {\n createPlan();\n cy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n });\n cy.get('#related-table-plan .sf-pagination-wrapper span.bold').eq(0).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('#related-table-plan .sf-pagination-wrapper span.bold').eq(0).then(function (Plan2) {\n var count = 1;\n expect(count).to.eq(parseFloat(Plan2.text()));\n });\n }\n});","err":{},"uuid":"143f77c0-84e8-4b8e-a775-4be931ce54b2","parentUUID":"e4d68cd3-ec6e-4079-a678-44e62c42d394","isHook":false,"skipped":false}],"suites":[],"passes":["143f77c0-84e8-4b8e-a775-4be931ce54b2"],"failures":[],"pending":[],"skipped":[],"duration":45324,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b8d1e5cc-6319-4353-9abb-9038ea620973","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":"7db01d78-c719-4315-a4e8-ac3088ee3200","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":30274,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\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('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().click();\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:140:8)","diff":null},"uuid":"46f032a7-107a-442a-8f6b-7851de48d8a2","parentUUID":"7db01d78-c719-4315-a4e8-ac3088ee3200","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["46f032a7-107a-442a-8f6b-7851de48d8a2"],"pending":[],"skipped":[],"duration":30274,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c682dbc3-7ff6-495a-9e35-234b1e3abb30","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":"41428bc6-2af0-44e5-8b09-01698520fd24","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":28408,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\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('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:142:8)","diff":null},"uuid":"dbe7cfa9-30f1-4a99-8aff-1b8dbe2b628b","parentUUID":"41428bc6-2af0-44e5-8b09-01698520fd24","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dbe7cfa9-30f1-4a99-8aff-1b8dbe2b628b"],"pending":[],"skipped":[],"duration":28408,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"062c3464-0689-4838-9ad7-b7a3d67d889c","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":"e9037080-f69e-4650-9e1e-aef364346cbe","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":31658,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:142:8)","diff":null},"uuid":"fff516b3-3019-44f9-af10-3fcf0e608104","parentUUID":"e9037080-f69e-4650-9e1e-aef364346cbe","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fff516b3-3019-44f9-af10-3fcf0e608104"],"pending":[],"skipped":[],"duration":31658,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"061bd09b-e199-448e-85d6-071f56dc793c","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":"db3c4c02-3f0b-4b3f-bfd2-6c874bf7768e","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":28661,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:142:8)","diff":null},"uuid":"4b5a12a7-0598-4911-8f82-d97323d76a09","parentUUID":"db3c4c02-3f0b-4b3f-bfd2-6c874bf7768e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b5a12a7-0598-4911-8f82-d97323d76a09"],"pending":[],"skipped":[],"duration":28661,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d3af9499-47ee-4fca-88b3-d77e029a363d","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":"2bd78b4a-c3dd-4057-8dab-fad8a5476c78","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":29508,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/07HPP_Trial_CreditCard_Stripe.spec.js:142:8)","diff":null},"uuid":"ce3f442b-c064-4831-9c5e-865ac0713a6c","parentUUID":"2bd78b4a-c3dd-4057-8dab-fad8a5476c78","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ce3f442b-c064-4831-9c5e-865ac0713a6c"],"pending":[],"skipped":[],"duration":29508,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"68c35c61-4b04-4096-bc42-fb500f14f9f3","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":"ebfd81a1-d1fb-44c2-b757-2001f3dbd6bb","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":29074,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:142:8)","diff":null},"uuid":"01324744-4546-4b5f-9e88-74b30cc0e4b5","parentUUID":"ebfd81a1-d1fb-44c2-b757-2001f3dbd6bb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["01324744-4546-4b5f-9e88-74b30cc0e4b5"],"pending":[],"skipped":[],"duration":29074,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"add6f53d-5465-4842-a84f-4eea53fce792","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":"23297b54-3615-4e1a-b39d-024eed109f2c","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":30907,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:142:8)","diff":null},"uuid":"35985b0b-18d7-462b-a98a-6d8c74fe4735","parentUUID":"23297b54-3615-4e1a-b39d-024eed109f2c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["35985b0b-18d7-462b-a98a-6d8c74fe4735"],"pending":[],"skipped":[],"duration":30907,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c6486ad4-7510-4da0-9952-82981d4d4bba","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":"1609e4c2-6af8-41bf-895d-79cbbcecfd92","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":31011,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:142:8)","diff":null},"uuid":"7b974e2d-336d-499a-90c4-c512a9ee0a02","parentUUID":"1609e4c2-6af8-41bf-895d-79cbbcecfd92","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7b974e2d-336d-499a-90c4-c512a9ee0a02"],"pending":[],"skipped":[],"duration":31011,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"22a7713b-74a0-430c-81d4-e54ada1b51b6","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":"6c51e7ab-7f91-4765-b8d0-733527cbbdfd","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":28615,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:142:8)","diff":null},"uuid":"e0a3f309-ec93-45a9-ad61-47b7943b4324","parentUUID":"6c51e7ab-7f91-4765-b8d0-733527cbbdfd","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0a3f309-ec93-45a9-ad61-47b7943b4324"],"pending":[],"skipped":[],"duration":28615,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d567ec45-1eb4-4a9d-be84-1489a89341c5","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":"124436d2-b1f2-45a9-92d3-76c319dc9cf1","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":31835,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:142:8)","diff":null},"uuid":"46216395-e955-4415-a612-8248a2b38db4","parentUUID":"124436d2-b1f2-45a9-92d3-76c319dc9cf1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["46216395-e955-4415-a612-8248a2b38db4"],"pending":[],"skipped":[],"duration":31835,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"76a81113-f92a-495f-aabd-bb42775ced42","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":"1c92cc3e-149a-4fa4-8b69-b738051f7060","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":28771,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\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('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().click();\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/01HPP_Trial_CreditCard_AuthorizeNet.spec.js:140:8)","diff":null},"uuid":"6389140f-57f6-4733-955d-e21bde228be8","parentUUID":"1c92cc3e-149a-4fa4-8b69-b738051f7060","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6389140f-57f6-4733-955d-e21bde228be8"],"pending":[],"skipped":[],"duration":28771,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6cd6de6a-b2a0-4ff1-8857-cf696566dda1","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":"7f11a44e-ef28-4cbb-9838-cd4e451b7b30","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":30643,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\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('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/02HPP_CreditCard_AuthorizeNet.spec.js:142:8)","diff":null},"uuid":"ca8896e8-94ae-4576-8503-14a2491c72e3","parentUUID":"7f11a44e-ef28-4cbb-9838-cd4e451b7b30","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ca8896e8-94ae-4576-8503-14a2491c72e3"],"pending":[],"skipped":[],"duration":30643,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f8bcecfa-f352-4af0-8205-b77afb252bb5","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":"c3778bd7-d04e-4def-b001-2742ee456fee","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":28528,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/03HPP_Trial_BankTransfer_AuthorizeNet.spec.js:142:8)","diff":null},"uuid":"9ce18c0e-b937-473d-b8df-e1ae9ada9f13","parentUUID":"c3778bd7-d04e-4def-b001-2742ee456fee","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9ce18c0e-b937-473d-b8df-e1ae9ada9f13"],"pending":[],"skipped":[],"duration":28528,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0fcfc0c6-cd47-49cb-bfb6-b2199145fa69","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":"01b55db0-c010-4df1-b0ff-dc356b46f5ef","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":30960,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/04HPP_BankTransfer_AuthorizeNet.spec.js:142:8)","diff":null},"uuid":"f9638310-2bc7-4df4-9b64-0c8d6df55614","parentUUID":"01b55db0-c010-4df1-b0ff-dc356b46f5ef","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f9638310-2bc7-4df4-9b64-0c8d6df55614"],"pending":[],"skipped":[],"duration":30960,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"006d281e-e48e-4976-9537-6611e5050069","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":"f0ea480c-18d2-4ea9-a3de-30137d11f91c","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":29376,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/07PP_Trial_CreditCard_Stripe.spec.js:142:8)","diff":null},"uuid":"b7793e59-d675-47a1-9bfb-323be75f9a33","parentUUID":"f0ea480c-18d2-4ea9-a3de-30137d11f91c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b7793e59-d675-47a1-9bfb-323be75f9a33"],"pending":[],"skipped":[],"duration":29376,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"382ebf6e-954a-4284-ac21-aaf697ee7d2b","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":"76df9a44-a9ce-448b-8983-520a929dc63f","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":30469,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/08HPP_CreditCard_Stripe.spec.js:142:8)","diff":null},"uuid":"5b840479-6d15-4e57-af6d-1cc619ff331b","parentUUID":"76df9a44-a9ce-448b-8983-520a929dc63f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5b840479-6d15-4e57-af6d-1cc619ff331b"],"pending":[],"skipped":[],"duration":30469,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"034eec4a-eb2f-42d5-8d2f-699088fad8b1","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":"e39d1eaa-cfdf-4aea-a9a1-e67d53084f79","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":28842,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/09HPP_Trial_BankTransfer_Stripe.spec.js:142:8)","diff":null},"uuid":"bc021729-f0b4-4704-90b9-f51bd88f7130","parentUUID":"e39d1eaa-cfdf-4aea-a9a1-e67d53084f79","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bc021729-f0b4-4704-90b9-f51bd88f7130"],"pending":[],"skipped":[],"duration":28842,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ccb44958-a956-4e05-a325-24e45ad7fa00","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":"922fa819-cbe3-4649-b42b-b0ae7c7f3724","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":29565,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/10HPP_BankTransfer_Stripe.spec.js:142:8)","diff":null},"uuid":"eb6b7010-938f-4e62-a130-67e54fa20cc0","parentUUID":"922fa819-cbe3-4649-b42b-b0ae7c7f3724","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["eb6b7010-938f-4e62-a130-67e54fa20cc0"],"pending":[],"skipped":[],"duration":29565,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"48f34c1d-1b0f-4109-b149-2bbc43cc170c","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":"b7355dc7-4e5f-436c-b955-87558bee84c7","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":30758,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/13HPP_Trial_PayPalExpressCheckout.spec.js:142:8)","diff":null},"uuid":"881ea19e-5dab-4fcd-a33b-f6260a9beb5f","parentUUID":"b7355dc7-4e5f-436c-b955-87558bee84c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["881ea19e-5dab-4fcd-a33b-f6260a9beb5f"],"pending":[],"skipped":[],"duration":30758,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"86072797-2603-40c0-8bb2-602077ab415e","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":"bf72ed92-07e1-47f3-9e97-8d266cc92482","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":28576,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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').click({\n force: true\n});\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://test.subscriptionflow.com');\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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save-advance').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/products');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\ncy.wait(1000);\nvar p = 0;\nvar y;\ncy.get('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n y = \"#filter-condition-field_\" + p + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .scheckbox').eq(p).click({\n force: true\n });\n } else {\n p = p + 1;\n }\n});\nvar i = -2;\nvar j;\ncy.get('#listViewTableEl thead th').each(function (element) {\n if (element.text().includes(\"Name\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + i + \"] a\";\n cy.get('.filerSelect [name=\"filter_condition[status]\"]').select(\"is\", {\n force: true\n });\n cy.get('#select2-status-input-container').click({\n force: true\n });\n cy.get('#select2-status-input-results li').contains('Active').click({\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n cy.wait(10000);\n cy.get(j).first().then(function (element) {\n var prod = element.prop('href');\n cy.visit(prod);\n });\n } else {\n i = i + 1;\n }\n});\ncy.get('[href=\"#Plan-subpanel\"]').contains(' Plan ').click({\n force: true\n});\ncy.get('#related-table-plan').then(function (element) {\n if (!element.text().includes('No Plans Added Yet')) {\n HPP();\n } else {\n cy.get('a[data-title=\"New Plan\"]').click({\n force: true\n });\n var todaysDate = Cypress.moment().format('MM/DD/YYYY');\n var addDays = Cypress.moment(todaysDate, \"MM/DD/YYYY\").add(5, 'days');\n var endDate = Cypress.moment(addDays).format('MM/DD/YYYY');\n cy.get('#name-input').type('cyp_test_product_plan');\n cy.wait(50);\n cy.location('pathname').should('include', 'plans');\n cy.get('#effective_start_date-input').type(todaysDate, {\n force: true\n });\n cy.get('#effective_end_date-input').type(endDate, {\n force: true\n });\n cy.get('textarea[name=\"description\"]').type('cyp_test_product', {\n force: true\n });\n cy.get('.col-md-12 > .btn-create').click({\n force: true\n });\n cy.get('#scroll-style .table.plans-table a').contains('add new').click({\n force: true\n });\n cy.get('.plan_headings').contains('Name').should('be.visible');\n cy.get('.plan_headings').contains('Charge Amount').should('be.visible');\n cy.get('#exampleFormControlInput1').type('cypress one time charge', {\n force: true\n });\n cy.get('textarea[name=\"description\"]').eq(1).type('This is a Description', {\n force: true\n });\n cy.get('#account_code_select option').eq(1).then(function (option) {\n cy.get('#account_code_select').select(option.val(), {\n force: true\n });\n });\n cy.get('#list_price_USD-input').type('20', {\n force: true\n });\n cy.get('button[type=\"submit\"]').eq(0).click({\n force: true\n });\n HPP();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `button[title=\"Edit\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/e-product/HPP/Hpp-Non-Gift-Plan/14HPP_PayPalExpressCheckout.spec.js:142:8)","diff":null},"uuid":"e6f4b690-8b8d-4f12-ab52-8299b7e81f73","parentUUID":"bf72ed92-07e1-47f3-9e97-8d266cc92482","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e6f4b690-8b8d-4f12-ab52-8299b7e81f73"],"pending":[],"skipped":[],"duration":28576,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7b33819a-b487-40e4-93bd-6a01fab44e5f","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":"c69df3ee-2b8e-405d-a45c-907d3317a7c3","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":51541,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"c87a3fc1-4c42-4a47-9007-9da8eb736685","parentUUID":"c69df3ee-2b8e-405d-a45c-907d3317a7c3","isHook":false,"skipped":false}],"suites":[],"passes":["c87a3fc1-4c42-4a47-9007-9da8eb736685"],"failures":[],"pending":[],"skipped":[],"duration":51541,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"18566aef-3a5b-4a51-9286-19cabfdd8627","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":"32865f2b-97e3-4eb6-9451-36e2fb193110","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":52603,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"cb04f155-f5bd-4a94-8262-c0cff626da33","parentUUID":"32865f2b-97e3-4eb6-9451-36e2fb193110","isHook":false,"skipped":false}],"suites":[],"passes":["cb04f155-f5bd-4a94-8262-c0cff626da33"],"failures":[],"pending":[],"skipped":[],"duration":52603,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6b31835a-82e7-43cb-99ed-f122b262eac4","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":"78578737-c269-4167-a561-517d23e02c91","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":54696,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"972ecb89-dcda-4d39-8b5a-60fd90e5d0f9","parentUUID":"78578737-c269-4167-a561-517d23e02c91","isHook":false,"skipped":false}],"suites":[],"passes":["972ecb89-dcda-4d39-8b5a-60fd90e5d0f9"],"failures":[],"pending":[],"skipped":[],"duration":54696,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"09a26ea1-4245-44ed-bda1-dade56ab8faa","title":"","fullFile":"cypress/integration/SF/f-plan/cancel-plan.js","file":"cypress/integration/SF/f-plan/cancel-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"6fdd8b6b-af25-46d9-8040-0dc1476e04cf","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":17090,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"8f9b55ef-0cd7-42c7-ab13-9d3e5d1d0594","parentUUID":"6fdd8b6b-af25-46d9-8040-0dc1476e04cf","isHook":false,"skipped":false}],"suites":[],"passes":["8f9b55ef-0cd7-42c7-ab13-9d3e5d1d0594"],"failures":[],"pending":[],"skipped":[],"duration":17090,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e3a40c18-837a-45fa-a9bf-2198dd75eb63","title":"","fullFile":"cypress/integration/SF/f-plan/create-plan.js","file":"cypress/integration/SF/f-plan/create-plan.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"ff71ed81-fd5e-4d67-a650-6dbdf40e8571","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":19269,"state":"passed","speed":"slow","pass":true,"fail":false,"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-create').click({\n force: true\n});\ncy.location('pathname').should('include', 'plan-detail');\ncy.get('.page-title').should('contain', 'Cyp_test_plan');","err":{},"uuid":"a315f88f-d68d-42f5-b11b-1453362162bc","parentUUID":"ff71ed81-fd5e-4d67-a650-6dbdf40e8571","isHook":false,"skipped":false}],"suites":[],"passes":["a315f88f-d68d-42f5-b11b-1453362162bc"],"failures":[],"pending":[],"skipped":[],"duration":19269,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eaeb2f20-9c2a-49b2-b81e-b9a854c97038","title":"","fullFile":"cypress/integration/SF/g-coupon/cancel-coupon.js","file":"cypress/integration/SF/g-coupon/cancel-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"31094e8e-4b69-4143-ade9-87ab60483b64","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":61415,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"01ee112a-64b5-42f8-a257-0955e5b6e653","parentUUID":"31094e8e-4b69-4143-ade9-87ab60483b64","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":47778,"state":"passed","speed":"slow","pass":true,"fail":false,"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');\ncy.get('#discount_value-input').type('50');\ncy.get('.select2-search__field').click({\n force: true\n});\ncy.wait(8000);\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":{},"uuid":"eed6fcb5-da75-49c6-819b-2d3fa0fee4b0","parentUUID":"31094e8e-4b69-4143-ade9-87ab60483b64","isHook":false,"skipped":false}],"suites":[],"passes":["01ee112a-64b5-42f8-a257-0955e5b6e653","eed6fcb5-da75-49c6-819b-2d3fa0fee4b0"],"failures":[],"pending":[],"skipped":[],"duration":109193,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6c389b7d-27e3-4bbd-a6f6-256e035ef918","title":"","fullFile":"cypress/integration/SF/g-coupon/create-coupon.js","file":"cypress/integration/SF/g-coupon/create-coupon.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"5704aa6b-4824-40c8-8461-f15e99f7902a","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":45862,"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.get('.select2-search__field').click({\n force: true\n});\ncy.wait(10000);\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-create').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-create').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#select2-plan_id-input-results li`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#select2-plan_id-input-results li`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/g-coupon/create-coupon.js:122:8)","diff":null},"uuid":"d21beaa7-556c-4496-a5a9-b984a5e55516","parentUUID":"5704aa6b-4824-40c8-8461-f15e99f7902a","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":34792,"state":"passed","speed":"slow","pass":true,"fail":false,"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');\ncy.get('#discount_value-input').type('50');\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-create').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-create').click({\n force: true\n});\ncy.url().should('include', '/coupon-detail');","err":{},"uuid":"6c69ab7b-fd1b-407f-a084-c274570646b0","parentUUID":"5704aa6b-4824-40c8-8461-f15e99f7902a","isHook":false,"skipped":false}],"suites":[],"passes":["6c69ab7b-fd1b-407f-a084-c274570646b0"],"failures":["d21beaa7-556c-4496-a5a9-b984a5e55516"],"pending":[],"skipped":[],"duration":80654,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f3005731-3183-47c2-94d8-22be8d94951e","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":"954cb80b-7ec6-4f5b-aceb-161d14b84a53","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":58014,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.nav-wrapper ul li').eq(2).contains('Notes').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('.m-left-3.mob-left-3.pointer').contains(' Attach File').should('be.visible');\n cy.get('.m-left-3.mob-left-2.pointer.displaynone').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('.m-left-3.mob-left-2.pointer.displaynone').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\ncy.get('table[class=\"notes-table mt-4\"]').within(function () {\n //Adding note description without title\n cy.get('td').eq(0).then(function (elem) {\n cy.get('textarea[placeholder=\"Add a Note\"]').first().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');\n cy.get('button[id=\"save_note\"]').contains('Save').should('be.visible').click({\n force: true\n });\n cy.wait(3000);\n }); //Adding note with title\n cy.get('td').eq(0).then(function (elem) {\n cy.get('input[placeholder=\"Title\"]').first().clear({\n force: true\n });\n });\n cy.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('textarea[placeholder=\"Add a Note\"]').first().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 });\n}); //...","err":{},"uuid":"90567001-1ea2-4d2c-89ac-0b48b0908129","parentUUID":"954cb80b-7ec6-4f5b-aceb-161d14b84a53","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":43820,"state":"passed","speed":"slow","pass":true,"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":"b7db8d9d-15bc-45b3-9b4c-91b19e081dbf","parentUUID":"954cb80b-7ec6-4f5b-aceb-161d14b84a53","isHook":false,"skipped":false},{"title":"Delete note, should be deleted successfully","fullTitle":"Add/Edit/Delete Notes Delete note, should be deleted successfully","timedOut":null,"duration":43225,"state":"passed","speed":"slow","pass":true,"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":"939d6eb7-012f-4c45-a2b4-720873038739","parentUUID":"954cb80b-7ec6-4f5b-aceb-161d14b84a53","isHook":false,"skipped":false},{"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":35035,"state":"passed","speed":"slow","pass":true,"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":"b1e29e0b-f09c-4454-88ce-34bdca276a2d","parentUUID":"954cb80b-7ec6-4f5b-aceb-161d14b84a53","isHook":false,"skipped":false}],"suites":[],"passes":["90567001-1ea2-4d2c-89ac-0b48b0908129","b7db8d9d-15bc-45b3-9b4c-91b19e081dbf","939d6eb7-012f-4c45-a2b4-720873038739","b1e29e0b-f09c-4454-88ce-34bdca276a2d"],"failures":[],"pending":[],"skipped":[],"duration":180094,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"27b91be1-369b-41f4-ab25-398319b45882","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":"3b996f0f-4bf4-406b-a7de-1d67371203b7","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":38408,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.main-content-container.container-fluid.px-4').within(function () {\n //Comparing customer name\n var firstText;\n var normalizeText = function normalizeText(s) {\n return s.replace(/\\s/g, '').toLowerCase();\n };\n cy.get('.page-title').should('be.visible');\n cy.get('.text-md-right.mt-3.mt-md-0.detail-top-btn').then(function () {\n cy.get('a').eq(0).should('contain', ' Generate Statement');\n cy.get('a').eq(1).should('contain', ' Edit');\n });\n cy.get('.nav.nav-tabs.detail-toggle-c').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 });\n cy.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').click({\n force: true\n });\n cy.get('ul li').eq(0).contains('Process Payment');\n cy.get('ul li').eq(1).contains('Print Preview');\n cy.get('ul li').eq(2).contains('Delete');\n });\n cy.get('#details .card.card-small.mb-4.col-md-12').within(function () {\n cy.get('h5').should('be.visible').contains('Basic Information');\n cy.get('h5').should('be.visible').contains('Address Information');\n });\n});\ncy.get('aside[id=\"mySidenav\"] .nav-wrapper ul').within(function () {\n cy.get('li').eq(0).contains('Info').click();\n cy.get('li').eq(1).should('contain', 'Timeline');\n cy.get('li').eq(2).should('contain', 'Notes');\n cy.get('li').eq(3).should('contain', 'Related List');\n});","err":{},"uuid":"e8ef2f17-7068-4ad5-bce6-40ae9750ccf4","parentUUID":"3b996f0f-4bf4-406b-a7de-1d67371203b7","isHook":false,"skipped":false}],"suites":[],"passes":["e8ef2f17-7068-4ad5-bce6-40ae9750ccf4"],"failures":[],"pending":[],"skipped":[],"duration":38408,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"867f8b1d-ca36-4a12-ba65-b2c2f5376a2c","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":"18032933-e071-4c2a-b6df-81fbc06a9190","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":64242,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"91789993-b55c-4b9b-9b91-b64d7eed2e9c","parentUUID":"18032933-e071-4c2a-b6df-81fbc06a9190","isHook":false,"skipped":false}],"suites":[],"passes":["91789993-b55c-4b9b-9b91-b64d7eed2e9c"],"failures":[],"pending":[],"skipped":[],"duration":64242,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef4e1bc7-bbf8-4e28-b888-a1a31fd89f04","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":"b777b02a-5203-4103-957c-b5c255b16fca","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":155261,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"dc68d8e6-9386-44fb-b169-4a571acbf15c","parentUUID":"b777b02a-5203-4103-957c-b5c255b16fca","isHook":false,"skipped":false}],"suites":[],"passes":["dc68d8e6-9386-44fb-b169-4a571acbf15c"],"failures":[],"pending":[],"skipped":[],"duration":155261,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6c512930-51eb-46c9-bc30-33c31deb37c0","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":"a605aa64-0dd6-4164-b41d-afb7412908e6","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":44931,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"1d2af7b5-2224-4f32-8ca6-5e14da71c57c","parentUUID":"a605aa64-0dd6-4164-b41d-afb7412908e6","isHook":false,"skipped":false}],"suites":[],"passes":["1d2af7b5-2224-4f32-8ca6-5e14da71c57c"],"failures":[],"pending":[],"skipped":[],"duration":44931,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"530f03af-438b-41f2-8205-96f0608bf181","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":"b7780b0c-a5b8-4671-aa78-035f86349337","title":"Privacy Policy","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Verify \"Privacy Policy\" link","fullTitle":"Privacy Policy Verify \"Privacy Policy\" link","timedOut":null,"duration":47645,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"b740fdf7-e922-46f1-b7d4-dd32770485bd","parentUUID":"b7780b0c-a5b8-4671-aa78-035f86349337","isHook":false,"skipped":false}],"suites":[],"passes":["b740fdf7-e922-46f1-b7d4-dd32770485bd"],"failures":[],"pending":[],"skipped":[],"duration":47645,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4f31568a-b826-4c0c-89d7-c1590a36000a","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":"e645d927-bca3-46db-8db9-3be8a03ee1b1","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":101593,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').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 > .pull-right > .mr-3').invoke('removeAttr', 'target').click({\n force: true\n});\naddPublicPaymentMethod();","err":{},"uuid":"642d1bf3-91ef-4830-a67a-797001ffa84e","parentUUID":"e645d927-bca3-46db-8db9-3be8a03ee1b1","isHook":false,"skipped":false}],"suites":[],"passes":["642d1bf3-91ef-4830-a67a-797001ffa84e"],"failures":[],"pending":[],"skipped":[],"duration":101593,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cbd4ffa9-b15a-4e52-b73e-b9ce38b8eef8","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":"17970875-d7c5-445f-adc7-2117e12ee5d4","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":730701,"state":"passed","speed":"slow","pass":true,"fail":false,"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 .pull-right a[data-title=\"New Payment Method\"]').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('Credit Card Holder Information').should('exist');\n cy.get('.modal-content h5').contains('Billing Address Information').should('exist');\n cy.get('.modal-content h5').contains('Credit Card').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 cy.get('#example1 > tbody > :nth-child(1) > :nth-child(3)').should('contain', \"\".concat(testCase.source));\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 cy.get('#relatedList-bulk-action-PaymentMethod_Customer td i').eq(0).should('have.class', 'fa-check');\n }\n function addPaymentMethod2() {\n cy.get('#PaymentMethod-subpanel .pull-right a[data-title=\"New Payment Method\"]').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 .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 i').eq(0).should('have.class', 'fa-check');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td i').eq(1).should('not.have.class', 'fa-check');\n }\n});","err":{},"uuid":"ebf64cbe-358f-4d1d-9990-f0b7067c4f3b","parentUUID":"17970875-d7c5-445f-adc7-2117e12ee5d4","isHook":false,"skipped":false}],"suites":[],"passes":["ebf64cbe-358f-4d1d-9990-f0b7067c4f3b"],"failures":[],"pending":[],"skipped":[],"duration":730701,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f8bd002b-a34e-4aef-9180-b1a53b973b3c","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":"ec42263b-a879-4f93-a4eb-4625c165f9fe","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":919516,"state":"passed","speed":"slow","pass":true,"fail":false,"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 .pull-right a[data-title=\"New Payment Method\"]').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('Credit Card Holder Information').should('exist');\n cy.get('.modal-content h5').contains('Billing Address Information').should('exist');\n cy.get('.modal-content h5').contains('Credit Card').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 cy.get('#example1 > tbody > :nth-child(1) > :nth-child(3)').should('contain', \"\".concat(testCase.source));\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 cy.get('#relatedList-bulk-action-PaymentMethod_Customer td i').eq(0).should('have.class', 'fa-check');\n }\n function addPaymentMethod2() {\n cy.get('#PaymentMethod-subpanel .pull-right a[data-title=\"New Payment Method\"]').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 .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 i').eq(0).should('have.class', 'fa-check');\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer td i').eq(1).should('not.have.class', 'fa-check');\n }\n});","err":{},"uuid":"5cc50f6b-4989-4a95-b647-22c97769b714","parentUUID":"ec42263b-a879-4f93-a4eb-4625c165f9fe","isHook":false,"skipped":false}],"suites":[],"passes":["5cc50f6b-4989-4a95-b647-22c97769b714"],"failures":[],"pending":[],"skipped":[],"duration":919516,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e68b23ee-55d2-4c1a-adf2-69c2acbd85ba","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":"b102c701-8395-427c-b8cc-dd64e2ab82ea","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":241364,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"e04c344f-494f-4cb8-85aa-223007c851c8","parentUUID":"b102c701-8395-427c-b8cc-dd64e2ab82ea","isHook":false,"skipped":false}],"suites":[],"passes":["e04c344f-494f-4cb8-85aa-223007c851c8"],"failures":[],"pending":[],"skipped":[],"duration":241364,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6b54af0b-2688-480c-af24-d28e5c60ae5c","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":"0b9ea04b-032e-4384-9306-58d3a4c90b96","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":261063,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"307d6cd3-eee2-4ae2-8333-78be26176540","parentUUID":"0b9ea04b-032e-4384-9306-58d3a4c90b96","isHook":false,"skipped":false}],"suites":[],"passes":["307d6cd3-eee2-4ae2-8333-78be26176540"],"failures":[],"pending":[],"skipped":[],"duration":261063,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98e20ad5-68b5-4aed-812a-6b45d9f4dac5","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":"5f4d735e-c8cd-44fa-bec2-0f87d88796bf","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":713877,"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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `tbody > :nth-child(1) > :nth-child(8)`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `tbody > :nth-child(1) > :nth-child(8)`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/03Add_10_Authorize.Net_Payment.spec.js:690:53)","diff":null},"uuid":"02663b2b-2deb-4f39-aed0-323365816152","parentUUID":"5f4d735e-c8cd-44fa-bec2-0f87d88796bf","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["02663b2b-2deb-4f39-aed0-323365816152"],"pending":[],"skipped":[],"duration":713877,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d3aecd82-d30d-4afa-ab7e-d4a46d8143ed","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":"755e4614-2aa3-4902-a56c-4a9e85508aed","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":158270,"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":"AssertionError: expected '9' to equal '1'","estack":"AssertionError: expected '9' to equal '1'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/04Add_Payment_CreditCard_Stripe.spec.js:226:29)","diff":"- '9'\n+ '1'\n"},"uuid":"0a569fe7-e85b-4da2-b684-4db1b228b81f","parentUUID":"755e4614-2aa3-4902-a56c-4a9e85508aed","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["0a569fe7-e85b-4da2-b684-4db1b228b81f"],"pending":[],"skipped":[],"duration":158270,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c469c479-3111-4983-9d1e-1d77c1db882a","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":"0fdf4dc7-3009-4581-a31f-1567e31064c3","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":154247,"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":"AssertionError: expected '5' to equal '1'","estack":"AssertionError: expected '5' to equal '1'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/05Add_Payment_BankTransfer_Stripe.spec.js:196:29)","diff":"- '5'\n+ '1'\n"},"uuid":"3759530a-f522-46b1-8d54-6d04f64d4e0b","parentUUID":"0fdf4dc7-3009-4581-a31f-1567e31064c3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3759530a-f522-46b1-8d54-6d04f64d4e0b"],"pending":[],"skipped":[],"duration":154247,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"56e4d228-b9b0-4fcd-ab26-493457da0014","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":"a38f4c18-d14d-43fd-80c2-e2a7c7b51568","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":233338,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"827dba9a-79a9-4b69-acab-6a130582caa5","parentUUID":"a38f4c18-d14d-43fd-80c2-e2a7c7b51568","isHook":false,"skipped":false}],"suites":[],"passes":["827dba9a-79a9-4b69-acab-6a130582caa5"],"failures":[],"pending":[],"skipped":[],"duration":233338,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb98161f-93f9-4970-b77f-4238d6dd90b2","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":"411b8589-cea3-445e-9f9c-8dec742af43c","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":207503,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"c0d3da55-9ac3-4dce-85b1-0a80ef20e1e8","parentUUID":"411b8589-cea3-445e-9f9c-8dec742af43c","isHook":false,"skipped":false}],"suites":[],"passes":["c0d3da55-9ac3-4dce-85b1-0a80ef20e1e8"],"failures":[],"pending":[],"skipped":[],"duration":207503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3a660122-0281-4d91-886f-445b0674e3e9","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":"8971d7f0-624c-4ed7-a9ce-8cbc1db49c0b","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":229215,"state":"passed","speed":"slow","pass":true,"fail":false,"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 i').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 i').eq(0).should('not.have.class', 'fa-check');\n }\n});","err":{},"uuid":"95e398f3-8ec3-4deb-b041-b2902688b548","parentUUID":"8971d7f0-624c-4ed7-a9ce-8cbc1db49c0b","isHook":false,"skipped":false}],"suites":[],"passes":["95e398f3-8ec3-4deb-b041-b2902688b548"],"failures":[],"pending":[],"skipped":[],"duration":229215,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42c4c878-821f-48dd-b687-39bcad3aeb7d","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":"b4a581bf-2266-4bc2-841a-8d56fce31043","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":138313,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"75ce9e7e-2d8d-457d-b133-6d62dd3daecf","parentUUID":"b4a581bf-2266-4bc2-841a-8d56fce31043","isHook":false,"skipped":false}],"suites":[],"passes":["75ce9e7e-2d8d-457d-b133-6d62dd3daecf"],"failures":[],"pending":[],"skipped":[],"duration":138313,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2baf8c65-1e40-4731-8701-6e37f4a82dc2","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":"746381e3-dcb4-4787-b81f-2354fc0d789d","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":84377,"state":"passed","speed":"slow","pass":true,"fail":false,"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 .pull-right a[data-title=\"New Payment Method\"]').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":{},"uuid":"8743e85f-1b71-443f-ac7a-afd3e9dfb7d8","parentUUID":"746381e3-dcb4-4787-b81f-2354fc0d789d","isHook":false,"skipped":false}],"suites":[],"passes":["8743e85f-1b71-443f-ac7a-afd3e9dfb7d8"],"failures":[],"pending":[],"skipped":[],"duration":84377,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6d44027e-9845-45b9-92b4-26aae7497fa4","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":"1a650ac2-4576-459f-931e-e108b51f51e6","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":135027,"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 .pull-right a[data-title=\"New Payment Method\"]').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#save_button_dis`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#save_button_dis`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/12Edit_Payment_Method.spec.js:193:10)","diff":null},"uuid":"82895712-89e6-478d-baf1-792f504c591c","parentUUID":"1a650ac2-4576-459f-931e-e108b51f51e6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["82895712-89e6-478d-baf1-792f504c591c"],"pending":[],"skipped":[],"duration":135027,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"15ecec16-5b16-4dd5-925c-9780a1a6d055","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":"fd6c8301-0015-4841-a047-ac217bb8f5a1","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":83094,"state":"passed","speed":"slow","pass":true,"fail":false,"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 .pull-right a[data-title=\"New Payment Method\"]').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":{},"uuid":"2f649dd6-d810-4bc0-98b4-799200b12e01","parentUUID":"fd6c8301-0015-4841-a047-ac217bb8f5a1","isHook":false,"skipped":false}],"suites":[],"passes":["2f649dd6-d810-4bc0-98b4-799200b12e01"],"failures":[],"pending":[],"skipped":[],"duration":83094,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"01aec84d-185c-4407-bc27-e9e6f7072f40","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":"8ef1b4cb-0eec-4ee4-9986-85efcc415eec","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":258436,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"7791e956-d48a-4b20-b2eb-8467d3f5f515","parentUUID":"8ef1b4cb-0eec-4ee4-9986-85efcc415eec","isHook":false,"skipped":false}],"suites":[],"passes":["7791e956-d48a-4b20-b2eb-8467d3f5f515"],"failures":[],"pending":[],"skipped":[],"duration":258436,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"627f536a-6248-4413-9bf7-a252d31cd250","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":"a2bb6a63-f719-425d-8746-9ab82b3c342c","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":135438,"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 .pull-right a[data-title=\"New Payment Method\"]').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#save_button_dis`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#save_button_dis`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Add%20Payment%20Method/20Edit_Payment_Method.spec.js:190:10)","diff":null},"uuid":"f78b85ca-8060-4eed-9fd6-abe21312ce03","parentUUID":"a2bb6a63-f719-425d-8746-9ab82b3c342c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f78b85ca-8060-4eed-9fd6-abe21312ce03"],"pending":[],"skipped":[],"duration":135438,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2b5a4069-7955-4bed-8eba-2fcb99a48a72","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":"4e9613d6-3e01-40bb-b58c-d921446b482e","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":161270,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"cab0eb03-8deb-472d-b022-18d22d957287","parentUUID":"4e9613d6-3e01-40bb-b58c-d921446b482e","isHook":false,"skipped":false}],"suites":[],"passes":["cab0eb03-8deb-472d-b022-18d22d957287"],"failures":[],"pending":[],"skipped":[],"duration":161270,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"51b93664-9bf4-4a5f-8597-7c93e726606c","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":"c50915f9-cc48-4e0b-b87f-9425bfb452cf","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":168264,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"8f18c1bc-19ab-4469-af62-83afd854bb35","parentUUID":"c50915f9-cc48-4e0b-b87f-9425bfb452cf","isHook":false,"skipped":false}],"suites":[],"passes":["8f18c1bc-19ab-4469-af62-83afd854bb35"],"failures":[],"pending":[],"skipped":[],"duration":168264,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2bb096b4-d479-488a-809b-919e41d78d79","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":"2f7d3c72-99a5-4e9f-b486-162c01e96bf8","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":144654,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').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('#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":{},"uuid":"a91124ce-1d71-4c50-96b1-c04719bb2024","parentUUID":"2f7d3c72-99a5-4e9f-b486-162c01e96bf8","isHook":false,"skipped":false}],"suites":[],"passes":["a91124ce-1d71-4c50-96b1-c04719bb2024"],"failures":[],"pending":[],"skipped":[],"duration":144654,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"98d9049f-60ab-4045-b62b-b3be9766e716","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":"32435edf-fae0-4321-92e0-761012931829","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":174636,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').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.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":{},"uuid":"962492ff-e4fd-45d0-93be-e0f3d5c1ab1c","parentUUID":"32435edf-fae0-4321-92e0-761012931829","isHook":false,"skipped":false}],"suites":[],"passes":["962492ff-e4fd-45d0-93be-e0f3d5c1ab1c"],"failures":[],"pending":[],"skipped":[],"duration":174636,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"05159827-3dac-4883-a0f4-db4dbab46cc0","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":"8cc8695c-1cc0-44f9-bf3f-aca46d7c36ad","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":137181,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\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":{},"uuid":"4c35a6d3-8965-4b05-b386-1e7d806f3c03","parentUUID":"8cc8695c-1cc0-44f9-bf3f-aca46d7c36ad","isHook":false,"skipped":false}],"suites":[],"passes":["4c35a6d3-8965-4b05-b386-1e7d806f3c03"],"failures":[],"pending":[],"skipped":[],"duration":137181,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb5910fc-b27d-4cdd-82e9-16b60dbaf1e8","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":"57ec01f0-1373-4d05-af50-eb1423affb05","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":36228,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(15000);\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.get('.actions-dropdown > .btn').click();\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/01Allocate_Existing_Credits.spec.js:137:8)","diff":null},"uuid":"3cf52a60-b641-4945-b5f1-6198aa02708a","parentUUID":"57ec01f0-1373-4d05-af50-eb1423affb05","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3cf52a60-b641-4945-b5f1-6198aa02708a"],"pending":[],"skipped":[],"duration":36228,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"31ce6e3f-8f0c-4dd4-b08d-b76eb82fa32f","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":"52290a57-c5c7-42f7-935d-329b5ba28a74","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":38751,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').click({\n force: true\n});\ncy.wait(20000);\ncy.reload();\nallocateCredits();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/02Allocate_Existing_Credits_Amt_Gtr_Balance.spec.js:137:8)","diff":null},"uuid":"c8e0d997-63b3-4204-87b2-bd620cbf58d1","parentUUID":"52290a57-c5c7-42f7-935d-329b5ba28a74","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c8e0d997-63b3-4204-87b2-bd620cbf58d1"],"pending":[],"skipped":[],"duration":38751,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d4cc7f04-d5ce-475c-8163-a13295b89894","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":"1fd90d8e-6194-42c4-98a6-66f71e357847","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":38164,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/03Allocate_Existing_Credits_Amt_Lt_Balance.spec.js:137:8)","diff":null},"uuid":"4bdf89d3-4d52-4214-84db-337c6ed7f8dc","parentUUID":"1fd90d8e-6194-42c4-98a6-66f71e357847","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4bdf89d3-4d52-4214-84db-337c6ed7f8dc"],"pending":[],"skipped":[],"duration":38164,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b5267042-6dde-49a2-92a8-d0cfa3ae13aa","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":"28dbbac1-5745-4245-b42a-af74c251e965","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":36265,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').click({\n force: true\n});\ncy.wait(7000);\ncy.reload();\nallocateCredits();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/04Allocate_Existing_Credits_Amt_Gtr_Outstanding.spec.js:137:8)","diff":null},"uuid":"d99edfc2-7ece-4615-8faa-528760a218b5","parentUUID":"28dbbac1-5745-4245-b42a-af74c251e965","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["d99edfc2-7ece-4615-8faa-528760a218b5"],"pending":[],"skipped":[],"duration":36265,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"b68a3f21-9319-4dd7-9970-403be48212e5","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":"2908e443-b9f7-4e13-927d-897a31ff0ab3","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":37818,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/05Allocate_Existing_Credits_Amt_Lt_Outstanding.spec.js:137:8)","diff":null},"uuid":"54c64f1c-13b7-4742-86cf-cb76f3234f5c","parentUUID":"2908e443-b9f7-4e13-927d-897a31ff0ab3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["54c64f1c-13b7-4742-86cf-cb76f3234f5c"],"pending":[],"skipped":[],"duration":37818,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"99a03b34-9d89-4e0c-81c6-db57564659d2","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":"3d867780-3efe-48f7-a5aa-0a0fd0092311","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":37803,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/06Allocate_Existing_Credits_Amt_eq_Outstanding.spec.js:137:8)","diff":null},"uuid":"66d266b9-18e2-4d18-bcc8-9eaa0bc22e08","parentUUID":"3d867780-3efe-48f7-a5aa-0a0fd0092311","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["66d266b9-18e2-4d18-bcc8-9eaa0bc22e08"],"pending":[],"skipped":[],"duration":37803,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"319ff2c4-416d-4d54-bafa-3d1b26bba091","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":"2d5542e4-b0d9-411b-a627-06dd4d5de497","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":36319,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-existing-subscription').click({\n force: true\n});\ncy.wait(8000);\ncy.get('button.select-subscription').eq(0).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('#next-button').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/07Allocate_Existing_Credits_Multiple_Invoices.spec.js:137:8)","diff":null},"uuid":"f452421d-6360-4a5a-9e8f-4a5b6c738415","parentUUID":"2d5542e4-b0d9-411b-a627-06dd4d5de497","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f452421d-6360-4a5a-9e8f-4a5b6c738415"],"pending":[],"skipped":[],"duration":36319,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c883e162-676f-40d5-a9bd-53a7d049b45b","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":"f1cc2b01-87c0-403d-bc68-3894352bb8b3","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":36841,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/08Create_And_Allocate_Credits.spec.js:137:8)","diff":null},"uuid":"22e1acbd-48ff-4a17-b06d-7b7405dea026","parentUUID":"f1cc2b01-87c0-403d-bc68-3894352bb8b3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["22e1acbd-48ff-4a17-b06d-7b7405dea026"],"pending":[],"skipped":[],"duration":36841,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2a594bee-3b79-489b-9082-43c6c8a3ab31","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":"4035b33e-711f-4d45-809a-cd535e13f5bc","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":38544,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/09Create_And_Allocate_Balance_Gtr_Allocated.spec.js:137:8)","diff":null},"uuid":"e0c5fbbb-f239-4d16-ac83-3847fb2f54d3","parentUUID":"4035b33e-711f-4d45-809a-cd535e13f5bc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e0c5fbbb-f239-4d16-ac83-3847fb2f54d3"],"pending":[],"skipped":[],"duration":38544,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7fca1498-719b-41e2-989b-892e596ae647","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":"99958597-4e82-4b08-b308-edda0609a21e","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":36125,"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('.col-md-12 .btn.btn-create').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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(8000);\ncy.reload();\nallocateCredits();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.related-list > .nav-link`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.related-list > .nav-link`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/10Create_And_Allocate_Balance_Lt_Allocated.spec.js:137:8)","diff":null},"uuid":"fad9b1e4-d016-4042-8f70-72da388a9778","parentUUID":"99958597-4e82-4b08-b308-edda0609a21e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fad9b1e4-d016-4042-8f70-72da388a9778"],"pending":[],"skipped":[],"duration":36125,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ef9e334b-fc67-46cc-a8ec-60bde092bf9c","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":"27efb30c-9757-4630-933e-3330233d8476","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":35936,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(8000);\ncy.reload();\nallocateCredits();","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/11Create_And_Allocate_Balance_Gtr_Outstanding.spec.js:137:8)","diff":null},"uuid":"04902363-031b-4fc1-b552-9c9acd6a0064","parentUUID":"27efb30c-9757-4630-933e-3330233d8476","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["04902363-031b-4fc1-b552-9c9acd6a0064"],"pending":[],"skipped":[],"duration":35936,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"608d49cd-6c1c-4347-9042-eae763d34416","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":"2cbd37cb-cbc4-4c03-a6f9-78ba2b4b849b","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":36054,"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('.col-md-12 .btn.btn-create').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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-wrapper`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.nav-wrapper`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/12Create_And_Allocate_Balance_Lt_Outstanding.spec.js:137:8)","diff":null},"uuid":"98ca0933-fa8f-41a4-99e2-198dab290c13","parentUUID":"2cbd37cb-cbc4-4c03-a6f9-78ba2b4b849b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98ca0933-fa8f-41a4-99e2-198dab290c13"],"pending":[],"skipped":[],"duration":36054,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"18b30759-c838-4ca5-864b-c1f5b18dde27","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":"39bc7482-f2dd-49a1-a3cb-1379cd87ebf2","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":37619,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/13Create_And_Allocate_Balance_Eq_Outstanding.spec.js:137:8)","diff":null},"uuid":"c7a796d0-2881-41ff-81cc-e3fd61566df1","parentUUID":"39bc7482-f2dd-49a1-a3cb-1379cd87ebf2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c7a796d0-2881-41ff-81cc-e3fd61566df1"],"pending":[],"skipped":[],"duration":37619,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2afa9612-f211-4f63-a07f-800003519303","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":"99f9a421-9e38-44f6-ac0d-3ad6c77fe3e7","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":37268,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/14Create_And_Allocate_Multiple_Invoices.spec.js:137:8)","diff":null},"uuid":"c61dff40-ae8f-42fe-b744-c8b166abb2b3","parentUUID":"99f9a421-9e38-44f6-ac0d-3ad6c77fe3e7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c61dff40-ae8f-42fe-b744-c8b166abb2b3"],"pending":[],"skipped":[],"duration":37268,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9bc1eb02-e76b-4bfa-9833-2fce5d4ceebb","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":"d1fc133e-3b50-46e0-b326-10dbe4f389db","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":35907,"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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n});\ncy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n});\ncy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n});\ncy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.wait(3000);\ncy.get('#display-name-continue').click({\n force: true\n});\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#Order-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Credit%20Notes/15Create_And_Dont_Allocate.spec.js:137:8)","diff":null},"uuid":"b9e4cdc6-d3f4-4e8d-87ee-de60e79c951c","parentUUID":"d1fc133e-3b50-46e0-b326-10dbe4f389db","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b9e4cdc6-d3f4-4e8d-87ee-de60e79c951c"],"pending":[],"skipped":[],"duration":35907,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f7d9080-b2af-4982-8057-1e8d118b2b38","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":"78f6ff53-8030-4e52-8307-034f0467b6f0","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":90146,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/01Process_Payment_Cash_Amount_Equal_To_Total_Inv_Amount.spec.js:234:20)","diff":null},"uuid":"3467db41-5bd9-409c-a13d-37a4c26a85e0","parentUUID":"78f6ff53-8030-4e52-8307-034f0467b6f0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3467db41-5bd9-409c-a13d-37a4c26a85e0"],"pending":[],"skipped":[],"duration":90146,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ab6f8d2c-befb-4fcc-8a28-f291f468386e","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":"97776d05-67f8-44f0-b7cf-2c6d8caa203a","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":88921,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/02Process_Payment_Cash_Amount_GreaterThan_Total_Int_Amount.spec.js:239:20)","diff":null},"uuid":"4654109c-b197-4b0c-bdeb-acb6ce0543d6","parentUUID":"97776d05-67f8-44f0-b7cf-2c6d8caa203a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4654109c-b197-4b0c-bdeb-acb6ce0543d6"],"pending":[],"skipped":[],"duration":88921,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a84323d8-cc5a-492b-b1a4-9950f9822b39","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":"0788b48c-94de-4443-9256-12f90d29e0d4","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":93974,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/03Process_Payment_Cheque_Status_Paid.spec.js:240:20)","diff":null},"uuid":"8295a4bb-6b17-4ba9-80e3-3938c73a0c2c","parentUUID":"0788b48c-94de-4443-9256-12f90d29e0d4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8295a4bb-6b17-4ba9-80e3-3938c73a0c2c"],"pending":[],"skipped":[],"duration":93974,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6c84b79c-fe6b-4c10-9f82-cf370e962ff6","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":"5c0c2577-cb37-4bda-8ff0-22775b67e8e2","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":91555,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/04Process_Payment_Cheque_Status_Approve_Pending.spec.js:240:20)","diff":null},"uuid":"7bd9d31d-6855-4548-8221-087731421574","parentUUID":"5c0c2577-cb37-4bda-8ff0-22775b67e8e2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7bd9d31d-6855-4548-8221-087731421574"],"pending":[],"skipped":[],"duration":91555,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6eb5364a-67f7-4560-a9e5-b1d540789d0d","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":"1b24c7d8-30b0-40a7-a77f-85769392c357","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":87482,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/05Process_Payment_Cheque_Status_Decline_Pending.spec.js:237:20)","diff":null},"uuid":"63cad312-247a-42ed-a683-368a9568eb8a","parentUUID":"1b24c7d8-30b0-40a7-a77f-85769392c357","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["63cad312-247a-42ed-a683-368a9568eb8a"],"pending":[],"skipped":[],"duration":87482,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9765df6b-8ee4-4178-a540-cab207330a37","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":"c4d56c45-4a7f-4252-abed-a75901cbd1ac","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":92314,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/06Process_Payment_BankTransfer.spec.js:237:20)","diff":null},"uuid":"55cd17ca-70c4-46ba-9cb3-762345f40bae","parentUUID":"c4d56c45-4a7f-4252-abed-a75901cbd1ac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55cd17ca-70c4-46ba-9cb3-762345f40bae"],"pending":[],"skipped":[],"duration":92314,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7014053e-4045-4491-9069-6781c472cc2e","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":"11a1d63d-24ec-49bf-a415-ea82c227a7f8","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":78748,"state":"passed","speed":"slow","pass":true,"fail":false,"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('.col-md-12 .btn.btn-create').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":{},"uuid":"cf14b30d-decf-4690-b0ba-45d523da1d50","parentUUID":"11a1d63d-24ec-49bf-a415-ea82c227a7f8","isHook":false,"skipped":false}],"suites":[],"passes":["cf14b30d-decf-4690-b0ba-45d523da1d50"],"failures":[],"pending":[],"skipped":[],"duration":78748,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7351a5ee-b672-4c87-a639-1961a34dce29","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":"68b75967-934f-4bc3-adcd-f6a68d07e4c7","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":89213,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/08Process_Payment_Wire_Status_Paid.spec.js:240:20)","diff":null},"uuid":"bab582d7-c5ca-4f29-8b49-6651cb1af94b","parentUUID":"68b75967-934f-4bc3-adcd-f6a68d07e4c7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bab582d7-c5ca-4f29-8b49-6651cb1af94b"],"pending":[],"skipped":[],"duration":89213,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c6f9465-0d00-4dae-a742-1e27b9ed239a","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":"59e9a181-6787-4cdb-98cb-199813c334b5","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":90940,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/09Process_Payment_Wire_Status_Approve_Pending.spec.js:240:20)","diff":null},"uuid":"55cdd755-331f-4574-909b-7aae3b207e47","parentUUID":"59e9a181-6787-4cdb-98cb-199813c334b5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["55cdd755-331f-4574-909b-7aae3b207e47"],"pending":[],"skipped":[],"duration":90940,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7198e1bc-6253-4a5f-aa78-967e761b2400","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":"afb0b24c-0f39-4bd4-88ab-f0bcd48741c1","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":91454,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/10Process_Payment_Wire_Status_Decline_Pending.spec.js:230:20)","diff":null},"uuid":"51aaebac-e5d2-4edb-b9df-49906273b3c8","parentUUID":"afb0b24c-0f39-4bd4-88ab-f0bcd48741c1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["51aaebac-e5d2-4edb-b9df-49906273b3c8"],"pending":[],"skipped":[],"duration":91454,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c3bbacab-a680-4ceb-a66a-7a988ade6641","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":"354cb16f-c8a5-44fb-8857-133c71675089","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Process Payment Make payment through Card","timedOut":null,"duration":128486,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/11Process_Payment_Card.spec.js:257:20)","diff":null},"uuid":"3d07d187-7ec5-4b1a-b1be-16faf9518743","parentUUID":"354cb16f-c8a5-44fb-8857-133c71675089","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3d07d187-7ec5-4b1a-b1be-16faf9518743"],"pending":[],"skipped":[],"duration":128486,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"69642b32-a8f4-4aeb-8b86-f8cb804eb32c","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":"d177481f-fccd-4fa2-b330-17d4999fa8ac","title":"Process Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Process Payment Make payment through eCheck","timedOut":null,"duration":106428,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#account_code_select`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#account_code_select`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/12Process_Payment_eCheck.spec.js:229:14)","diff":null},"uuid":"fa9f6a09-5410-417d-bb7b-92c90407f704","parentUUID":"d177481f-fccd-4fa2-b330-17d4999fa8ac","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fa9f6a09-5410-417d-bb7b-92c90407f704"],"pending":[],"skipped":[],"duration":106428,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2c524ffe-bd0d-4a8e-88d5-68b4d4c9e8d8","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":"7a74406a-2e0b-44cb-a193-cf67aba22d0e","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":88752,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/13Process_Payment_PayPal_Approve.spec.js:256:20)","diff":null},"uuid":"e5c8d8c6-3e66-4a7e-bb1f-c31f7e13154d","parentUUID":"7a74406a-2e0b-44cb-a193-cf67aba22d0e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["e5c8d8c6-3e66-4a7e-bb1f-c31f7e13154d"],"pending":[],"skipped":[],"duration":88752,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"01593763-c929-44b9-ab7b-9ad6e6983f51","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":"7514134b-3823-483f-ae07-62ab535f08c5","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":91552,"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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `undefined`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/14Process_Payment_PayPal_Decline.spec.js:246:20)","diff":null},"uuid":"9d579847-8612-4172-a08f-1979712e7baf","parentUUID":"7514134b-3823-483f-ae07-62ab535f08c5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9d579847-8612-4172-a08f-1979712e7baf"],"pending":[],"skipped":[],"duration":91552,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8d2468c7-3a88-4aec-82f9-93c8f6c9603c","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":"cc3272c5-4394-473b-ac57-622dabc875e2","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":93007,"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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.main-content-container .detail-toggle-c li a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.main-content-container .detail-toggle-c li a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Details%20Page/Process%20Payment/15process_payment_with_paypal.spec.js:186:8)","diff":null},"uuid":"b5f15de7-bbf1-454a-b12a-615d4b654c15","parentUUID":"cc3272c5-4394-473b-ac57-622dabc875e2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b5f15de7-bbf1-454a-b12a-615d4b654c15"],"pending":[],"skipped":[],"duration":93007,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1aadbe29-f498-415c-b5f6-160ab07a582e","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":"4c110b41-b080-4a92-a0c4-75929c094676","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":37882,"state":"passed","speed":"slow","pass":true,"fail":false,"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('.btn.mob-btn-import.btn-import.dropdown-toggle').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":{},"uuid":"4d2e1afa-feec-4366-b50c-fcb5ce996212","parentUUID":"4c110b41-b080-4a92-a0c4-75929c094676","isHook":false,"skipped":false}],"suites":[],"passes":["4d2e1afa-feec-4366-b50c-fcb5ce996212"],"failures":[],"pending":[],"skipped":[],"duration":37882,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ba42d3e5-5bac-41c9-9afd-fdf45526904c","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/02create_customer_spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/02create_customer_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"768e9428-7564-4e63-b30c-7f24ad3d1cf7","title":"Create Customer creation","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When: I click on Customers -> Customers from the main nav","fullTitle":"Create Customer creation When: I click on Customers -> Customers from the main nav","timedOut":null,"duration":120541,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.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('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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.visit('/en/customers');\ncy.contains('Create Customer').click({\n force: true\n});\ncy.url().should('include', '/customers/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible');\ncy.get('#name-input').type('Test Customer', {\n force: true\n}).should('have.value', 'Test Customer');\ncy.get('#name-input').clear();\nvar rand = userID_Alpha_Numeric();\ncy.get('.col-10.col-sm-7 input[type=\"email\"]').type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#phone_number-input').type(\"1dfgdfg4\", {\n force: true\n}).should('have.value', '1dfgdfg4');\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}); // cy.wait(3000)\n// cy.get('#select2-billing_country-input-container').click({force:true})\ncy.wait(8000);\ncy.get('.select2-search__field').type('United States');\ncy.wait(8000);\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(12000);\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(9000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.url().then(function ($myUrl) {\n if ($myUrl == \"https://test.subscriptionflow.com/en/customers/create\") {\n cy.get(':nth-child(1) > .form-group > .invalid-feedback').should('be.visible');\n cy.get('.col-10 > .invalid-feedback').should('be.visible');\n cy.get(':nth-child(2) > .form-group > .invalid-feedback').should('be.visible');\n }\n });\n});\ncy.get('.col-10.col-sm-7 input[type=\"email\"]').type('@mail.com', {\n force: true\n});\ncy.get('#name-input').type('Test Customer', {\n force: true\n});\ncy.get('#phone_number-input').clear({\n force: true\n}).type(\"03004872354\", {\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n});\ncy.get('.page-title').should('contain', 'Test Customer');\ncy.url().should('include', '/customer-detail');","err":{},"uuid":"7971daf0-c7ec-4c71-80c8-655886ee6e23","parentUUID":"768e9428-7564-4e63-b30c-7f24ad3d1cf7","isHook":false,"skipped":false}],"suites":[],"passes":["7971daf0-c7ec-4c71-80c8-655886ee6e23"],"failures":[],"pending":[],"skipped":[],"duration":120541,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f170ccf6-187b-4a57-b298-c5109b1a90d2","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/03cancel_customer_spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/03cancel_customer_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"d762f02d-4a2e-4e1e-ae1b-62743b2235f6","title":"Cancel Customer creation","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"When: I click on Customers -> Customers from the main nav","fullTitle":"Cancel Customer creation When: I click on Customers -> Customers from the main nav","timedOut":null,"duration":107215,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.contains('Create Customer').click({\n force: true\n});\ncy.url().should('include', '/customers/create');\ncy.contains('Basic Information').should('be.visible');\ncy.contains('Address Information').should('be.visible');\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").should('be.visible');\ncy.contains('Cancel').should('be.visible');\ncy.get('#name-input').type('Test Customer', {\n force: true\n}).should('have.value', 'Test Customer');\ncy.get('#name-input').clear();\nvar rand = userID_Alpha_Numeric();\ncy.get('.col-10.col-sm-7 input[type=\"email\"]').type(rand, {\n force: true\n}).should('have.value', rand);\ncy.get('#phone_number-input').type(\"1dfgdfg4\", {\n force: true\n}).should('have.value', '1dfgdfg4');\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(9000);\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(9000);\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(9000);\ncy.get('#select2-shipping_city-input-results li').contains('Adams').click({\n force: true\n});\ncy.get('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n}).then(function () {\n cy.url().then(function ($myUrl) {\n if ($myUrl == \"https://test.subscriptionflow.com/en/customers/create\") {\n cy.get(':nth-child(1) > .form-group > .invalid-feedback').should('be.visible');\n cy.get('.col-10 > .invalid-feedback').should('be.visible');\n cy.get(':nth-child(2) > .form-group > .invalid-feedback').should('be.visible');\n }\n });\n});\ncy.contains('Cancel').click({\n force: true\n});\ncy.url().should('include', '/customers');","err":{},"uuid":"354d23ff-784b-4b5d-9ef9-17f25bbe53fc","parentUUID":"d762f02d-4a2e-4e1e-ae1b-62743b2235f6","isHook":false,"skipped":false}],"suites":[],"passes":["354d23ff-784b-4b5d-9ef9-17f25bbe53fc"],"failures":[],"pending":[],"skipped":[],"duration":107215,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7bdf32b3-4666-43cf-93b0-1c720fdbb6b6","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":"99db2ccf-9344-4388-a110-276dc2352858","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":42257,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"77f3e6be-84af-4b1e-9d1c-424c97260289","parentUUID":"99db2ccf-9344-4388-a110-276dc2352858","isHook":false,"skipped":false}],"suites":[],"passes":["77f3e6be-84af-4b1e-9d1c-424c97260289"],"failures":[],"pending":[],"skipped":[],"duration":42257,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0267d88f-3f9c-4a2d-bca6-d250aa91ebde","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":"ecf7ee23-b2bc-4fd4-be77-bdf05463c929","title":"Delete a customer","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Should delete customers","fullTitle":"Delete a customer Should delete customers","timedOut":null,"duration":103338,"state":"passed","speed":"slow","pass":true,"fail":false,"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 < 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(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('include', $element.text());\n });\n });\n });\n } else {\n z = z + 1;\n }\n});\ncy.wait(10000);\ncy.get('.recordsCount').then(function ($data) {\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.on('window:confirm', function () {\n return false;\n });\n cy.get('.recordsCount').invoke('text').should('include', $data.text());\n});","err":{},"uuid":"1024147f-1fbd-4db1-8fc8-129cf6429d3c","parentUUID":"ecf7ee23-b2bc-4fd4-be77-bdf05463c929","isHook":false,"skipped":false}],"suites":[],"passes":["1024147f-1fbd-4db1-8fc8-129cf6429d3c"],"failures":[],"pending":[],"skipped":[],"duration":103338,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"961337ce-983b-443c-9590-e487374cff7f","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":"fae7dc0d-6631-49a5-acc0-054c2d5f2924","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":26367,"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('.col-md-12 .btn.btn-create').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('.col-md-12 .btn.btn-create').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `4`, but never found it. Queried from element: [ <a#custom-view.show-edit>, 2 more... ]","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `4`, but never found it. Queried from element: [ <a#custom-view.show-edit>, 2 more... ]\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/06edit_customer.spec.js:104:26)","diff":null},"uuid":"c41776cf-cade-4329-b7bd-90c967d15241","parentUUID":"fae7dc0d-6631-49a5-acc0-054c2d5f2924","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c41776cf-cade-4329-b7bd-90c967d15241"],"pending":[],"skipped":[],"duration":26367,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fdbedbc0-c9cb-4618-97f4-859c801d64d7","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":"3128a1f4-e539-4b34-b3c2-4eefa8888fda","title":"Clear Selections","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Unselect all selected entries","fullTitle":"Clear Selections Unselect all selected entries","timedOut":null,"duration":21450,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"60b7413f-affb-443d-b656-2d3d43eff831","parentUUID":"3128a1f4-e539-4b34-b3c2-4eefa8888fda","isHook":false,"skipped":false}],"suites":[],"passes":["60b7413f-affb-443d-b656-2d3d43eff831"],"failures":[],"pending":[],"skipped":[],"duration":21450,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"5c27d367-3ba0-429c-8e32-218a3aec4cc8","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":"f2f8e7e9-38f5-4ca4-a2fd-6e132e14c54e","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":58645,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/08aesc_desc.spec.js:139:10)","diff":null},"uuid":"4cf8e94d-424a-4e97-a742-b43c2660853b","parentUUID":"f2f8e7e9-38f5-4ca4-a2fd-6e132e14c54e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4cf8e94d-424a-4e97-a742-b43c2660853b"],"pending":[],"skipped":[],"duration":58645,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3560350f-39ad-4ce0-b1b5-b8cac311b82d","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":"bb0bdd9d-bafc-4df0-a342-0ca15c70e413","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":25001,"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('.btn.mob-btn-import.btn-import.dropdown-toggle').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `tbody tr td input`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `tbody tr td input`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/09Bulk_update.spec.js:105:8)","diff":null},"uuid":"15adf650-8908-4ccc-ad68-3163960f11fc","parentUUID":"bb0bdd9d-bafc-4df0-a342-0ca15c70e413","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["15adf650-8908-4ccc-ad68-3163960f11fc"],"pending":[],"skipped":[],"duration":25001,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"af2ea6b7-854e-47c6-a6de-fb182896c840","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":"e8aa51d6-74d9-4ab6-aee9-cf99e6efe83f","title":"Export Customer Data","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Export Customer data","fullTitle":"Export Customer Data Export Customer data","timedOut":null,"duration":39776,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(7000);\ncy.get('.text-right > .actions-dropdown > .btn').click({\n force: true\n});\ncy.get('.text-right > .actions-dropdown > .dropdown-menu > :nth-child(3) > a').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-create').as('confirm');\ncy.get('@confirm').should('contain', 'EXPORT').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.notifyjs-corner .notifyjs-wrapper .notifyjs-container .notifyjs-bootstrap-base.notifyjs-bootstrap-success span').should('contain', 'Export is in progress.');\ncy.get('[data-sfuniqueid=\"navbar__admin-settings\"] > #dropdownMenuLink > .nav-link-icon__wrapper > .fas').click({\n force: true\n});\ncy.wait(7000);\ncy.url().should('include', 'en/settings/administration');\ncy.get(':nth-child(4) > :nth-child(3) > .settings-heading').should('contain', 'DATA ADMINISTRATION');\ncy.get(':nth-child(3) > [href=\"https://test.subscriptionflow.com/en/export-records\"]').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(3) > [href=\"https://test.subscriptionflow.com/en/export-records\"]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(3) > [href=\"https://test.subscriptionflow.com/en/export-records\"]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/10Export_Customer_data.spec.js:125:8)","diff":null},"uuid":"13b7fb4d-32b1-4075-9728-0fedcfb2e384","parentUUID":"e8aa51d6-74d9-4ab6-aee9-cf99e6efe83f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["13b7fb4d-32b1-4075-9728-0fedcfb2e384"],"pending":[],"skipped":[],"duration":39776,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"95fc46cb-5027-4fb8-a7dc-fd7ce2497426","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":"cf9f0881-7924-4d3d-82b6-08019a97c23a","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":107039,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\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() == \"Name\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"22bde809-1078-471f-b80a-40cbe3a4a802","parentUUID":"cf9f0881-7924-4d3d-82b6-08019a97c23a","isHook":false,"skipped":false}],"suites":[],"passes":["22bde809-1078-471f-b80a-40cbe3a4a802"],"failures":[],"pending":[],"skipped":[],"duration":107039,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1f2c5556-a112-4a79-9f62-56b41d095e75","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/02filter_by_customernumber.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/02filter_by_customernumber.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"2eaf6345-8fcc-42f6-940b-2eaeb0b84735","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":49608,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Customer Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-3]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-3]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/02filter_by_customernumber.spec.js:154:16)","diff":null},"uuid":"fda4c3f3-d093-45c7-9171-e2434307b29f","parentUUID":"2eaf6345-8fcc-42f6-940b-2eaeb0b84735","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fda4c3f3-d093-45c7-9171-e2434307b29f"],"pending":[],"skipped":[],"duration":49608,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8a77027e-14ff-46cd-9c21-3244c73a0e99","title":"","fullFile":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/03filter_by_phonenumber.spec.js","file":"cypress/integration/SF/h-customer/Customer Listing Page/Customer Filters/03filter_by_phonenumber.spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"a899f1a7-8799-4265-9370-96881bcb5a19","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":70936,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Phone Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-2]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-2]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/03filter_by_phonenumber.spec.js:192:16)","diff":null},"uuid":"53b0459d-8728-465b-8128-bcac591d12b8","parentUUID":"a899f1a7-8799-4265-9370-96881bcb5a19","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["53b0459d-8728-465b-8128-bcac591d12b8"],"pending":[],"skipped":[],"duration":70936,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"777a0641-f150-4036-bd2c-c9ddb36bd6b4","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":"42a0809a-22ca-46a3-963c-c012fa61b905","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":78290,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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(18000);\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() == \"Email\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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('andy1@mail.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(j).each(function (elements) {\n expect(elements.text()).to.include('andy1@mail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"isn't\", {\n force: true\n });\n cy.get(y).type('andy1@mail.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(j).each(function (elements) {\n expect(elements.text()).to.not.include('andy1@mail.com');\n });\n cy.get('.filerSelect [name=\"filter_condition[email]\"]').select(\"contains\", {\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(30000);\n cy.get(j).each(function (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(30000);\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(30000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('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(30000);\n cy.get('tbody tr').then(function (rows) {\n if (rows.text().includes('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(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').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 });\n }\n });\n } else {\n i = i + 1;\n }\n });\n } else {\n x = x + 1;\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-1]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-1]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/04filter_by_email.spec.js:154:16)","diff":null},"uuid":"30f5a272-31c5-4af1-907a-36a56130d8fb","parentUUID":"42a0809a-22ca-46a3-963c-c012fa61b905","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30f5a272-31c5-4af1-907a-36a56130d8fb"],"pending":[],"skipped":[],"duration":78290,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"56dd7a71-62ef-43f6-a3d4-9b0a7151f5ab","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":"eac32244-3315-4ac1-a256-e7b90b6f1bba","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":46706,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"PO Number\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"0609e012-fd2c-45b5-899b-c82d93952cbd","parentUUID":"eac32244-3315-4ac1-a256-e7b90b6f1bba","isHook":false,"skipped":false}],"suites":[],"passes":["0609e012-fd2c-45b5-899b-c82d93952cbd"],"failures":[],"pending":[],"skipped":[],"duration":46706,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88736960-8c9e-4746-babf-d1f0053d01fe","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":"c70ad466-c17f-4201-acc5-5e35c0a50bb6","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":100032,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Legal Entity\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"e0de1037-ab9b-4249-97ed-5a39ac91c003","parentUUID":"c70ad466-c17f-4201-acc5-5e35c0a50bb6","isHook":false,"skipped":false}],"suites":[],"passes":["e0de1037-ab9b-4249-97ed-5a39ac91c003"],"failures":[],"pending":[],"skipped":[],"duration":100032,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c7ff7205-ef08-4cb6-8eee-ace3fdb39c99","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":"36870e46-835a-4c06-a82e-8b7471912c24","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":98792,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing Cycle Day\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"68289d4b-8eb7-4afa-9331-58c03d38792c","parentUUID":"36870e46-835a-4c06-a82e-8b7471912c24","isHook":false,"skipped":false}],"suites":[],"passes":["68289d4b-8eb7-4afa-9331-58c03d38792c"],"failures":[],"pending":[],"skipped":[],"duration":98792,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f0868bc3-a6df-48d5-bef2-fda3ec7d8578","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":"4c14ad30-8dad-4293-9c14-048c91558dd4","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":23265,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\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() == \"Tax Exempt\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"ec076567-f200-495e-af32-a073a04c9ca4","parentUUID":"4c14ad30-8dad-4293-9c14-048c91558dd4","isHook":false,"skipped":false}],"suites":[],"passes":["ec076567-f200-495e-af32-a073a04c9ca4"],"failures":[],"pending":[],"skipped":[],"duration":23265,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8045104a-b539-4e7b-a55c-58795c18bb3c","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":"3e719f8e-82de-431f-be5c-d185caf032aa","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":120238,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Certificate ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"ed1747cf-8c32-4071-a293-d8438445bc12","parentUUID":"3e719f8e-82de-431f-be5c-d185caf032aa","isHook":false,"skipped":false}],"suites":[],"passes":["ed1747cf-8c32-4071-a293-d8438445bc12"],"failures":[],"pending":[],"skipped":[],"duration":120238,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"67d41042-6820-49c2-b4e1-5a40bbafc9f9","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":"51e2945c-8838-49e9-87d3-60ea5d42cbf9","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":120106,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Certificate Type\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"8c92bfe5-3ae6-4db7-8dd6-1f0266b0578b","parentUUID":"51e2945c-8838-49e9-87d3-60ea5d42cbf9","isHook":false,"skipped":false}],"suites":[],"passes":["8c92bfe5-3ae6-4db7-8dd6-1f0266b0578b"],"failures":[],"pending":[],"skipped":[],"duration":120106,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bcfb614e-a5b0-4876-ad7d-1d1296c6dd4c","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":"834f7369-a74e-4760-bdc7-3dcbe8455e68","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":119970,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Issuing Jurisdiction\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"99f96a34-b00b-4c75-a2fb-9d4a9983fb6c","parentUUID":"834f7369-a74e-4760-bdc7-3dcbe8455e68","isHook":false,"skipped":false}],"suites":[],"passes":["99f96a34-b00b-4c75-a2fb-9d4a9983fb6c"],"failures":[],"pending":[],"skipped":[],"duration":119970,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a560920b-687d-4f98-b33c-1f29fc339eae","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":"2adfe682-23f7-4d52-8f08-2fdd7baf642d","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":98922,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Entity Use Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"54e0223c-df50-43cc-8d79-1f7a7e11738a","parentUUID":"2adfe682-23f7-4d52-8f08-2fdd7baf642d","isHook":false,"skipped":false}],"suites":[],"passes":["54e0223c-df50-43cc-8d79-1f7a7e11738a"],"failures":[],"pending":[],"skipped":[],"duration":98922,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d2ad2f43-3d57-4693-a6a5-605c5415bd76","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":"cd60ff23-aa09-45b9-9b8a-542e6d3d3ab1","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":118908,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Description\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"664bccc8-ad67-4815-a143-142b717d7f36","parentUUID":"cd60ff23-aa09-45b9-9b8a-542e6d3d3ab1","isHook":false,"skipped":false}],"suites":[],"passes":["664bccc8-ad67-4815-a143-142b717d7f36"],"failures":[],"pending":[],"skipped":[],"duration":118908,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"94c8de8e-f2a7-4931-a51a-4a1cbb17d369","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":"216207bb-d17b-400a-9047-d19b46e11126","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":49476,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Tax Company\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Techlo' within the element: <li.select2-results__option.select2-results__message> but never did.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find content: 'Techlo' within the element: <li.select2-results__option.select2-results__message> but never did.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/14filter_by_TaxCompany.spec.js:151:61)","diff":null},"uuid":"c57d8059-890f-499c-84ae-d6f50c553983","parentUUID":"216207bb-d17b-400a-9047-d19b46e11126","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c57d8059-890f-499c-84ae-d6f50c553983"],"pending":[],"skipped":[],"duration":49476,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fd76c4da-a485-438b-a5cd-d5da86b2a406","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":"c6c94aef-58f6-493d-82e7-0a9d99c0d758","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":119854,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"VAT ID\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"b8cb9fdd-6b32-4c05-bcd1-0b27ebf74cbd","parentUUID":"c6c94aef-58f6-493d-82e7-0a9d99c0d758","isHook":false,"skipped":false}],"suites":[],"passes":["b8cb9fdd-6b32-4c05-bcd1-0b27ebf74cbd"],"failures":[],"pending":[],"skipped":[],"duration":119854,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3d515fef-6f5a-4ea3-83e2-a29fc3582baa","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":"2bb7fb26-6fed-495f-b155-e07a7e34c1b3","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":55483,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Portal Is Enabled\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"27266d57-4d0c-4a35-b3af-aea84dd6df90","parentUUID":"2bb7fb26-6fed-495f-b155-e07a7e34c1b3","isHook":false,"skipped":false}],"suites":[],"passes":["27266d57-4d0c-4a35-b3af-aea84dd6df90"],"failures":[],"pending":[],"skipped":[],"duration":55483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"efe1ffa5-d834-487c-90d9-26fe6ecf7898","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":"d2132f94-9f91-4fcd-bf8c-d4a40d49d9a2","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":120427,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"de90d867-c287-4b0b-8df1-cb0f0106100f","parentUUID":"d2132f94-9f91-4fcd-bf8c-d4a40d49d9a2","isHook":false,"skipped":false}],"suites":[],"passes":["de90d867-c287-4b0b-8df1-cb0f0106100f"],"failures":[],"pending":[],"skipped":[],"duration":120427,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f22401bb-b1f0-495d-bbd4-9bbfbc8c1232","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":"e601185c-7ae4-4ce6-ad45-84890c9b0cfc","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":119843,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"6cdebed1-5ea6-4002-b950-cd47b80b5129","parentUUID":"e601185c-7ae4-4ce6-ad45-84890c9b0cfc","isHook":false,"skipped":false}],"suites":[],"passes":["6cdebed1-5ea6-4002-b950-cd47b80b5129"],"failures":[],"pending":[],"skipped":[],"duration":119843,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c828b64a-92e9-46d8-90f7-bad886fa61d3","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":"6d9dd286-6f87-45e7-8d2f-0ab79c364cb1","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":119245,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"6301ca8b-069b-4c98-b9d8-8eb37e30cdd0","parentUUID":"6d9dd286-6f87-45e7-8d2f-0ab79c364cb1","isHook":false,"skipped":false}],"suites":[],"passes":["6301ca8b-069b-4c98-b9d8-8eb37e30cdd0"],"failures":[],"pending":[],"skipped":[],"duration":119245,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"72ec92a1-f044-42ff-8987-964ce9da96f8","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":"22e5bd61-1042-4d52-a278-94df38d9ecb8","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":120055,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"08f05903-065d-4b46-9952-de7a96e4eb8e","parentUUID":"22e5bd61-1042-4d52-a278-94df38d9ecb8","isHook":false,"skipped":false}],"suites":[],"passes":["08f05903-065d-4b46-9952-de7a96e4eb8e"],"failures":[],"pending":[],"skipped":[],"duration":120055,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ab370afb-81f9-45b3-8de6-e7c68c0d1df0","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":"13f6a196-5b6d-4ba6-b7e8-6b573bff1d00","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":120335,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"7356d9d7-79c4-42e7-957f-4ad80f5855e3","parentUUID":"13f6a196-5b6d-4ba6-b7e8-6b573bff1d00","isHook":false,"skipped":false}],"suites":[],"passes":["7356d9d7-79c4-42e7-957f-4ad80f5855e3"],"failures":[],"pending":[],"skipped":[],"duration":120335,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2b01fd01-c431-495f-8233-f17b46ed28ff","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":"4abc4e7e-7e14-4b8a-82bd-96e24d422f65","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":119217,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Billing Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"2041b05a-60c4-496f-8051-be0d4c5c4493","parentUUID":"4abc4e7e-7e14-4b8a-82bd-96e24d422f65","isHook":false,"skipped":false}],"suites":[],"passes":["2041b05a-60c4-496f-8051-be0d4c5c4493"],"failures":[],"pending":[],"skipped":[],"duration":119217,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7cf8faf8-4b6e-4866-86a4-62b0271f6a90","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":"eed7d27a-faf9-4ae8-a434-2ed68d06c47c","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":119841,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Shipping Address 1\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"918bffaf-64eb-4d17-8f91-30e6b8a66262","parentUUID":"eed7d27a-faf9-4ae8-a434-2ed68d06c47c","isHook":false,"skipped":false}],"suites":[],"passes":["918bffaf-64eb-4d17-8f91-30e6b8a66262"],"failures":[],"pending":[],"skipped":[],"duration":119841,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fb365672-da80-4cce-8159-6f25fe2040ba","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":"2f0ae912-7157-43e9-8521-fc7d8fc5106b","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":120775,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Shipping Address 2\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"b33a9582-7a13-4dc5-826e-490a5455393b","parentUUID":"2f0ae912-7157-43e9-8521-fc7d8fc5106b","isHook":false,"skipped":false}],"suites":[],"passes":["b33a9582-7a13-4dc5-826e-490a5455393b"],"failures":[],"pending":[],"skipped":[],"duration":120775,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"665c6abd-ffaf-4509-bd92-f1431219dc6d","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":"251ab6d7-cccf-413c-bea9-6cb2ba54cba1","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":102371,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Shipping Country\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-25]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-25]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/25filter_by_ShippingCountry.spec.js:255:16)","diff":null},"uuid":"07513bab-6ad5-481e-853c-32cc89fdd083","parentUUID":"251ab6d7-cccf-413c-bea9-6cb2ba54cba1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["07513bab-6ad5-481e-853c-32cc89fdd083"],"pending":[],"skipped":[],"duration":102371,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cb15aa70-bc2e-41d6-9d42-e645e4772777","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":"69c13ca3-492a-4eed-9eb5-33ca55dbd21b","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":115374,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Shipping State\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-26]`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-26]`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/h-customer/Customer%20Listing%20Page/Customer%20Filters/26filter_by_ShippingState.spec.js:273:16)","diff":null},"uuid":"20ab5907-b24b-4d6a-b889-c6a684b69bdc","parentUUID":"69c13ca3-492a-4eed-9eb5-33ca55dbd21b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["20ab5907-b24b-4d6a-b889-c6a684b69bdc"],"pending":[],"skipped":[],"duration":115374,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"eb8e803b-ce6f-466f-a2d3-59fcb69c2c57","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":"9be7181c-a899-4a8a-afbf-2d291a7d0d4a","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":119441,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Shipping City\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"0e8942e0-6ff8-48f4-b1c9-5f7ffe256efb","parentUUID":"9be7181c-a899-4a8a-afbf-2d291a7d0d4a","isHook":false,"skipped":false}],"suites":[],"passes":["0e8942e0-6ff8-48f4-b1c9-5f7ffe256efb"],"failures":[],"pending":[],"skipped":[],"duration":119441,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"e1c11047-d8f4-4064-b73d-5e7b7677f548","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":"fdfd3034-a316-45b1-adb5-fa20dcc2342e","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":120037,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Shipping Postal Code\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"0350507b-2f7c-48f4-a833-667727c6d1d4","parentUUID":"fdfd3034-a316-45b1-adb5-fa20dcc2342e","isHook":false,"skipped":false}],"suites":[],"passes":["0350507b-2f7c-48f4-a833-667727c6d1d4"],"failures":[],"pending":[],"skipped":[],"duration":120037,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6f170601-ce9c-439c-962a-080290e4b718","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":"5b2d7197-27de-418c-a631-95ea16a0ff09","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":132180,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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":{},"uuid":"7a94b34f-8ee4-49d2-ac35-667e6fef6529","parentUUID":"5b2d7197-27de-418c-a631-95ea16a0ff09","isHook":false,"skipped":false}],"suites":[],"passes":["7a94b34f-8ee4-49d2-ac35-667e6fef6529"],"failures":[],"pending":[],"skipped":[],"duration":132180,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a645302a-6a74-42bb-b569-7ba5ae08c28c","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":"266fd234-f5e7-4bae-9be0-eefa8163136c","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":72423,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\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() == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"7424b195-571b-47a0-adf7-dafd53765191","parentUUID":"266fd234-f5e7-4bae-9be0-eefa8163136c","isHook":false,"skipped":false}],"suites":[],"passes":["7424b195-571b-47a0-adf7-dafd53765191"],"failures":[],"pending":[],"skipped":[],"duration":72423,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"3dc90a02-f302-45de-bc50-fdfb65871b99","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":"9b8705cd-f4bf-429f-8b9d-982d2d1605e8","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":64632,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"/en/customers\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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);\ncy.get('.fa-chevron-right').click({\n force: true\n});\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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Created By\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n console.log(y);\n cy.get('#sidebar_checkboxes .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":{},"uuid":"8ff55b9a-58f3-43cd-b0d3-81b3b67421e8","parentUUID":"9b8705cd-f4bf-429f-8b9d-982d2d1605e8","isHook":false,"skipped":false}],"suites":[],"passes":["8ff55b9a-58f3-43cd-b0d3-81b3b67421e8"],"failures":[],"pending":[],"skipped":[],"duration":64632,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"cdf11715-4141-4a27-b77e-83b9521122cf","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":"3d9ffed4-dcea-48da-978c-802421c753b1","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":36741,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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(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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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 tbody a span').eq(0).click({\n force: true\n});\ncy.get('.row div').contains('Termed').then(function (type) {\n expect(type.text()).equal('Termed');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/01-create_order.spec.js:137:10)","diff":null},"uuid":"f6bde71f-22e0-4136-8d32-607de06de78f","parentUUID":"3d9ffed4-dcea-48da-978c-802421c753b1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f6bde71f-22e0-4136-8d32-607de06de78f"],"pending":[],"skipped":[],"duration":36741,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"42b43b52-aceb-4446-a174-cc85d19b078e","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":"bef32b09-b486-4497-aa29-37c18d48fd0b","title":"Create Evergreen Order","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"An evergreen order is created and verified","fullTitle":"Create Evergreen Order An evergreen order is created and verified","timedOut":null,"duration":34505,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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(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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').click({\n force: true\n });\n cy.wait(8000);\n cy.contains('Subscription Overview').should('be.visible');\n cy.get('#type-evergreen').click({\n force: true\n }).should('be.checked');\n cy.wait(5000);\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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 tbody a span').eq(0).click({\n force: true\n});\ncy.get('.row div').contains('Evergreen').then(function (type) {\n expect(type.text()).equal('Evergreen');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/02-create-evergreen-order.spec.js:137:10)","diff":null},"uuid":"b126091b-842e-46f1-bf66-6425828033ec","parentUUID":"bef32b09-b486-4497-aa29-37c18d48fd0b","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b126091b-842e-46f1-bf66-6425828033ec"],"pending":[],"skipped":[],"duration":34505,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1414067e-f82a-4e5b-88d4-66d63fcccfc5","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":"a4035dde-e69f-490b-b592-baefe5825788","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":34924,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.badge').eq(2).then(function (type) {\n expect(type.text()).equal('Trial');\n expect(type).to.have[\"class\"]('badge-status-trial');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/03-create-trial-order.spec.js:137:10)","diff":null},"uuid":"970d7726-2383-401e-8bae-a8cec63e85ad","parentUUID":"a4035dde-e69f-490b-b592-baefe5825788","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["970d7726-2383-401e-8bae-a8cec63e85ad"],"pending":[],"skipped":[],"duration":34924,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"82da6af8-aead-49ac-89f7-5805aedcd468","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":"966c0d9c-7312-4f2e-bd57-20c2ac9aaa6a","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":33977,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});\ncy.get('[href=\"#Subscription-subpanel\"]').contains(' Subscriptions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header').contains('Gift').then(function (type) {\n expect(type.text()).contains('Gift Detail');\n});\ncy.get('.detail-text').contains('Andy Barymore').should('be.visible');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/04-giftsubs.spec.js:137:10)","diff":null},"uuid":"cc5bf084-7065-476c-a729-2a75d87540d5","parentUUID":"966c0d9c-7312-4f2e-bd57-20c2ac9aaa6a","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["cc5bf084-7065-476c-a729-2a75d87540d5"],"pending":[],"skipped":[],"duration":33977,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"346cf625-a4bd-4f1d-8785-d026d62228cf","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":"3998a32c-6728-4b8e-8cc0-8c173a4151a6","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":34226,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice1) {\n cy.get('[href=\"#Order-subpanel').contains('Orders').click({\n force: true\n });\n cy.get('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').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('button[data-status=\"Draft\"]').contains('Select').click({\n force: true\n });\n cy.wait(12000);\n cy.get('#termed_initial_period-input').clear().type('12');\n cy.get('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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.wait(5000);\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(10000);\n cy.get('.select2-results__options li').first().click({\n force: true\n });\n cy.get('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n cy.reload();\n cy.reload();\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#relatedList-bulk-action-Subscription_Customer tbody a span').eq(0).click({\n force: true\n });\n cy.get('.card-header').contains('Active').then(function (type) {\n expect(type.text()).equal('Active');\n });\n }\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/05-modify-existing-subs.spec.js:137:10)","diff":null},"uuid":"7361f8f5-fbec-4f69-ad23-85be2e96f4f3","parentUUID":"3998a32c-6728-4b8e-8cc0-8c173a4151a6","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7361f8f5-fbec-4f69-ad23-85be2e96f4f3"],"pending":[],"skipped":[],"duration":34226,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6c8c32f3-0486-48b9-88cb-4bc36adc117f","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":"be8a50f8-da5f-4f3d-9587-922c03a8ec38","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":36409,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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(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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/06-increase-quantity.spec.js:140:10)","diff":null},"uuid":"18f5b1ae-ab09-4824-b14b-89acb7171ddf","parentUUID":"be8a50f8-da5f-4f3d-9587-922c03a8ec38","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["18f5b1ae-ab09-4824-b14b-89acb7171ddf"],"pending":[],"skipped":[],"duration":36409,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1e3320ca-9319-43c9-9c89-71a3a40a73f1","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":"c6cdce24-2435-4a76-8090-b8f036f9362f","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":33993,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/07-decrease-quantity.spec.js:140:10)","diff":null},"uuid":"f9e6febb-00fd-4117-8fa8-80690d03a2b7","parentUUID":"c6cdce24-2435-4a76-8090-b8f036f9362f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f9e6febb-00fd-4117-8fa8-80690d03a2b7"],"pending":[],"skipped":[],"duration":33993,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"88431c94-1a7d-44b8-a1c3-6cd1056838d2","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":"c978ae5d-c046-4f82-8b78-fbe2f2974d40","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":35001,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(40000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/08-increase-price.spec.js:140:10)","diff":null},"uuid":"ece799de-f15b-4845-ad8e-bd1adffd5c82","parentUUID":"c978ae5d-c046-4f82-8b78-fbe2f2974d40","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ece799de-f15b-4845-ad8e-bd1adffd5c82"],"pending":[],"skipped":[],"duration":35001,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"63608723-ac80-4acd-b0e5-a90fb4060136","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":"c7e3682c-25f2-4d23-956c-3ea194e7fcaa","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":36931,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(30000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').eq(0).then(function (order2) {\n expect(order1.text()).to.not.eq(order2.text());\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/09-decrease-price.spec.js:140:10)","diff":null},"uuid":"de44b4b9-0292-4789-82b6-ec13519bf6ef","parentUUID":"c7e3682c-25f2-4d23-956c-3ea194e7fcaa","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["de44b4b9-0292-4789-82b6-ec13519bf6ef"],"pending":[],"skipped":[],"duration":36931,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"77d0b322-dcb1-4d71-9f31-19e307714c64","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":"0e2028d5-eaf6-47d5-b449-875fa52ce365","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":35682,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(50000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').eq(0).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 .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n var k = -1;\n var i;\n var j;\n cy.get('#relatedList-bulk-action-Invoice_Customer thead th').each(function (element) {\n if (element.text().includes(\"Opening Balance\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else if (element.text().includes(\"Closing Balance\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(j);\n }\n k++;\n }).then(function () {\n cy.log(\"opening\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + i);\n cy.log(\"closing\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + j);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + i).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + j).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n cy.log('tot1' + tot1);\n cy.log('tot2' + tot2);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/10-change-plan-downgrade.spec.js:140:10)","diff":null},"uuid":"4b38dda3-3741-4b4f-872d-92921ba18f92","parentUUID":"0e2028d5-eaf6-47d5-b449-875fa52ce365","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4b38dda3-3741-4b4f-872d-92921ba18f92"],"pending":[],"skipped":[],"duration":35682,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"d2a7e008-f41a-42d7-bcb8-8aa2f6ac99aa","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":"34cedb86-90d7-4121-9459-62a7b4e15953","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":37049,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(60000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').eq(0).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 .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n var k = -1;\n var i;\n var j;\n cy.get('#relatedList-bulk-action-Invoice_Customer thead th').each(function (element) {\n if (element.text().includes(\"Opening Balance\")) {\n i = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(i);\n } else if (element.text().includes(\"Closing Balance\")) {\n j = \"[data-sfuniqueid = dataTable__table-td-\" + k + \"]\";\n cy.log(j);\n }\n k++;\n }).then(function () {\n cy.log(\"opening\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + i);\n cy.log(\"closing\" + \"#relatedList-bulk-action-Invoice_Customer table tbody \" + j);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + i).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer ' + j).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n cy.log('tot1' + tot1);\n cy.log('tot2' + tot2);\n var ClosingBalance1 = OpeningBalance + tot2 - tot1;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/11-change-plan-upgrade.spec.js:140:10)","diff":null},"uuid":"4897669e-8279-424b-bf69-d043f2c78012","parentUUID":"34cedb86-90d7-4121-9459-62a7b4e15953","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["4897669e-8279-424b-bf69-d043f2c78012"],"pending":[],"skipped":[],"duration":37049,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1e3f9fc2-6c48-479c-a8f9-6207da86bf32","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":"d5bf5576-2c62-4080-aeb8-823cb6415175","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":34780,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(45000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2 - tot1;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/12-change-product-upgrade.spec.js:140:10)","diff":null},"uuid":"c897979c-bdca-43bf-8e0f-fc9566564885","parentUUID":"d5bf5576-2c62-4080-aeb8-823cb6415175","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c897979c-bdca-43bf-8e0f-fc9566564885"],"pending":[],"skipped":[],"duration":34780,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8747888c-740f-40dc-a305-5ec6c58b3d70","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":"f482636a-ae66-4264-8e3b-e070b053bbb8","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":35310,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(45000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + tot2;\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/13-change-product-downgrade.spec.js:140:10)","diff":null},"uuid":"dd3fc798-8eaa-4de7-8a63-0066dc584c28","parentUUID":"f482636a-ae66-4264-8e3b-e070b053bbb8","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd3fc798-8eaa-4de7-8a63-0066dc584c28"],"pending":[],"skipped":[],"duration":35310,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ace36443-dde5-4a9e-acae-25709d3a5ff0","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":"d4287023-9587-47e0-a8ad-871375b2aec7","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":36841,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();\ncy.get('#navbarSupportedContent .fa-cog').click({\n force: true\n});\ncy.url().should('contain', '/settings/administration');\ncy.get('.settings-link').contains('Currencies').click({\n force: true\n});\ncy.url().should('contain', '/settings/payments/currencies');\nvar x = 0;\ncy.get('#tax_table 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 .sf-pagination-wrapper span.bold').eq(0).then(function (order1) {\n cy.get('[href=\"#Invoice-subpanel\"]').contains(' Invoices ').click({\n force: true\n });\n cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('.btn-create').contains('Create Order').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-existing-subscription').should('be.visible');\n cy.get('#btn-new-subscription').should('be.visible');\n cy.get('#btn-new-subscription').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('#renewal_period-input').clear().type('12');\n cy.get('#next-button').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('#next-button').click({\n force: true\n });\n cy.wait(3000);\n cy.get('#display-name-continue').click({\n force: true\n });\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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).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('#Order-subpanel .pull-right a').contains('Order').click({\n force: true\n });\n cy.get('#btn-existing-subscription').click({\n force: true\n });\n cy.wait(45000);\n cy.get('button.select-subscription').eq(0).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('#next-button').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 .sf-pagination-wrapper span.bold').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 cy.get('#related-table-invoice .sf-pagination-wrapper span.bold').eq(0).then(function (invoice2) {\n expect(invoice1.text()).to.not.eq(invoice2.text());\n });\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(7).then(function (OB) {\n var OpeningBalance = OB.text().replace(/[$€,]+/g, \"\");\n OpeningBalance = parseFloat(OpeningBalance);\n cy.get('#relatedList-bulk-action-Invoice_Customer td').eq(8).then(function (CB) {\n var ClosingBalance = CB.text().replace(/[$€,]+/g, \"\");\n ClosingBalance = parseFloat(ClosingBalance);\n var ClosingBalance1 = OpeningBalance + (tot2 - tot1);\n expect(ClosingBalance1).eq(ClosingBalance);\n });\n });\n });\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/i-order/14-add-line-item.spec.js:140:10)","diff":null},"uuid":"489bd3ca-ead5-4b0d-90b2-c6122bab058f","parentUUID":"d4287023-9587-47e0-a8ad-871375b2aec7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["489bd3ca-ead5-4b0d-90b2-c6122bab058f"],"pending":[],"skipped":[],"duration":36841,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4bc20484-6329-42d1-b543-3163c3c41ca8","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":"03e87f72-29df-4790-ae7c-a0927bb5656e","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":49637,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('#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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\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.wait(10000);\ncy.get('#cash_or_card-input').select('Card');\ncy.get('#sale_form i.fas.fa-plus').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Authorize.Net');\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/01Add_payment_method_using_Make_Payment_for_credit_card_using_Authorize.net.spec.js:171:12)","diff":null},"uuid":"ae13215f-02e8-40a3-89bb-a60704cd4d28","parentUUID":"03e87f72-29df-4790-ae7c-a0927bb5656e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ae13215f-02e8-40a3-89bb-a60704cd4d28"],"pending":[],"skipped":[],"duration":49637,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0c2b2989-3cf6-4d09-af32-37a9dd2bb8ab","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":"31b31995-28da-4fee-963a-3bf6a71bf042","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":49623,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('#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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\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.wait(10000);\ncy.get('#cash_or_card-input').select('eCheck');\ncy.get('#sale_form i.fas.fa-plus').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Authorize.Net');\ncy.get('#first_name-input').clear().type('FName');\ncy.get('#last_name-input').clear().type('LName');\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('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');\ncy.get('#account_number-input').type('111111114');\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/02Add_payment_method_using_Make_Payment_for_ACH_using_Authorize.net.spec.js:171:12)","diff":null},"uuid":"7596263c-e148-4878-a0d2-5b3acc2dff26","parentUUID":"31b31995-28da-4fee-963a-3bf6a71bf042","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7596263c-e148-4878-a0d2-5b3acc2dff26"],"pending":[],"skipped":[],"duration":49623,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"291e05eb-443a-4d74-9ce7-054ef6ff72a2","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":"299d573c-c53d-4582-96e8-c3846fd4b183","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":41248,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('#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.on('window:confirm', function () {\n return true;\n }).then(function () {\n cy.wait(8000);\n });\n }\n });\n cy.visit(myUrl);\n});\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.wait(10000);\ncy.get('#cash_or_card-input').select('Card');\ncy.get('#sale_form i.fas.fa-plus').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#payment-gateway-input').select('Stripe');\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[href=\"#PaymentMethod-subpanel`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/04Add_payment_method_using_Make_Payment_for_credit_card_using_Stripe.spec.js:183:10)","diff":null},"uuid":"8ba7619a-191d-4c6d-b173-307bbeadfe6c","parentUUID":"299d573c-c53d-4582-96e8-c3846fd4b183","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8ba7619a-191d-4c6d-b173-307bbeadfe6c"],"pending":[],"skipped":[],"duration":41248,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"9416bee7-a39a-49af-87ac-e69e21ad8c92","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":"00c3a1d7-067d-4c01-8661-60853d9b3f66","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":52623,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('#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.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('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.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck');\n cy.get('#sale_form i.fas.fa-plus').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#payment-gateway-input').select('Stripe');\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 });\n cy.get('#relatedList-bulk-action-PaymentMethod_Customer a.btn').contains('Verify').click({\n force: true\n });\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('button.btn.detail-btn-bars').click({\n force: true\n});\ncy.get('ul li').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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/05Add_payment_method_using_Make_Payment_for_ACH_using_Stripe.spec.js:171:12)","diff":null},"uuid":"bdbc956d-741a-4e17-9ce1-faccdb2ed9e2","parentUUID":"00c3a1d7-067d-4c01-8661-60853d9b3f66","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bdbc956d-741a-4e17-9ce1-faccdb2ed9e2"],"pending":[],"skipped":[],"duration":52623,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"97fee4e8-c043-4382-ab39-11ce859a0a12","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":"3246f2da-f3c7-4526-906b-b41081b28dd4","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":50104,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('#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.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('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.wait(10000);\n cy.get('#cash_or_card-input').select('eCheck');\n cy.get('#sale_form i.fas.fa-plus').click({\n force: true\n });\n cy.wait(8000);\n cy.get('#payment-gateway-input').select('GoCardless');\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('#related-table-paymentmethod td').contains('GoCardless').should('exist');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Add%20Payment%20Method%20using%20Make%20Payment/06Add_Payment_Method_using_Make_Payment_for_ACH_using_GoCardless.spec.js:171:12)","diff":null},"uuid":"9af0aedf-b6bf-4f1e-af92-b5458c400fe4","parentUUID":"3246f2da-f3c7-4526-906b-b41081b28dd4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["9af0aedf-b6bf-4f1e-af92-b5458c400fe4"],"pending":[],"skipped":[],"duration":50104,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"bbba2791-00a1-4ae3-9fcf-3fe6aa5fcfec","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":"cc66858f-09ac-463b-a6e8-f1090d939802","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Cash","fullTitle":"Make Payment Make payment through Cash","timedOut":null,"duration":50021,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment();\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 = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/01Make_Payment_Cash.spec.js:168:12)","diff":null},"uuid":"c1add684-f1bd-4005-9454-3d9df29e34da","parentUUID":"cc66858f-09ac-463b-a6e8-f1090d939802","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["c1add684-f1bd-4005-9454-3d9df29e34da"],"pending":[],"skipped":[],"duration":50021,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6c17ca0e-b291-4baf-bbb3-6af6aeb9947a","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":"fce6f382-a9b1-4c12-9a74-602c45a60e09","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment writeoff","fullTitle":"Make Payment Make payment writeoff","timedOut":null,"duration":49791,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment();\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 = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/02Make_Payment_Writeoff.spec.js:168:12)","diff":null},"uuid":"30f98359-4af6-499b-97cd-4664e03aa4c3","parentUUID":"fce6f382-a9b1-4c12-9a74-602c45a60e09","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["30f98359-4af6-499b-97cd-4664e03aa4c3"],"pending":[],"skipped":[],"duration":49791,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c8de8b15-31a8-437f-b57f-53e6f77b9746","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":"0632741d-e348-44b4-be3d-db1a268d1333","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":50903,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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});\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\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 = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/03Make_Payment_BankTransfer.spec.js:168:12)","diff":null},"uuid":"80ba7d4f-6933-4277-a2cb-37038d8f6509","parentUUID":"0632741d-e348-44b4-be3d-db1a268d1333","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["80ba7d4f-6933-4277-a2cb-37038d8f6509"],"pending":[],"skipped":[],"duration":50903,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"671ed717-f8af-4ec8-9682-379a6e37f43a","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":"a747530a-bd9c-4cc2-968c-005eeeb9c4e9","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":50749,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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});\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction1) {\n makePayment();\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 = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/04Make_Payment_Cheque_Status_Paid.spec.js:168:12)","diff":null},"uuid":"98ba98d8-c3cb-499e-9b69-209ed8b7caab","parentUUID":"a747530a-bd9c-4cc2-968c-005eeeb9c4e9","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["98ba98d8-c3cb-499e-9b69-209ed8b7caab"],"pending":[],"skipped":[],"duration":50749,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"6a802e6e-315b-406a-a9c5-4fbb9526ab81","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":"c64ea154-41b0-46b0-9aad-f4f5d5194a3e","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":50708,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/05Make_Payment_Cheque_Status_Approve_Pending.spec.js:168:12)","diff":null},"uuid":"ac7a7a5f-4b45-41ba-ac58-8fd9027b682c","parentUUID":"c64ea154-41b0-46b0-9aad-f4f5d5194a3e","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["ac7a7a5f-4b45-41ba-ac58-8fd9027b682c"],"pending":[],"skipped":[],"duration":50708,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4607127b-7ac4-4549-bd67-b279d0ea6944","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":"64d58b9f-ba93-45d0-9846-c7b634d86d2f","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":52503,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/06Make_Payment_Cheque_Status_Decline_Pending.spec.js:168:12)","diff":null},"uuid":"a9d8e66a-0b7c-476a-b62a-935ff382adbd","parentUUID":"64d58b9f-ba93-45d0-9846-c7b634d86d2f","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a9d8e66a-0b7c-476a-b62a-935ff382adbd"],"pending":[],"skipped":[],"duration":52503,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dc3d5331-e16a-4876-8b61-9bf0443022c3","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":"ae1b71d4-56bd-481d-93ca-14f3e5050859","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":53133,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment();\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 = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/07Make_Payment_Wire_Status_Paid.spec.js:168:12)","diff":null},"uuid":"dd90845d-c544-4853-b00d-82ae316a7284","parentUUID":"ae1b71d4-56bd-481d-93ca-14f3e5050859","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["dd90845d-c544-4853-b00d-82ae316a7284"],"pending":[],"skipped":[],"duration":53133,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0d06507b-d6c5-4c8a-9845-6af848615ad3","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":"cdb9f2c7-70a4-4d0c-891e-795bd96d7054","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":50595,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/08Make_Payment_Wire_Status_Approve_Pending.spec.js:168:12)","diff":null},"uuid":"1ae8975f-ee69-40d2-8835-ca985f215e7b","parentUUID":"cdb9f2c7-70a4-4d0c-891e-795bd96d7054","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1ae8975f-ee69-40d2-8835-ca985f215e7b"],"pending":[],"skipped":[],"duration":50595,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8c1af022-d471-4d2f-83ce-9e4005e08116","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":"468d9545-4a66-4e62-b758-5c9f571003c0","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":49903,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment(parseFloat(transaction1.text()));\n });\n } else {\n makePayment(0);\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/09Make_Payment_Wire_Status_Decline_Pending.spec.js:168:12)","diff":null},"uuid":"532c9d18-13be-4636-909c-e44b31a3befb","parentUUID":"468d9545-4a66-4e62-b758-5c9f571003c0","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["532c9d18-13be-4636-909c-e44b31a3befb"],"pending":[],"skipped":[],"duration":49903,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"47e06c59-f124-461e-bd78-e33c7fc21372","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":"60627684-1aa1-4361-baf2-a4f09805f618","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through Card","fullTitle":"Make Payment Make payment through Card","timedOut":null,"duration":50022,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment();\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 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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseInt(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/10Make_Payment_Card.spec.js:168:12)","diff":null},"uuid":"a25f2adc-2857-4678-a485-93c0a066e0cd","parentUUID":"60627684-1aa1-4361-baf2-a4f09805f618","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a25f2adc-2857-4678-a485-93c0a066e0cd"],"pending":[],"skipped":[],"duration":50022,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ee80467a-52fb-4357-a1ef-ac7504b6bc7b","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":"74f8ca2d-db87-4779-a575-a31e411c4afb","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through eCheck","fullTitle":"Make Payment Make payment through eCheck","timedOut":null,"duration":49910,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 makePayment();\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 = parseFloat(transaction1.text()) + 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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 .sf-pagination-wrapper span.bold').eq(0).then(function (transaction2) {\n var count = 1;\n expect(count).to.eq(parseFloat(transaction2.text()));\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/11Make_Payment_eCheck.spec.js:168:12)","diff":null},"uuid":"5df19e44-8a1a-493a-8861-cbcd539f2e59","parentUUID":"74f8ca2d-db87-4779-a575-a31e411c4afb","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5df19e44-8a1a-493a-8861-cbcd539f2e59"],"pending":[],"skipped":[],"duration":49910,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"ae4c6893-2551-415b-8210-5c2fcd62b152","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":"f6410fe0-5550-477b-969b-7e8457aef1b1","title":"Make Payment","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Make payment through PayPal","fullTitle":"Make Payment Make payment through PayPal","timedOut":null,"duration":50376,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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});\nmakePayment();\ncy.get('[href=\"#Transaction-subpanel\"]').contains(' Transactions ').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Transaction_Invoice tbody a span').eq(0).click({\n force: true\n});\ncy.get('.card-header .badge').should('have.class', 'badge-status-pending');","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Make%20Payment/12Make_Payment_PayPal.spec.js:168:12)","diff":null},"uuid":"8c1bcc50-d12c-4333-8af9-fbca94c09e40","parentUUID":"f6410fe0-5550-477b-969b-7e8457aef1b1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8c1bcc50-d12c-4333-8af9-fbca94c09e40"],"pending":[],"skipped":[],"duration":50376,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1c51152a-67f1-49e5-ae93-d4f304219ee8","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":"96c74a19-9035-4ba9-a6cb-9aacc66b0f59","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":50919,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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]\"]').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 .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 span').eq(0).click({\n force: true\n });\n cy.get('[data-target=\"#approve-modal\"]').click({\n force: true\n });\n cy.get('#approve-form button[type=\"submit\"]').click({\n force: true\n });\n cy.wait(7000);\n cy.visit(myUrl);\n cy.get('label.badge').should('have.class', 'badge-status-paid');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/01Public_Checkout_Offline_Approve.spec.js:168:12)","diff":null},"uuid":"f68b7497-7ac2-482b-ba12-a89d712a2ee2","parentUUID":"96c74a19-9035-4ba9-a6cb-9aacc66b0f59","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["f68b7497-7ac2-482b-ba12-a89d712a2ee2"],"pending":[],"skipped":[],"duration":50919,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"08c77748-3003-4436-bbaa-ece3dda9d297","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":"9ff835e3-a049-4530-bafb-9e847059493d","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":50118,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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]\"]').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 .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 span').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 button[type=\"submit\"]').click({\n force: true\n });\n cy.visit(myUrl);\n cy.get('label.badge').should('not.have.class', 'badge-status-paid');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/02Public_Checkout_Offline_Decline.spec.js:168:12)","diff":null},"uuid":"2bdc6964-5ef0-42d1-bce6-2a156bf2374e","parentUUID":"9ff835e3-a049-4530-bafb-9e847059493d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["2bdc6964-5ef0-42d1-bce6-2a156bf2374e"],"pending":[],"skipped":[],"duration":50118,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c13f3cd7-1074-4f3f-9557-42ee753a4e71","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":"ee4476a6-f515-40df-925c-d19d9615d111","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":66002,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit('https://test.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('label.badge').should('have.class', 'badge-status-paid');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.btn.mob-btn-import.btn-import.dropdown-toggle`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.btn.mob-btn-import.btn-import.dropdown-toggle`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/03Public_Checkout_CreditCard_AuthorizNet.spec.js:132:8)","diff":null},"uuid":"6897322f-421a-4312-b055-5a7d3e08bda4","parentUUID":"ee4476a6-f515-40df-925c-d19d9615d111","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6897322f-421a-4312-b055-5a7d3e08bda4"],"pending":[],"skipped":[],"duration":66002,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"898069ef-c396-40b1-ae63-904d902a3ac0","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":"a3073385-34fc-4455-906a-0d8f2df29a33","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":63552,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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('Authorize.Net').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.visit(\"https://liveautomation.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('#btn-new-subscription').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get('#next-button').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('#next-button').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(10000);\ncy.visit('https://test.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .scheckbox').eq(x).click({\n force: true\n });\n } else {\n x = x + 1;\n }\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 .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('label.badge').should('have.class', 'badge-status-paid');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = \"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/04Public_Checkout_BankTransfer_AuthorizeNet.spec.js:135:10)","diff":null},"uuid":"75b95a70-ba12-4df7-bd6a-a8a3425fe598","parentUUID":"a3073385-34fc-4455-906a-0d8f2df29a33","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["75b95a70-ba12-4df7-bd6a-a8a3425fe598"],"pending":[],"skipped":[],"duration":63552,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"1a88b04d-b564-4bab-a63c-c341af139061","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":"8d126dcf-3ba0-40f3-8da6-07c32b0b7585","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":83101,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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('Stripe').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#tab-advance-options').click({\n force: true\n});\ncy.wait(8000);\ncy.get('#default-input').then(function (isChecked) {\n if (isChecked.val() == '0') {\n cy.get(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').click({\n force: true\n});\ncy.wait(20000);\ncy.visit('https://test.subscriptionflow.com/en/invoices');\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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('label.badge').should('have.class', 'badge-status-paid');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.btn.mob-btn-import.btn-import.dropdown-toggle`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.btn.mob-btn-import.btn-import.dropdown-toggle`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/06Public_Checkout_CreditCard_Stripe.spec.js:133:8)","diff":null},"uuid":"524ee25c-df57-4f78-9645-18982dfba5cf","parentUUID":"8d126dcf-3ba0-40f3-8da6-07c32b0b7585","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["524ee25c-df57-4f78-9645-18982dfba5cf"],"pending":[],"skipped":[],"duration":83101,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a7c01258-ffe4-47be-97d3-d9f1f875b13c","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":"cc021d3f-695e-4372-a0cb-888f6327324d","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":49441,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/invoices\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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('#sidebar_checkboxes .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.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 .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 span').eq(0).click({\n force: true\n });\n cy.get('.card-header .badge').should('have.class', 'badge-status-pending');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid = dataTable__table-td-0] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/j-invoices/Public%20Checkout/08Public_Checkout_PayPal_ExpressCheckout_Approve.spec.js:169:12)","diff":null},"uuid":"96c7d394-c371-41e8-8503-7b3bb7364447","parentUUID":"cc021d3f-695e-4372-a0cb-888f6327324d","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["96c7d394-c371-41e8-8503-7b3bb7364447"],"pending":[],"skipped":[],"duration":49441,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"75855a52-b6b4-4b2b-8bc6-289b1187b127","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":"2d0bf99d-b802-4179-b64e-c95ede0153d1","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":45136,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/01Pay_Invoice_Using_Unapplied_Amount.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"a02a9bbb-d326-44a8-9309-2b65a2172639","parentUUID":"2d0bf99d-b802-4179-b64e-c95ede0153d1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["a02a9bbb-d326-44a8-9309-2b65a2172639"],"pending":[],"skipped":[],"duration":45136,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4085c788-c88c-4a57-8464-35ef8fdf4c72","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":"d33031f8-f08b-44ce-8fbe-9d9879084b74","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":45348,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/02Pay_Invoice_Using_Unapplied_Amt_Gt_Allocated.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"12f5cca6-1a51-4d93-972d-c52c59e395ec","parentUUID":"d33031f8-f08b-44ce-8fbe-9d9879084b74","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["12f5cca6-1a51-4d93-972d-c52c59e395ec"],"pending":[],"skipped":[],"duration":45348,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"2e5fad58-45bf-46d5-a283-c00e6b2168c2","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":"aac0a28c-b153-47af-bf62-d24b50de6e01","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":45594,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/03Pay_Invoice_Using_Unapplied_Amt_Lt_Allocated.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"bb9b6e44-9858-4951-98e0-279f2b70052f","parentUUID":"aac0a28c-b153-47af-bf62-d24b50de6e01","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["bb9b6e44-9858-4951-98e0-279f2b70052f"],"pending":[],"skipped":[],"duration":45594,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"576fe011-9a06-4bcc-911e-43944fdc3074","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":"531f507f-75c4-49a6-98dd-0f939ffb3821","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":46297,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/04Pay_Invoice_Using_Unapplied_Amt_Lt_Outstanding.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"6c1fecb1-ff3f-4161-9218-fe9a2109d7f4","parentUUID":"531f507f-75c4-49a6-98dd-0f939ffb3821","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["6c1fecb1-ff3f-4161-9218-fe9a2109d7f4"],"pending":[],"skipped":[],"duration":46297,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0d76f47f-7873-44f2-899b-a3622fd280ed","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":"2c65b44d-e276-41f9-84db-100d7a20bdcc","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":46346,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/05Pay_Invoice_Using_Unapplied_Amt_Eq_Outstanding.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"1238af68-d4af-41f7-88cc-21ab1139b986","parentUUID":"2c65b44d-e276-41f9-84db-100d7a20bdcc","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["1238af68-d4af-41f7-88cc-21ab1139b986"],"pending":[],"skipped":[],"duration":46346,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"dd3c0876-9767-430f-b177-ba411ccba3fe","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":"eb4c99f1-31f7-4352-ad16-7767511e3db4","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":45893,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/06Pay_Invoice_Using_Unapplied_Amt_Gtr_Than_Outstanding.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"48b92319-05c2-4e1f-8d34-6a167a1a2cb0","parentUUID":"eb4c99f1-31f7-4352-ad16-7767511e3db4","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["48b92319-05c2-4e1f-8d34-6a167a1a2cb0"],"pending":[],"skipped":[],"duration":45893,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0ce6eae8-c4a1-4103-8975-d6181dd51bab","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":"2f5d243f-cac8-4d17-a5fd-bc9f718721e3","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":45483,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"/en/transactions\");\ncy.check();\ncy.wait(10000);\ncy.get('.btn.mob-btn-import.btn-import.dropdown-toggle').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() == \"Unapplied Amount\") {\n y = \"#filter-condition-field_\" + x + \" input\";\n cy.get('#sidebar_checkboxes .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('#sidebar_checkboxes .scheck span').each(function (spans) {\n if (spans.text() == \"Status\") {\n cy.get('#sidebar_checkboxes .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('input[name=\"filter_value[status]\"]').type('Paid', {\n force: true\n });\n cy.get('.apply-filter').contains('Apply Filter').click({\n force: true\n });\n 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('.col-md-12 .btn.btn-create').contains(\"Save\").click({\n force: true\n });\n }\n });\n createOrder();\n createOrder();\n cy.visit(myUrl);\n });\n }\n});\napplyPayment();","err":{"message":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'","estack":"AssertionError: expected '\\n No Records Found\\n ' to equal 'No Records Found'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/k-transactions/07Pay_Multiple_Invoice_Using_Unapplied_Amt.spec.js:158:40)","diff":"- '\\n No Records Found\\n '\n+ 'No Records Found'\n"},"uuid":"824b3615-8e89-4fe6-bdc0-6c5d719bf519","parentUUID":"2f5d243f-cac8-4d17-a5fd-bc9f718721e3","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["824b3615-8e89-4fe6-bdc0-6c5d719bf519"],"pending":[],"skipped":[],"duration":45483,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"8fc7254d-54eb-48ed-a0c9-def325b1bd7c","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":"5043f743-85ea-4400-a6a4-1c7d8b7b93e7","title":"Timeline","fullFile":"","file":"","beforeHooks":[],"afterHooks":[],"tests":[{"title":"Timeline - Timeline Page","fullTitle":"Timeline Timeline - Timeline Page","timedOut":null,"duration":26094,"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');\ncy.wait(5000);\ncy.get('[data-sfuniqueid=\"dataTable__table-td-0\"] a').then(function (found_uname) {\n expect(found_uname.text()).to.include('Andy Barymore');\n}).click();\ncy.wait(5000);\ncy.get('.page-title.p-title.mob-detail-title').contains('Andy Barymore');\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('.detail-content-c .row-c .mob-panel-header').contains('Upcoming Actions');\ncy.get('.card-header .detail-toggle-c li').eq(0).contains('Payment History').click({\n force: true\n});\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('.card-header .detail-toggle-c li').eq(1).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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/01-timeline-page.js:106:8)","diff":null},"uuid":"7c67083b-64b4-43fd-af55-a855196c6172","parentUUID":"5043f743-85ea-4400-a6a4-1c7d8b7b93e7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["7c67083b-64b4-43fd-af55-a855196c6172"],"pending":[],"skipped":[],"duration":26094,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"a47a296b-360a-43f9-b765-400d138e3ba7","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":"a929abcf-d2f2-48b3-bef5-1de764300c5c","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":62431,"state":"passed","speed":"slow","pass":true,"fail":false,"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);\ncy.get('.page-title.bold').should('contain', 'New Customer');\ncy.get('#name-input').type('Nate Diaz');\ncy.get('#phone_number-input').type('(800)555-1234');\ncy.get('[wt-paste=\"email_address\"] > div > div > input').type('natediaz@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":{},"uuid":"2225a29e-a495-491c-b567-82f84d514483","parentUUID":"a929abcf-d2f2-48b3-bef5-1de764300c5c","isHook":false,"skipped":false}],"suites":[],"passes":["2225a29e-a495-491c-b567-82f84d514483"],"failures":[],"pending":[],"skipped":[],"duration":62431,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f3c9b1bb-a52d-4421-9849-f966c5b2d4be","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":"7409e72b-e708-47dd-9a9c-81cdbe7c03af","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":62563,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit('/en/contacts/create');\ncy.check();\ncy.wait(5000);\ncy.get('.page-title.bold').should('contain', 'New Contact');\ncy.get('#salutation-input').select('Mr.');\ncy.get('#first_name-input').type('Nate');\ncy.get('#last_name-input').type('Diaz');\ncy.get('[wt-paste=\"email_address\"] > div > div > input').type('natediaz@mail.com');\ncy.get('#personal_phone-input').type('(800)555-1234');\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');\ncy.wait(5000);\ncy.get('.select2-dropdown.select2-dropdown--below .select2-results ul li').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');\ncy.get('#billing_address_1-input').type('Kabul Road');\ncy.get('#billing_postal_code-input').type('55555');\ncy.get('.col-md-12 .btn.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('#timeline_container_wrap .timeLineHistInner .timeLineHistDataList li span.d-inline-b.fL.timeLineHistCont.pR .pt10').contains('Current Contact has been created');\ncy.get('.main-content-container .detail-toggle-c li a').eq(0).then(function (name) {\n expect(name.text()).to.equal('Details');\n}).click({\n force: true\n});\ncy.get('.tab-content.detail-content-c #details .col-sm-12 .col-6.col-md-4.detail-text').contains('Nate Diaz').click({\n force: true\n});\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('#timeline_container_wrap .timeLineHistInner .timeLineHistDataList li span.timeLineHistCont.pR').contains('Contact Mr. Nate Diaz has been created');","err":{},"uuid":"6f483fb8-a271-4052-8cd5-e634dea578d0","parentUUID":"7409e72b-e708-47dd-9a9c-81cdbe7c03af","isHook":false,"skipped":false}],"suites":[],"passes":["6f483fb8-a271-4052-8cd5-e634dea578d0"],"failures":[],"pending":[],"skipped":[],"duration":62563,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"fbfb8066-9f2c-44e7-828d-71a114bd29c8","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":"e7b3adec-7680-4312-9f52-4b18efb85c13","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":17813,"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('.col-md-12 > :nth-child(1) > :nth-child(2) > span').then(function (name) {\n var customer_name = name.text().replace(/\\n/g, '');\n cy.get(':nth-child(4) > .link-primary').then(function (phn) {\n var number = phn.text();\n console.log(number);\n cy.get('.page-header .container-fluid-c .row .btn.btn-create.mob-btn-create.no-hover.hvr-shadow.hvr-shrink').eq(1).contains('Edit').click({\n force: true\n });\n cy.get('#name-input').type('Updated');\n cy.get('#phone_number-input').clear();\n cy.get('#phone_number-input').type('1-800-555-1234');\n cy.get('[wt-paste=\"email_address\"] > div > div > input').clear();\n cy.get('[wt-paste=\"email_address\"] > div > div > input').type('andy1@mail.com');\n cy.get('#customer_add_form .row .card .row button.btn.btn-create.no-hover.hvr-shadow.hvr-shrink').contains('Save').click({\n force: true\n });\n cy.get('.timeline-btn').contains('Timeline').click({\n force: true\n });\n cy.get('.card-header .detail-toggle-c li').eq(1).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 ' + name.text() + ' to ' + customer_name + '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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(4) > .link-primary`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `:nth-child(4) > .link-primary`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/04-update-customer.js:108:10)","diff":null},"uuid":"8d5799e3-e6b0-4457-8a1c-7ad4ecedb0fc","parentUUID":"e7b3adec-7680-4312-9f52-4b18efb85c13","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8d5799e3-e6b0-4457-8a1c-7ad4ecedb0fc"],"pending":[],"skipped":[],"duration":17813,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"85119271-b22b-4ee0-8d07-85edd71f96c9","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":"b881e98c-7a00-4c36-8f09-a6ebfb8c099c","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":28080,"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(6) > span').then(function (lName) {\n var lastName = lName.text();\n cy.get(':nth-child(2) > :nth-child(4) > .link-primary').then(function (pPhone) {\n var personal_phone = pPhone.text();\n cy.get('.text-left > .btn-create').click({\n force: true\n });\n cy.get('#last_name-input').type('Updated');\n cy.get('#personal_phone-input').clear();\n cy.get('#personal_phone-input').type('1-800-555-1234');\n cy.get('.col-md-12 > .btn-create').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', 'Last Name was updated from ' + lastName + ' to ' + lastName + '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 + ' to 1-800-555-1234');\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '[ <span.pt10>, 1 more... ]' to contain 'Last Name was updated from Diaz... to Diaz...Updated'","estack":"AssertionError: Timed out retrying after 4000ms: expected '[ <span.pt10>, 1 more... ]' to contain 'Last Name was updated from Diaz... to Diaz...Updated'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/05-update-contact.js:123:111)","diff":null},"uuid":"21e39160-ed7a-45c1-aee3-13858dc1416e","parentUUID":"b881e98c-7a00-4c36-8f09-a6ebfb8c099c","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["21e39160-ed7a-45c1-aee3-13858dc1416e"],"pending":[],"skipped":[],"duration":28080,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4d4ec636-d894-4866-aa0e-6c2e112f3d20","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":"9d821b19-33dd-46ec-8d46-b45ff83c4576","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":53183,"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(':nth-child(8) > .nav-link > :nth-child(1)').click({\n force: true\n});\ncy.get('.pull-right > [data-title=\"New Order\"]').click({\n force: true\n});\ncy.get('#btn-new-subscription').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control-label').click({\n force: true\n});\ncy.get(':nth-child(2) > .custom-control > .custom-control-label').click({\n force: true\n});\ncy.get('#next-button').click({\n force: true\n});\ncy.wait(5000); // cy.get('#appended-form #example1 .input-group [data-select2-id=\"7\"] [data-select2-id=\"8\"] .select2-selection.select2-selection--single #select2-product_id-42-container').click({force:true})\ncy.get(':nth-child(2) > .input-group > .select2 > .selection > .select2-selection > .select2-selection__arrow').click({\n force: true\n});\ncy.get('.select2-search__field').type('Random Product');\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('#next-button').click({\n force: true\n});\ncy.get('#display-name-continue').click({\n force: true\n});\ncy.wait(5000);\ncy.reload();\ncy.get(':nth-child(8) > .nav-link > :nth-child(1)').click({\n force: true\n});\ncy.get('#relatedList-bulk-action-Order_Customer > #example1 > tbody > :nth-child(1) > :nth-child(1) > .btn > span').then(function (order) {\n var orderName = order.text();\n cy.get(':nth-child(10) > .nav-link > :nth-child(1)').click({\n force: true\n });\n cy.get('#relatedList-bulk-action-Subscription_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) > .btn > span').then(function (subscription) {\n var subscriptionName = subscription.text();\n cy.get('#relatedList-bulk-action-Invoice_Customer > #example1 > tbody > :nth-child(1) > :nth-child(2) > .btn > span').eq(0).then(function (invoice) {\n var invoiceName = invoice.text();\n cy.get('.mb-2 > .nav-link > span').click({\n force: true\n });\n cy.get(':nth-child(4) > .nav > :nth-child(2) > .nav-link').click({\n force: true\n });\n cy.get('#other-history > #timeline_container_wrap > .timeLineHistInner > .timeLineHistDataList > :nth-child(1) > .timeLineHistCont > .pt10').should('contain', 'Invoice ' + subscriptionName + ' has been created');\n cy.get(':nth-child(2) > .timeLineHistCont > .pt10').should('contain', 'Invoice TBD has been created');\n cy.get(':nth-child(3) > .timeLineHistCont > .pt10').should('contain', 'Invoice ' + invoiceName + ' has been created');\n cy.get(':nth-child(4) > .timeLineHistCont > .pt10').should('contain', 'Order ' + orderName + ' has been created');\n });\n });\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '[ <span.pt10>, 1 more... ]' to contain 'Invoice SF_56 has been created'","estack":"AssertionError: Timed out retrying after 4000ms: expected '[ <span.pt10>, 1 more... ]' to contain 'Invoice SF_56 has been created'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/06-create-order.js:168:152)","diff":null},"uuid":"43c1e547-1148-40dd-915a-bcd91d3a60fe","parentUUID":"9d821b19-33dd-46ec-8d46-b45ff83c4576","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["43c1e547-1148-40dd-915a-bcd91d3a60fe"],"pending":[],"skipped":[],"duration":53183,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"f501d553-6d7d-474f-841e-65033c4a8443","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":"56fe88a6-fa61-4a8f-8078-fbbd0af009a5","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":63059,"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('.nav > :nth-child(6) > .nav-link > :nth-child(1)').click();\ncy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .create-center-modal').click();\ncy.wait(5000);\ncy.get('#payment-gateway-input').select('Stripe');\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('.col-md-12 > :nth-child(1) > :nth-child(2) > span').then(function (name) {\n cy.get('.mb-2 > .nav-link > span').click();\n cy.get(':nth-child(4) > .nav > :nth-child(2) > .nav-link').click();\n cy.get(':nth-child(1) > .timeLineHistCont > .pt10').should('contain', name.text() + ' New Payment Method Added');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: expected '[ <span.pt10>, 1 more... ]' to contain 'CUST_37 New Payment Method Added'","estack":"AssertionError: Timed out retrying after 4000ms: expected '[ <span.pt10>, 1 more... ]' to contain 'CUST_37 New Payment Method Added'\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/07-add-payment-method.js:157:59)","diff":null},"uuid":"8817e445-b7d4-4882-a017-0867c321ebd4","parentUUID":"56fe88a6-fa61-4a8f-8078-fbbd0af009a5","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["8817e445-b7d4-4882-a017-0867c321ebd4"],"pending":[],"skipped":[],"duration":63059,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"c094aa42-731d-4ac8-a002-9d5d5d7557fb","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":"cf1896d5-5389-485b-bb88-cd193ecbe126","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":88323,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.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(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(isChecked).click({\n force: true\n });\n }\n});\ncy.get('#btn-save').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('.col-md-12 > :nth-child(1) > :nth-child(2) > span').then(function (name) {\n cy.get('#PaymentMethod-subpanel > .card-header > .pull-right > .mr-3').invoke('removeAttr', 'target').click();\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 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(name.text(), {\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(':nth-child(4) > .nav > :nth-child(2) > .nav-link').click();\n cy.get(':nth-child(1) > .timeLineHistCont > .pt10').should('contain', 'Dana White New Payment Method Added');\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `[data-sfuniqueid=\"dataTable__table-td-0\"] a`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/08-add-public-payment-method.js:181:12)","diff":null},"uuid":"3ceb547b-10c3-46f1-8b85-464a2ec9f625","parentUUID":"cf1896d5-5389-485b-bb88-cd193ecbe126","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["3ceb547b-10c3-46f1-8b85-464a2ec9f625"],"pending":[],"skipped":[],"duration":88323,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"89c61598-80f3-4725-a1c8-e04aff0e9694","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":"84a3dc75-1e83-4f27-8150-0371468bc1d7","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":43238,"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('.actions-dropdown > .btn').click();\ncy.get('.text-left > .actions-dropdown > .dropdown-menu > :nth-child(1) > a').click();\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#account_code_select option`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#account_code_select option`, but never found it.\n at payInvoice (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/09-pay-invoice-using-process-payment.js:173:6)\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/09-pay-invoice-using-process-payment.js:120:7)","diff":null},"uuid":"15039132-ea4b-4f42-8352-548ae8e0a95e","parentUUID":"84a3dc75-1e83-4f27-8150-0371468bc1d7","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["15039132-ea4b-4f42-8352-548ae8e0a95e"],"pending":[],"skipped":[],"duration":43238,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"4903e840-f1ba-4b69-8bb1-818eb856de7b","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":"895410c4-2be2-42d9-958c-d78555d68ba2","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":49234,"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('.actions-dropdown > .btn').click();\ncy.get('.text-left > .actions-dropdown > .dropdown-menu > :nth-child(1) > a').click();\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-results__option.select2-results__option--highlighted`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-results__option.select2-results__option--highlighted`, but never found it.\n at createOrder (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/10-pay-multiple-invoice-using-process-payment.js:155:6)\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/10-pay-multiple-invoice-using-process-payment.js:120:13)","diff":null},"uuid":"fd93dd0d-4d3b-4fae-9c2f-72ad96be42b0","parentUUID":"895410c4-2be2-42d9-958c-d78555d68ba2","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["fd93dd0d-4d3b-4fae-9c2f-72ad96be42b0"],"pending":[],"skipped":[],"duration":49234,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"7f7affef-7364-4558-8764-bcad7891123a","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":"e6d7b076-a70b-43e9-8358-796cf8610c7e","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":77852,"state":"passed","speed":"slow","pass":true,"fail":false,"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('.actions-dropdown > .btn').click();\ncy.get('.text-left > .actions-dropdown > .dropdown-menu > :nth-child(1) > a').click();\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":{},"uuid":"4afffaef-d055-47ab-9e2e-0114a30087fa","parentUUID":"e6d7b076-a70b-43e9-8358-796cf8610c7e","isHook":false,"skipped":false}],"suites":[],"passes":["4afffaef-d055-47ab-9e2e-0114a30087fa"],"failures":[],"pending":[],"skipped":[],"duration":77852,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"509799fc-622f-4b11-bf6d-add7aaa308fe","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":"8b4f8be1-72ba-4244-adba-0faf1edf3ea1","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":43009,"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('.actions-dropdown > .btn').click();\ncy.get('.text-left > .actions-dropdown > .dropdown-menu > :nth-child(1) > a').click();\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-results__option.select2-results__option--highlighted`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-results__option.select2-results__option--highlighted`, but never found it.\n at createOrder (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/12-pay-invoice-with-echeck-using-process-payment.js:146:6)\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/12-pay-invoice-with-echeck-using-process-payment.js:112:9)","diff":null},"uuid":"5dc3c0a8-bf51-4bde-985f-e209979feb32","parentUUID":"8b4f8be1-72ba-4244-adba-0faf1edf3ea1","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["5dc3c0a8-bf51-4bde-985f-e209979feb32"],"pending":[],"skipped":[],"duration":43009,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"90cc1eda-c6c3-4a47-9756-cc68a704dc29","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":"266163bd-8c04-4e93-bf26-0a5e17842e38","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":44800,"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('.actions-dropdown > .btn').click();\ncy.get('.text-left > .actions-dropdown > .dropdown-menu > :nth-child(1) > a').click();\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":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-results__option.select2-results__option--highlighted`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.select2-results__option.select2-results__option--highlighted`, but never found it.\n at createOrder (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/13-pay-invoice-with-paypal-using-process-payment.js:145:6)\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/l-timeline/13-pay-invoice-with-paypal-using-process-payment.js:112:9)","diff":null},"uuid":"66837ac0-429b-4011-856a-cd2a1ba2cb61","parentUUID":"266163bd-8c04-4e93-bf26-0a5e17842e38","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["66837ac0-429b-4011-856a-cd2a1ba2cb61"],"pending":[],"skipped":[],"duration":44800,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"0b6a075f-388d-44cc-8ed2-a27d12fb8e62","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":"bef21514-fc23-4169-bb55-19720393a0ca","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":47728,"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('#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(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('#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 });\n cy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({\n force: true\n });\n cy.wait(7000);\n cy.url().should('contain', '/configure/Authorize.Net');\n cy.wait(7000);\n integrateAuthorizeNet();\n } else {\n integrateAuthorizeNet();\n }\n});","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.available-integrations-wrapper strong`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `.available-integrations-wrapper strong`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/m-payment_gateways/01Integrate_Authorize.Net_using_correct_credentials.spec.js:141:12)","diff":null},"uuid":"b4f2ddde-42ec-4bb6-923e-1cd93fb3eaac","parentUUID":"bef21514-fc23-4169-bb55-19720393a0ca","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["b4f2ddde-42ec-4bb6-923e-1cd93fb3eaac"],"pending":[],"skipped":[],"duration":47728,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"03a30951-31be-4e42-94f0-af1e64bd4654","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":"02e39479-1a93-4d1e-84d4-5a363036b782","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":35123,"state":"failed","speed":null,"pass":false,"fail":true,"pending":false,"context":null,"code":"cy.visit(\"\");\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(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});\ncy.get('.available-integrations-wrapper strong').contains('Authorize.Net').click({\n force: true\n});\ncy.wait(7000);\ncy.url().should('contain', '/configure/Authorize.Net');\ncy.wait(7000);\ncy.get('.lead > .badge').should('contain', ' Not Validated');\ncy.get('#get-started').click();\ncy.wait(3000);\ncy.get('#connection > .container > :nth-child(1) > .col-md-4 > .label-custom').should('contain', 'Login ID');\ncy.get('#connection > .container > :nth-child(2) > .col-md-4 > .label-custom').should('contain', 'Transaction Key');\ncy.get('#connection > .container > :nth-child(3) > .col-md-4 > .label-custom').should('contain', 'Client Key');\ncy.get('#connection > .container > :nth-child(4) > .col-md-4 > .label-custom').should('contain', 'Sandbox');\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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'Invalid authentication parameters');\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated'); //...\n//\n//Click on Save button\n//\ncy.get('#btn-save').should('contain', 'Save').click().then(function () {\n cy.get('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'Invalid authentication parameters');\n});\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated'); //...\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-input').type('6rgf6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').type('8zV5G45395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'Invalid authentication parameters');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated'); //...\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-input').type('6rgf6v', {\n force: true\n});\ncy.get('#transaction_key-input').type('8zV5G4395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').type('8gwanze5Sg2Jkm98BGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#btn-save').contains('Save').click({\n force: true\n});\ncy.wait(3000);\ncy.get('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'Authentication failed, please verify API credentials and try again!');\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated'); //...\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-input').clear({\n force: true\n}).type('6f6v', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\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-input').clear({\n force: true\n}).type('6f6v', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\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-input').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('V5G89395eXgHm', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\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-input').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('V5G89395eXgHm', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\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-input').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('333qwanze5Sg2Jkm989GffgdgX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqg', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'Public Client Key required in order to connect with Accept.JS');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\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-input').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('333qwanze5Sg2Jkm989GffgdgX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqg', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'Public Client Key required in order to connect with Accept.JS');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\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-input').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\ncy.wait(1000); // When I enter correct values but don’t check the “Sandbox” checkbox\n// And I click “Save”\ncy.get('#login_id-input').clear({\n force: true\n}).type('64B6Cvpg', {\n force: true\n});\ncy.get('#transaction_key-input').clear({\n force: true\n}).type('8zV5G89395eXgHmv', {\n force: true\n});\ncy.get('#client_key-input').clear({\n force: true\n}).type('7qwanze5Sg2Jkm989UBGX84vp8ZeBHcW39cFV82fhc5M6yzwDmhdM6QKD8QChqgC', {\n force: true\n});\ncy.get('#connection > .container > :nth-child(4) > .col-md-6 > .form-group > .custom-control #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('.notifyjs-bootstrap-base.notifyjs-bootstrap-error').should('contain', 'User authentication failed due to invalid authentication values.');\n});\ncy.wait(3000);\ncy.get('#confirmation_config_integration > .modal-dialog > .modal-content > .modal-footer > .btn').click({\n force: true\n});\ncy.get('.lead > .badge').should('contain', ' Not Validated');\ncy.wait(1000);","err":{"message":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tab-logs`, but never found it.","estack":"AssertionError: Timed out retrying after 4000ms: Expected to find element: `#tab-logs`, but never found it.\n at Context.eval (https://liveautomation.subscriptionflow.com/__cypress/tests?p=cypress/integration/SF/m-payment_gateways/02Integrate_Authorize.Net_using_incorrect_credentials.spec.js:119:25)","diff":null},"uuid":"067c4dfd-444b-4bec-868b-82bcc59b5e58","parentUUID":"02e39479-1a93-4d1e-84d4-5a363036b782","isHook":false,"skipped":false}],"suites":[],"passes":[],"failures":["067c4dfd-444b-4bec-868b-82bcc59b5e58"],"pending":[],"skipped":[],"duration":35123,"root":false,"rootEmpty":false,"_timeout":2000}],"passes":[],"failures":[],"pending":[],"skipped":[],"duration":0,"root":true,"rootEmpty":true,"_timeout":2000},{"uuid":"53fdbc29-b68b-403c-bd40-f7ac4f1d4043","title":"","fullFile":"cypress/integration/SF/z-logout/logout_spec.js","file":"cypress/integration/SF/z-logout/logout_spec.js","beforeHooks":[],"afterHooks":[],"tests":[],"suites":[{"uuid":"63c8c8c8-8fa8-4cf3-9675-0ce8107391fe","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":13447,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.visit(\"\");\ncy.check();","err":{},"uuid":"c736f8a1-4bf5-409b-a1dc-29bc8805bb05","parentUUID":"63c8c8c8-8fa8-4cf3-9675-0ce8107391fe","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":188,"state":"passed","speed":"slow","pass":true,"fail":false,"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":{},"uuid":"bafb49c8-6bc4-48f3-89cd-660949c27e8f","parentUUID":"63c8c8c8-8fa8-4cf3-9675-0ce8107391fe","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":4262,"state":"passed","speed":"slow","pass":true,"fail":false,"pending":false,"context":null,"code":"cy.get('.text-danger').click({\n force: true\n});\ncy.location('pathname').should('include', 'login');","err":{},"uuid":"77d53afc-a274-4ad3-ac05-a7ce1ff59a2c","parentUUID":"63c8c8c8-8fa8-4cf3-9675-0ce8107391fe","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":1921,"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":"061fe8a6-76c2-4915-8b86-e0e25e2a9afc","parentUUID":"63c8c8c8-8fa8-4cf3-9675-0ce8107391fe","isHook":false,"skipped":false}],"suites":[],"passes":["c736f8a1-4bf5-409b-a1dc-29bc8805bb05","bafb49c8-6bc4-48f3-89cd-660949c27e8f","77d53afc-a274-4ad3-ac05-a7ce1ff59a2c","061fe8a6-76c2-4915-8b86-e0e25e2a9afc"],"failures":[],"pending":[],"skipped":[],"duration":19818,"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-test-cases/cypress/cypress/reports/mocha-reports/report.html"}"><div id="report"></div><script src="assets/app.js"></script></body></html>